<?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/7593d5eae0c646868ad97f374f4f5075&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/7593d5eae0c646868ad97f374f4f5075-1699902485816.gif</thumbnail_url><duration>225.18</duration><title>Script Discounts in Loop On-Store</title><description>In this video, I demonstrate how to set up script discounts in Loop On-Store. I show you how to create a cart using the storefront API, apply the buy one get one free discount, and map the response to the Loop API call. I also explain how to encode the Shopify liquid cart and use the discounts in the object. Finally, I guide you through the process of returning to Loop from the storefront and applying the discounts. Watch this video to learn how to implement script discounts in Loop On-Store.</description></oembed>