Liquid, JavaScript, themes, sales channels
Hi,
I offer free next day delivery for any two items purchased.
If a customer only has 1 item in the cart, i'd like to add a prompting message: "add another item to get free next day delivery".
is this in the cart or at checkout- how can i do this?
Using debut theme.
Cheers
Solved! Go to the solution
This is an accepted solution.
You could do something as simple as
{% if cart.item_count == 1 %}
<p>Add 1 more item to get free shipping!</p>
{% endif %}
Maybe add either above the cart table or above the checkout button - both in sections/cart-template.liquid file in debut.
This is an accepted solution.
You could do something as simple as
{% if cart.item_count == 1 %}
<p>Add 1 more item to get free shipping!</p>
{% endif %}
Maybe add either above the cart table or above the checkout button - both in sections/cart-template.liquid file in debut.
Thank you Jordan- it worked a treat. I have got it above the cart with a nice little border to attract attention. Cheers 🙂
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024