How to judge the price on the theme list?

Here is how to judge the price. When “price part” appears in the price, normal price will not appear.


            
              {% if product.price_varies %}
               {{ 'products.general.from' | t }}
              {% endif %}

      
             {% render 'price', price: cheapest_variant.price %}
              
              {% if cheapest_variant.compare_at_price > cheapest_variant.price %}
                <del>{% render 'price', price: cheapest_variant.compare_at_price %}</del>
              {% endif %}
      
              {% render 'unit-price', variant: cheapest_variant %}
            

      

Hello @kingsun

Did you already find the answer?

It seems like the title is your question, but there’s an answer in the description?