Set product card price to default variant

Set product card price to default variant

MagesLaboratory
Tourist
9 0 0

The product cards show the price for the lowest variant. I'd like to have it show the default variant that the product page is already set to. Any ideas? 

Pics for reference

Craft theme 

themageslaboratory.com

magic123

(hopefully the pictures aren't extremely blurry...) 

1000002163.jpg

1000002164.jpg

Replies 2 (2)

LuffyOnePiece
Shopify Partner
650 93 121

Hi @MagesLaboratory ,

 

You could use the product.price_max Liquid object to output the highest variant price, and replace this with how the price is currently being output on your theme. 

 

For example on Dawn/Craft the price of products on collection pages is being included in price.liquid snippet. Try replacing {{ money_price }} with { product.selected_or_first_available_variant| money_with_currency }} and you will be able to display the products default variant price on the collection page.

If you require further help to optimize or customize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!

 

Best Regards,
LuffyOnePiece

 

Sandeep Pangeni
Need help with your store? sandeeppangeni17@gmail.com
For quick response, Contact In WhatsApp +9779867521184
MagesLaboratory
Tourist
9 0 0

Thanks for getting back to me!

I tried doing the replacement you suggested, and it had no effect. It still shows the lowest possible price instead of the default variant price everywhere on my site. Any suggestions?