<?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/5e0987f5fd2a44849f3131c3acec0637&quot; frameborder=&quot;0&quot; width=&quot;2020&quot; height=&quot;1515&quot; webkitallowfullscreen mozallowfullscreen allowfullscreen&gt;&lt;/iframe&gt;</html><height>1515</height><width>2020</width><provider_name>Loom</provider_name><provider_url>https://www.loom.com</provider_url><thumbnail_height>1515</thumbnail_height><thumbnail_width>2020</thumbnail_width><thumbnail_url>https://cdn.loom.com/sessions/thumbnails/5e0987f5fd2a44849f3131c3acec0637-73f7050e12ca340a.gif</thumbnail_url><duration>195.918</duration><title>Shopify - Dynamic Discount Codes</title><description>In this video, I’ll walk you through the process of creating dynamic discount codes based on the total basket value of a customer&apos;s order. We start by extracting the order ID and then move on to set the discount value, which I demonstrate as 60% of the total price. I also explain how to set a usage limit and an optional end date for the discount code. Please make sure to follow along and implement these steps in your own projects!</description></oembed>