All the variants for each product have the same price. When I use following code, it's showing price for all the variants. How do i show price of only one (let's say first) variant?
{% for variant in product.variants %}
<div class="tablecell pricecur">
{{ variant.price | money }}
</div>
<div class="tablecell pricecom">
{{ variant.compare_at_price | money }}
</div>
{% endfor %}
first_available_variant
returns. If it only returns one value you wouldn't have to iterate over it. - Alexei Danchenkov