How to print the prices node.tpl.php? I installed the Commerce Price Savings Formatter module. Can you explain me how to display the price in a file node--scs.tpl.php? it is for a newsletter.

When I put

 &lt;? php print render($content[ 'product: commerce_price']); ?&gt;


It displays the full price with the original price, percent discount and the reduced price.

I want to display each item in the "td" separate.
I tried

&lt;? php print render($content['product: commerce_price: Trade-price-savings-formatter-savings']); ?&gt;


But it does not work.

thank you in advance
Calling render($content[...]); renders the field—but you need to change how the field is being rendered. To do this, you'll need to modify it's display widget.

Go to Admin→Store→Configuration→Product types→Product type→Manage Display. Then, on the price field, change the the formatter (the first arrow):



This can be further configured by clicking on the gear icon (right arrow) to get access to more configuration.

If this still does not suffice, try these:


Add a HOOK_commerce_price_savings_formatter_formatter to your theme to override the theme provided by the module.
Create a new formatter (the price saving formatter modules can be used as an example) and then use that formatter to display your prices.