Hello,
Hope you are well!!
I have 1 query regarding add timer on checkout page. Like this https://prnt.sc/_6FTL5H5ToUr
I have added script but it doesn’t work at all. So if you have any idea could you please help me out it would be great.
Thank you
A user seeks help adding a countdown timer to their Shopify checkout page, similar to a provided screenshot example. Their current script implementation isn’t functioning.
Proposed Solutions:
One response provides Liquid code snippet using cart-timer div with configurable settings for timer text and duration (in seconds). Includes schema settings for customization in the theme editor.
Another respondent clarifies a critical limitation: Shopify has deprecated checkout.liquid, meaning custom scripts no longer work on checkout pages.
Alternative Approaches:
Status: The discussion remains open with no confirmed resolution, though the technical constraint around checkout.liquid deprecation is now identified.
Hello,
Hope you are well!!
I have 1 query regarding add timer on checkout page. Like this https://prnt.sc/_6FTL5H5ToUr
I have added script but it doesn’t work at all. So if you have any idea could you please help me out it would be great.
Thank you
try this
{% unless section.settings.cart_timer_text == blank %}
then adding in the settings
{
“type”: “header”,
“content”: “Cart Timer”
},
{
“type”: “richtext”,
“id”: “cart_timer_text”,
“label”: “Text”,
“default”: “
Your order is reserved for [time]
”,Hi,
Since Shopify has depreciated checkout.liquid, scripts will not work in checkout. You might need to make it using checkout extensibility to make a new block, or you can use an app like Checkout Ninja from Shopify app store. You can drag and drop the timer block into checkout (Note: you need Shopify Plus to use the checkout extensibility feature)
Thanks