Hi I’m using the dawn theme for my store, and for each product, I want the estimated pick up time message (the “usually available in 2-4 days” part) to change depending on if the product is in stock or not, but I’m not sure how to do that.
Thank you!
Hi,
Not sure how the code for it looks on your side, but you can use something like this:
{% if product.variant.inventory_quantity > 0 %}
Usually ready in 2-4 days
{% else %}
It will take some time to get it ready for you
{% endif %}
Change the text to the one you want.
Hope it helps.
Hi @nsbattery
The information will not shown if the item is out-of-stock, the file name to edit the info is pickup-availability.liquid
You can also customize the number of days product-wise.
Hope this will help…