Closed (won't fix)
Project:
Commerce Discount
Version:
7.x-1.0-alpha1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Jun 2013 at 11:00 UTC
Updated:
30 Jun 2013 at 12:35 UTC
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
Comment #1
jkuma commentedHi 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.
Comment #2
summit commentedHi 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
Comment #3
jkuma commentedHi 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
Comment #4
summit commentedHi @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
Comment #5
jkuma commentedIt's up to you.
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.....
Comment #6
summit commentedHi,
Is there a specific css what I could change easily. Sort of template file?
greetings, Martijn
Comment #7
jkuma commentedHi 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.