{"type":"video","version":"1.0","html":"<iframe src=\"https://www.loom.com/embed/27521f853fb143978fde55e30e521e5a\" frameborder=\"0\" width=\"2040\" height=\"1530\" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>","height":1530,"width":2040,"provider_name":"Loom","provider_url":"https://www.loom.com","thumbnail_height":1530,"thumbnail_width":2040,"thumbnail_url":"https://cdn.loom.com/sessions/thumbnails/27521f853fb143978fde55e30e521e5a-e436f3e6c66d1c67.gif","duration":168.373,"title":"Add Discount Codes Input to Cart","description":"This Loom shows how to add a Discount Codes input block to your cart in the Cart Settings. It explains how to use a checkbox to toggle whether the discount section is hidden or always visible, including customizing the show or hide button text and style. It also covers styling the applied discount code tags, plus configuring whether the discount code form is shown for customers to enter codes, including placeholder and apply button text and primary or secondary styling. Finally, it demonstrates how to preview and style error messages, noting that Shopify does not return default error messages."}