<?xml version="1.0" encoding="UTF-8"?><oembed><type>video</type><version>1.0</version><html>&lt;iframe src=&quot;https://www.loom.com/embed/c51cec1509514e46b881c739503767c5&quot; frameborder=&quot;0&quot; width=&quot;1920&quot; height=&quot;1440&quot; webkitallowfullscreen mozallowfullscreen allowfullscreen&gt;&lt;/iframe&gt;</html><height>1440</height><width>1920</width><provider_name>Loom</provider_name><provider_url>https://www.loom.com</provider_url><thumbnail_height>1440</thumbnail_height><thumbnail_width>1920</thumbnail_width><thumbnail_url>https://cdn.loom.com/sessions/thumbnails/c51cec1509514e46b881c739503767c5-2179c6aad957faff.gif</thumbnail_url><duration>275.145</duration><title>Creating Advanced Discounts Based on Product Quantity in Our App</title><description>In this video, I demonstrate how to create advanced discounts using number calculation conditions in our app. Specifically, I show how to apply a discount only when the quantity of example product two is exactly three times that of example product one. I walk through the process of setting up the necessary criteria, including counting the quantities of both products and using arithmetic to compare them. I encourage you to follow along and implement this discount logic in your own settings. Please test the discount in your cart to see it in action!</description></oembed>