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?
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025