Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello, I'm trying to have my products display prices based off of either highest variant, or display what is in stock. It currently says "From $9.75", which is the cheapest variant listed (but not in stock). I'm wanting to display what's actually in stock, which as you can see is actually $32.50.
We deal with trading cards so these variants determine the grading of a card (i.e Mint, Damaged, etc.). I found an accepted solution found here: https://community.shopify.com/c/technical-q-a/minimal-theme-display-first-variant-price-on-collectio... However, he has a different theme and I don't have the same snippets. The solution did work for him though, so I'm hoping someone can point me in the right direction to help out with my coding. I basically want to display what's actually in stock as opposed to the cheapest possible variant.
Thank you!
Hi,
I may be late but this is for future reference.
In assets/price.liquid check if you have a variable named '
If there is, you just need to render it like this {% render 'price', use_variant: true %}
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025