Hi, I am using an app name “Multi country pricing” through which I am showing different prices by location. The app is using products variants for showing different prices by location. Now the problem is prices are showing incorrect when item is out of stock. I have done what I could do but nothing helped. Please help me sort this issue as it’s so frustrating. Thanks in advance
Here is the screenshot of my product
here’s my product-template. liquid code
{% unless settings.breadcrumb_styles == 'none' %}{% include 'breadcrumb' %}{% endunless %}
{{ product.title }}
Rated 3.5/5
based on 11 customer reviews
{% assign _lazyload = settings.use_lazyload %}
{% assign _product_layout = 'normal' %}
{% assign _main_class = 'col-12' %}
{% if product.available %}
{% else %}
{% endif %}
{% include 'product-detail-image' %}
{% include 'product-detail-discount-popup' %}
{% if section.settings.show_product_vendor and product.vendor != blank %}
{{ product.vendor | link_to_vendor }}
{% endif %}
{% include 'product-label' %}
# {{ product.title }}
{% include 'product-detail-review' %}
{% include 'product-detail-price' %}
{% include 'product-detail-short-description' %}
{% include 'product-detail-sku-stock' %}
{% include 'product-detail-inventory' %}
{% include 'product-detail-deals' %}
{% if product.available %}
{% assign hide_default_title = false %}
{% if product.variants.size == 1 and product.variants.first.title contains 'Default' %}
{% assign hide_default_title = true %}
{% endif %}
{% form 'product', product, class:'product-form product-action variants' %}
{% include 'product-detail-variants' %}
{% include 'product-detail-qty' %}
{% include 'product-detail-btn' %}
{% endform %}
{% include 'layout-people-in-cart' %}
{% include 'product-detail-order-shipping' %}
{% include 'product-detail-pre-order-btn' %}
{% include 'product-detail-wishlist-compare' %}
{% else %}
{% include 'product-detail-unavailable' %}
{% endif %}
{% comment %} {% include 'product-detail-short-description' %} {% endcomment %}
{% include 'product-detail-popup' %}
{% include 'product-detail-pre-order' %}
{% include 'product-secure-image' %}
{% if settings.show_social_sharing_product and settings.share_js != blank %}
{% include 'social-sharing' %}
{% endif %}
{% include 'product-toggle' %}
{% if section.settings.product_tab_review == 'below' and settings.product_review_option != 'none' %}
{% include 'product-detail-review-content' %}
{% endif %}
{% for block in section.blocks %}
{% case block.type %}
{% when 'related-product' %}
{% include 'related-product' %}
{% when 'super-deals-product' %}
{% include 'super-deals-product' %}
{% when 'article' %}
{% include 'category-top-article' %}
{% else %}
{% endcase %}
{% endfor %}
{% if settings.enable_notify_product_page %}
{% include 'layout-notify' %}
{% endif %}
{% include 'product-template-script' %}
And here’s my product-template-script. liquid code
