Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I want to display notification bar on top of every page if discount is applied (mostly for email marketing and automatically applied discounts), but I can't find a way to check if a discount is active (no need to display any dynamic, just "Your discount is applied"). Or atleast display it on first page after redirection. Is it possible to check if url contains a string without javascript?
Hi @Mystform,
You can only check the discount while on the cart or checkout page, you can't check it on every page.
Can you explain your requirement more, I will help you to check it.
I meet same problem. I just want that when customer apply a discount automatically through automatic url discount, the text "discount is applied" will appear in banner. I've use
I would like to do something similar. Have you found a solution for this?
I've been looking everywhere for this....has anyone figured out how to do this? seems like a basic function. When someone uses a shareable discount code link a pop up and/or banner greets them letting them know their promo has applied
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024