I am currently working on a newsletter and I want to display the prices of my products there. How to recover the original price, discounted prices and the discount percentage. I wish to put three different value to place my letter and apply a different style.

With this line print render($content['product:commerce_price']); it displays the three values. But I would separate them.

So what line of code do I type to get the original price, then to get the discounted price and then to get the discount percentage? here is a product page of my site enter link description here

thank you

  • I need to separate the three, to display prices in simplenews
    – user60539
    Apr 24, 2016 at 0:46
  • there is no solution ?
    – user60539
    Apr 25, 2016 at 21:24

1 Answer 1


If this is Drupal 7, you can use the Commerce Price Savings Formatter. This extends the price field to show the "list price" and "sale price" and automatically calculates the percentage.

The module page links to a video explaining how to use the module.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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