How to change word quantity for specific product

Topic summary

Goal: change the “Quantity” label for one specific product on the product page.

Approach provided: use a Shopify Liquid conditional in main-product.liquid to target the product by its ID. Navigation: Online Store > Themes > Edit code > main-product.liquid. Code: wrap any label change within {% if product.id == 8753533911329 %} … {% endif %} so it applies only to that product. The snippet is central to the solution (Shopify Liquid: templating language; product.id: unique product identifier).

Outcome: the original requester confirmed the guidance worked and expressed thanks.

New question: another participant asked if it’s possible to change the “Quantity” title for a group of products (linked collection). No answer yet; this remains open.

Status: resolved for a single product using a product ID conditional. Unresolved for changing the label across a group/collection; no method or decision provided in the thread.

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

Please go to your Online store > Themes > Edit code > open main-product.liquid

add this code at the top of fiel

{% if product.id == 8753533911329 %}

{% endif %}
1 Like