Hi,

How to get the Commerce Price showing like: http://img189.imageshack.us/img189/983/afbeelding1xt.th.png
So the original price (2 euro) with line through and the by the customer payable price (one euro) to the right.

Thanks a lot in advance for your reply.
Greetings, Martijn

Comments

jkuma’s picture

Hi Martijn,

There is a module for that: commerce_price_savings_formatter but it doesn't support commerce_discount so far. A patch is welcome :). if I have enough time, i'll create a patch for it and keep you in touch.

summit’s picture

Hi Jonathan,
Thanks for your update. I am not a programmer, sorry.
Would be great to be able to use this module with commerce price_savings_format to have benefit from both!
Greetings, Martijn

jkuma’s picture

Hi Martijn,

I just had the time to test commerce_price_savings_formatter with commerce_discount and it's working great ! (example).

How to: you just need to change the display widget of your price field and set it to: Formatted amount with saving. example.

Best,
Jonathan

summit’s picture

Hi @Jonathan,
Do I need to change some css also?
I tried this with commerce_sale and it is not showing the saving within the view.
I tried "formatter with savings" and "formatter with savings (inline)".
Also the price itself is in a square sort of border 1...
Do you have yourself changed css?
greetings, Martijn

jkuma’s picture

Do I need to change some css also?

It's up to you.

Also the price itself is in a square sort of border 1...

It's weird, I used default versions of both commerce_discount and commerce_price_savings_formatter, I don't have this kind of graphic bug.....

summit’s picture

Hi,
Is there a specific css what I could change easily. Sort of template file?
greetings, Martijn

jkuma’s picture

Status: Active » Closed (won't fix)

Hi Martijn,
I think you might ask directly to the maintainer of commerce_price_savings_formatter to get more informations about CSS usage. I'm closing this ticket because it's not related to commerce_discount.