Hi,
I’d like to display a line of text on my product page using custom code that:
on Monday to Thursday after 10amGMT will display “order by 10am tomorrow [date], we’ll roast and post your order the same day”
on Monday to Friday before 10amGMT will display “order by 10am today [date], and we’ll roast and post your order Today”
On Friday after 10amGMT until Sunday will display “order by 10am Monday [date], we’ll roast and post your order on Monday [date]”
I just can’t wrap my head around the custom code. I think the best way would be to use moment.js ?
Here is my site Read-Only: LINK
(how to share your site Read-Only link)