Create Stock Label with info

Topic summary

Goal: Add an always-visible “In Stock” label with an info icon whose message changes by inventory state. Examples shared via images: if stock = 0 or inventory not tracked → info says “available at supplier”; if stock ≥ 1 → info says “Ships within 24 hours.” OP asks if this should be tied to product tags.

Proposed approach: Use theme sections and modify product templates with Liquid (Shopify’s templating language) and UI code so in-stock/out-of-stock descriptions are configurable in the theme editor. Implement conditional Liquid logic in the theme code editor to switch the info message based on inventory. Reference guide provided: Shopify docs on sections and blocks.

What’s addressed: Where to implement (theme sections, product template), how to control messaging (Liquid conditions), and where to configure text (theme editor).

What’s not addressed: Whether tags are necessary; no code examples provided.

Status/outcome: No final implementation shared. Action items are to edit the product template, add section/block settings, and write Liquid conditions per inventory states. Discussion remains open. Images are central to visualizing the desired UI behavior.

Summarized with AI on December 12. AI used: gpt-5.

Hi everyone, how can i achieve this on theme? Basically i want the stock rule to show info. Im not sure if this needs to be linked to a tag. For example if stock = 0 or inventory not track, then it says shows In Stock, and if someone clicks on the info icon it shows availble at supplier. If product stock is 1+ then it still says in Stock but info says Ships within 24 hours these


are just examples.

Hi @ARMAN_AMBARTSUM ,

Product shipping details can be integrated using theme sections. In stock and out of stock descriptions can be configured in theme editor after templates are modified with liquid and UI code for the editor.
If you’re keen to doing it yourself, then

here is a guide to adding theme sections and blocks to product template:

https://help.shopify.com/en/manual/online-store/themes/theme-structure/sections-and-blocks

You can use the theme code editor to create the liquid logic for in stock and out of stock.

In case you need more help just reach out.