Welcome to the Liquify Community

Updated 2 months ago

Show new and old price in minicart.

How can I show the cheaper price and the original price of an product in the mini-cart?

I tried it with these attributes, but I think the are wrong... https://preview.webflow.com/preview/gooddesk-2-0?utm_medium=preview_link&utm_source=designer&utm_content=gooddesk-2-0&preview=714c6bed7cb355aab8979e48c6ad6e2a&workflow=preview
Attachment
image.png
j
c
17 comments
Hi @consti,
you mean the compare_at_price?
Thats sadly not possible because shopify does not has this Information in the cart object. You can only whach for discounts - but not for compare at prices 😦
@jonas.halbstark but it is possible to Show the discount? Like 22% discount?
The guys who want this feature used https://apps.shopify.com/custom-pricing-discounts-by-appikon?show_store_picker=1 before, do you know how I can implement this feature/app?
yes 🙂 that should already be inside the clonable
this? when I implement this in my design, it doesn´t show up...
Attachment
image.png
but have you applied a discount? Like a code or automated discount?
the product itself is discounted
yes thats the problem.. thats not a "discount" its a compare at price. And this information does not exist in the cart
with liquid in general not possible? so also if I write directly liquid code?
with liquid in general not possible
@jonas.halbstark do you know any workaround for that?
not really. You can try using the weight field for that. This information you get in the mini cart response.
Depends if you need the weight somewhere else
True thank you, I will do that that way
Add a reply
Sign up and join the conversation on Discord