How to show the 'sale price' discount on cart page in venture layout?

Hi guys,

I have a question. I would like to add a price tag that says how much people save when they add a product to their cart that’s on sale. I have attached an example, which is actually an ‘automatic discount’ that applied to the cart. I just want to implement this for every product that people add to their cart when it is on sale.

I don’t see why not. If you’re referring to your cart page, you can simply show {{ line_item.price }} with {{ line_item.final_line_price }} below it. I usually look over needed objects here: https://www.shopify.com/partners/shopify-cheat-sheet

Dear Boykolos,

Please share your store url and details at: https://www.task4store.com/pages/contact-us

Thanks & Regards
MS Web Designer

my web site url is: https://www.brenchstore.com/

thanks in advance

Hello, @Boykolos
STEP - 1

  1. Go to Online Store->Theme->Edit code
  2. Sections → / cart-template.liquid → see tha step 1 attachment.

STEP - 2

  1. Go to Online Store->Theme->Edit code
  2. Asset->/theme.scss.liquid-> paste bellow code in bottom of file
span.cart_compare_at_price {
display: block;
padding-right: 20px;
font-size: 17px;
color: #ff0000;
text-decoration-line: line-through;
}

Want to modify or custom changes on store hire me.

If helpful then please Like and Accept Solution.

Email: bamaniyaketan.sky@gmail.com

Skype : bamaniya.sky

It doesn’t work.

Or at least, not for all products.

I need to show the original price not only in the product cart but also in the final price of the cart.

Can you help me in this?

I see in your store that you have implemented what you’re asking for, do you still need help?

I put the code but there is always a problem with the original price;

it shows only the original price of the singular product and not of the sum of the multiples if you pick the same product several times.

ex.

original price: 30€

discount price: 20€

product picked: x1

how it should be shown:

original price: 90€

discount price: 60€

products: x3

how it is shown:

original price: 30€

discount price: 60€

products: x3

At this code here:
€26,00

you might be using {{ line_item.original_price }} swap it for {{ line_item.original_line_price }}. line_item.original_line_price should return “line_item.original_price multiplied by line_item.quantity”.

Hi, I try to use this code but it doesnt work.