Trying to generate data from a metafield on each location

Trying to generate data from a metafield on each location

benitag
Shopify Partner
1 0 1

I want to display an alert that shows up when a product is out of stock, which will show general timeframes of when the product will be next shipping. I have added a meta field to the locations in the backend, but I can't seem to find the code that I can drop into the template to generate this data - I would expect I could do this depending on the location that the product is shipped from, which are all set up at:

https://admin.shopify.com/store/ACCOUNT/settings/locations/

I would have expected that this would just be a dynamic code snippet that Shopify provides, such as “{{ settings.color_scheme }}” or “{% render ‘meta-tags’ %}”.

 

benitag_0-1704694587665.png

 

In the way of displaying the message, I have developers that can take this tag, and then work out how to generate the right info, but the timeframe itself needs to be updatable on the locations themselves. Note; products will be set to continue selling once out of stock, as there's always fresh stock arriving, hence the note.

 

Any help here would be so very much appreciated.

Replies 0 (0)