I am trying to create a shipping time indicator by pulling in the current time and if it falls within our shipping rules, it will display ships today, or ships tomorrow. That being said, I am running into a caching issue where after the content is dynamically generated once, it will then cache it for every load following.
For example, I went to my
Magento_Catalog/templates/product/list.phtml and added a random number generator to the product list. Every time I refresh it, it displays the same number.
Is there a way around this?
Do i need to use a front end solution?