Setting a Price Range

New Member
2 0 0

Hoping someone can help me out with this. Instead of having 1 price on the product and collection pages, I would like to have it as $2,000-4,000. Would someone be able to help me out with the code for this, and where to insert it? Any feedback is appreciated.


I've checked around the forum and have found some similar questions and answers but none of them are working for me. For example, I found this post but couldn't get it to work: http://ecommerce.shopify.com/c/ecommerce-design/t/variations-price-label-11750

Thanks!
Jodi

0 Likes
Shopify Staff
Shopify Staff
494 0 32

Hey Jodi! The code for this would be: 

{{ product.price_min | money }} - {{ product.price_max | money }}

On the collection page, it needs to go in the loop where the products are being looped. On the product page, it can go anywhere but it depends on where you want to output it. 

- Tetchi 

www.tetchi.ca | www.twitter.com/t3tchi
0 Likes
New Member
2 0 0

Thanks so much Tetchi!!!!

0 Likes
Highlighted
Tourist
22 0 1

Hello,
if you want to show price range for each product with differents prices for variants, you can try this APP.
This app show price range for each product in all collections.
In app configuration, you can set also format for displaying price range, for example like From $5.00 to $9.99 or $5.00 - $9.99

0 Likes