-
Theme:
Studio v15.4.1 (free Shopify theme)
-
File:
snippets/[card-product.liquid](http://card-product.liquid) -
Bug:
The
render 'price'call is missing a parameter, causing in-stock products to display as sold out on collection pages
-
Current code:
{% render 'price', product: card_product, price_class: '', show_compare_at_price: true %} -
Expected:
Products with available inventory should not show as sold out
Hey @Tabitha_Kemp try this one is to add show_availability: true to the render call
{% render 'price', product: card_product, price_class: '', show_compare_at_price: true, show_availability: true %}
the price snippet to check actual inventory availability rather than defaulting to sold out
if the code is work then don’t forget to like and mark as solution on it
Make sure that on top of available inventory you have location which can fulfil this item as well as delivery method(s).
Check that your markets are setup properly if you have them.
Otherwise the item may be shown as sold even if inventory is available.
Hi @Tabitha_Kemp,
Please change code:
{% render 'price', product: card_product, price_class: '', show_compare_at_price: true %}
=>
{% render 'price', product: card_product, price_class: '', show_compare_at_price: true, show_badges: false %}