1

Using Drupal Commerce Kickstart, when the user is at the shopping cart and activated any kind of discount (most of the times, a coupon) the line item price in the Cart table is updated with the discount.

I'd like to show the original price there and let the Summary describe what kind of changes the prices went through.

Here is a screenshot that might help https://www.dropbox.com/s/matvseodarii41m/Screenshot%202014-08-19%2014.46.45.png?dl=0

I'd like the top Price value to be $395 and everything else could stay exactly like this.

How can I make this happen?

Thank you!

3
+50

Maybe this could help you out. https://www.drupal.org/project/commerce_price_savings_formatter

0

I am not sure if I have understand your instruction, maybe you could rephrase it ?

In my memory the price of the line item don't change, it's just the total that got influenced. Is that a fresh install of Kickstart ? Or does the coupon apply to the product specifically ? Or to the global cart ?

Anyway coupon/discount, if they are from a commerce module then it's triggering with rules, and the shopping cart or the chekout page are just views. You should have a look to these to change theirs behaviors.

In case you are not very familiar to commerce line item, you can check RandyFay video (It's one of the guys whom made commerce), it's very well explained :

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.