Flex theme have price show up when multiple variants

New Member
1 0 0

good day, using Flex theme I was able to display on product page the price along sold out if there are no variant to product. when there is a variant my code does not work.


in section-product:

 {% comment %} Sold out {% endcomment %}
              <span class="sold_out">{% if variant.available == false %} {{'variant.price'|money}} - {{ 'products.product.sold_out' | t }}{% endif %}</span>
displays if no variant
but with variant got no price how can I get price to show when variant on product?