Display price ranges for products with variants of different prices - Debutify theme

Topic summary

A merchant using the Debutify theme wants to display price ranges (lowest to highest) for products with variants that have different prices.

Solution Provided:
A code snippet was shared that uses Liquid template logic to check if product.price_min differs from product.price_max, then displays the range with proper currency formatting:

{% if product.price_min != product.price_max %}
  {{ product.price_min | money }} - {{ product.price_max | money }}
{% endif %}

The responder noted they couldn’t specify exact placement since Debutify is a paid theme with unknown structure.

Related Issues:

  • Another user with the Minimal (free) theme requested guidance on where to insert this code
  • One merchant reported the code works but creates duplicate pricing—showing both the lowest price and the range. They need products with variants to show only the range, while single-variant products display standard pricing
  • A third-party app (Stamp - Variants on Collection) was suggested as an alternative solution for displaying variant price ranges on collection pages

Status: The original poster hasn’t confirmed if their issue was resolved.

Summarized with AI on October 25. AI used: claude-sonnet-4-5-20250929.

Hello, I am using debutify theme on my store, plantykenya.com . I want to be able to display price ranges for products with variants that have different prices from the cheapest to most expensive (lowestprice - highestprice) . I need help with the code to implement that, Please come through with any help or feedback, thank you.

1 Like

Hi @dev-myk

Because your theme is not a free theme. So I don’t know theme’s structure to suggest the position to add code. So I suggest add code below to the position that you would like to show

{%  if product.price_min !=  product.price_max %}

{% if settings.currency_code_enabled  %}
  {{ product.price_min | money_with_currency }} - {{ product.price_max | money_with_currency }} 
{%  else %} 
{{ product.price_min | money }} - {{ product.price_max | money }} 
  {%  endif %}

{%  endif %}
2 Likes

Hi; I have the same question, I am using a free theme: Minimal.

This is the page I would like the prices to be displayed for different options/variants

https://shapedbymyjourney.ca/products/copy-of-this-is-us-familily-with-dangling-feet-shoes-sitting-on-a-bench?variant=42720619200670

Could you tell me where to add the code? Thank you so much!

Hi!
this code worked as a charm in my shop, but it still displays the lowest price above the price range.
I have products both with and without variants so I need the variant-products to show only the price range and the non variant products to just show price as usual. Do you have any solution for this? Been trying all morning here with no results :sweat_smile: .

Third-party apps can display price ranges for products that have variants with different prices. Stamp - Variants on Collection lets merchants show product variants separately on collection and home pages, and also display price ranges for those products.

Hi @dev-myk , have you solved your problem yet?