Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello All,
I need to customize the 'Quantity' label on both my product page and the cart page. Not sure if it matters, but I am using the Minimal theme.
I have successfully used a metafield to customize the Quantity label on the product page using a varient as follows:
{% assign qty_discription = product.metafields.custom.description_quantity %}
{% if qty_discription == blank %}
{% assign qty_discription = Quantity %}
{% endif %}
<label for="Quantity">{{ qty_discription }}</label>
However, the cart is using a different approach with the code and I am not sure how to make a metafield varient work. Here is the current code from the cart:
To summarize my question:
Thank you so much in advance!
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025