Shopify themes, liquid, logos, and UX
I get build new Shopify store and today July 28, 2021 it display delivery day: July 16, 2021 / I NEED TO LIST DAY: July 30, 2021
I can't find in my header.liquid : July 16, 2021 only I guess is to make changes here:
ORDERS PLACED NOW WILL BE DELIVERED ON {{ "now" | date: "%s" | plus: 86400 | plus: 86400 | date: "%A %B %d" }}.
</p>
{%endcomment%}
Do can I get same help, appreciate
Hi @Mali2,
I don't think you've provided enough information for anyone to be able to help you. Are you using an app for food delivery? What's your store URL?
To update Food Delivery Date to always display July 30, 2021, regardless of the current date, you need to change the date logic in your header.liquid file. Here’s how you can do it:
In your header.liquid file, locate the line where the delivery date is being set and modify it as follows:
ORDERS PLACED NOW WILL BE DELIVERED ON July 30, 2021.
So, the updated code will be:
<p>ORDERS PLACED NOW WILL BE DELIVERED ON July 30, 2021.</p>
{%endcomment%}
This change hardcodes the delivery date to July 30, 2021. If you need to update the delivery date dynamically in the future, you can change the static date accordingly.
Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024