{"type":"video","version":"1.0","html":"<iframe src=\"https://www.loom.com/embed/7593d5eae0c646868ad97f374f4f5075\" frameborder=\"0\" width=\"1920\" height=\"1440\" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>","height":1440,"width":1920,"provider_name":"Loom","provider_url":"https://www.loom.com","thumbnail_height":1440,"thumbnail_width":1920,"thumbnail_url":"https://cdn.loom.com/sessions/thumbnails/7593d5eae0c646868ad97f374f4f5075-1699902485816.gif","duration":225.18,"title":"Script Discounts in Loop On-Store","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."}