Show Prices On Frontend When Product Is Sold Out Shopify (Parallax template)
My company is using Parallax theme from Shopify and by default, it does not show prices if the product is sold out. In order to display the product price in sold-out products on product pages you have to do the following:
In your admin end go to Themes - Actions - Edit Code.
Then go to Sections and choose product-template.liquid.
Find
{% if variant.available == false %}{{ 'products.product.sold_out' | t }}{% endif %}
And replace it with this:
{% if variant.available == false %}{{ 'products.product.sold_out' | t }}{% endif %}
{{ variant.price | money }}
In your admin end go to Themes - Actions - Edit Code.
Then go to Sections and choose product-template.liquid.
Find
{% if variant.available == false %}{{ 'products.product.sold_out' | t }}{% endif %}
And replace it with this:
{% if variant.available == false %}{{ 'products.product.sold_out' | t }}{% endif %}
{{ variant.price | money }}
Comments
Post a Comment