Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi! I'm trying to figure out the best way to determine if the visitors/users has a discount code applied and if so display an announcement bar telling which benefit they will get. Is not possible to access cookies from liquid template so how could I do that?
Example: visitor came to example.com/discount/OLAVO10OFF
Behavior: Display the announcement bar with the text "CODE OLAVO10OFF APPLIED. YOU WILL GET 10% OFF IN YOUR NEXT ORDER (the discount will be displayed in the checkout)"
can you please share store url
I would also like to know about this. I haven't found anything in the Liquid API, but maybe I'm missing something
Did you ever figure this out?
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024