[Skip to main content](#vessel-content)

#   Show prices with discount on checkout

##

- **[nico1979](/forum/user/31330-nico1979 "View nico1979's Profile")**
- [![nico1979's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31330-nico1979 "View nico1979's Profile") Topic Author
- [ Offline](/forum/user/31330-nico1979)

Less More

- Posts: 78
- Thank you received: 6
-
-

2 years 1 week ago [\#364281](#364281) by [nico1979](/forum/user/31330-nico1979 "View nico1979's Profile")  *[Show prices with discount on checkout](/forum/46-discount-coupon/908835-show-prices-with-discount-on-checkout#364281 "Hi, How can I show prices, like the product page (full price and price with discount), also in checkout page and user email? Thank you")* was created by *[nico1979](/forum/user/31330-nico1979 "View nico1979's Profile")*

Hi,
How can I show prices, like the product page (full price and price with discount), also in checkout page and user email? Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ2LWRpc2NvdW50LWNvdXBvbi85MDg4MzUtc2hvdy1wcmljZXMtd2l0aC1kaXNjb3VudC1vbi1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86556
- Thank you received: 14304
-
-

2 years 1 week ago [\#364283](#364283) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Show prices with discount on checkout](/forum/46-discount-coupon/908835-show-prices-with-discount-on-checkout#364283 "Hi, How can I show prices, like the product page (full price and price with discount), also in checkout page and user email? Thank you")*

Hi,

There is no options to display the price with discount in these places.
So it will require some modifications.

For the checkout, you want to go in the Display&gt;Views menu and edit the show_block_cart view file.
There, you can add such code at the top and it should do it: Code:

&lt;?php $this-&gt;params-&gt;set('show_discount', 2); ?&gt;

For the emails, you want to edit them via the menu System&gt;Emails. There, you can add the tag {LINEVAR:PRODUCT_PRICE_BEFORE_DISCOUNT} to add the price before discount, for example, after the tag for the price after discount: {LINEVAR:PRODUCT_PRICE}
Since you didn't provider your version of HikaShop in your message, note that this tag was not available several years ago. So if you have a really old override of the preload of your email, or a really old version of HikaShop, this won't be possible.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ2LWRpc2NvdW50LWNvdXBvbi85MDg4MzUtc2hvdy1wcmljZXMtd2l0aC1kaXNjb3VudC1vbi1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nico1979](/forum/user/31330-nico1979 "View nico1979's Profile")**
- [![nico1979's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31330-nico1979 "View nico1979's Profile") Topic Author
- [ Offline](/forum/user/31330-nico1979)

Less More

- Posts: 78
- Thank you received: 6
-
-

1 year 11 months ago [\#364582](#364582) by [nico1979](/forum/user/31330-nico1979 "View nico1979's Profile")  Replied by *[nico1979](/forum/user/31330-nico1979 "View nico1979's Profile")* on topic *[Show prices with discount on checkout](/forum/46-discount-coupon/908835-show-prices-with-discount-on-checkout#364582 "Hi, How can I show prices, like the product page (full price and price with discount), also in checkout page and user email? Thank you")*

Thank you, it works. Is it possible to have the same view in the administration orders page?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ2LWRpc2NvdW50LWNvdXBvbi85MDg4MzUtc2hvdy1wcmljZXMtd2l0aC1kaXNjb3VudC1vbi1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86556
- Thank you received: 14304
-
-

1 year 11 months ago [\#364583](#364583) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Show prices with discount on checkout](/forum/46-discount-coupon/908835-show-prices-with-discount-on-checkout#364583 "Hi, How can I show prices, like the product page (full price and price with discount), also in checkout page and user email? Thank you")*

Hi,

You can edit the order / show_products view file for your backend template via the menu Display&gt;Views.
There, the product price with discount is displayed by this line: Code:

echo $this-&gt;currencyHelper-&gt;format($product-&gt;order_product_price, $this-&gt;order-&gt;order_currency_id);

You can use a similar line for the price before discount: Code:

echo $this-&gt;currencyHelper-&gt;format($product-&gt;order_product_price_before_discount, $this-&gt;order-&gt;order_currency_id);

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ2LWRpc2NvdW50LWNvdXBvbi85MDg4MzUtc2hvdy1wcmljZXMtd2l0aC1kaXNjb3VudC1vbi1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.049 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
