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

#   Discount info in email notification

##

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

Less More

- Posts: 431
- Thank you received: 22
-

6 years 11 months ago [\#313573](#313573) by [mojweb](/forum/user/5128-mojweb "View mojweb's Profile")  *[Discount info in email notification](/forum/46-discount-coupon/898765-discount-info-in-email-notification#313573 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2  Hello As I manage to find in older posts it seams hart to show discount in notification emails. Every notification should show discount. Its just simple UX and marketing logic. So question, how to show discount (not coupon) in notification emails to customer and admin.")* was created by *[mojweb](/forum/user/5128-mojweb "View mojweb's Profile")*

-- HikaShop version -- : 4.2.2
-- Joomla version -- : 3.9.13
-- PHP version -- : 7.2

Hello
As I manage to find in older posts it seams hart to show discount in notification emails. Every notification should show discount. Its just simple UX and marketing logic.
So question, how to show discount (not coupon) in notification emails to customer and admin.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2Rpc2NvdW50LWNvdXBvbi84OTg3NjUtZGlzY291bnQtaW5mby1pbi1lbWFpbC1ub3RpZmljYXRpb24/dG1wbD1tYXJrZG93bg==) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86316
- Thank you received: 14276
-
-

6 years 11 months ago [\#313574](#313574) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Discount info in email notification](/forum/46-discount-coupon/898765-discount-info-in-email-notification#313574 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2  Hello As I manage to find in older posts it seams hart to show discount in notification emails. Every notification should show discount. Its just simple UX and marketing logic. So question, how to show discount (not coupon) in notification emails to customer and admin.")*

Hi,

The discount information is not stored with the order when the order is created.
So I can't provide a quick/easy solution.
It would require some development to first store that information with the order when it is created before you could add it in the email notifications.

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

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

Less More

- Posts: 431
- Thank you received: 22
-

6 years 11 months ago [\#313635](#313635) by [mojweb](/forum/user/5128-mojweb "View mojweb's Profile")  Replied by *[mojweb](/forum/user/5128-mojweb "View mojweb's Profile")* on topic *[Discount info in email notification](/forum/46-discount-coupon/898765-discount-info-in-email-notification#313635 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2  Hello As I manage to find in older posts it seams hart to show discount in notification emails. Every notification should show discount. Its just simple UX and marketing logic. So question, how to show discount (not coupon) in notification emails to customer and admin.")*

As this is fundamental info for every customer, please include this solution for next releases.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2Rpc2NvdW50LWNvdXBvbi84OTg3NjUtZGlzY291bnQtaW5mby1pbi1lbWFpbC1ub3RpZmljYXRpb24/dG1wbD1tYXJrZG93bg==) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86316
- Thank you received: 14276
-
-

6 years 10 months ago [\#313657](#313657) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Discount info in email notification](/forum/46-discount-coupon/898765-discount-info-in-email-notification#313657 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2  Hello As I manage to find in older posts it seams hart to show discount in notification emails. Every notification should show discount. Its just simple UX and marketing logic. So question, how to show discount (not coupon) in notification emails to customer and admin.")*

Hi,

It is added to our todo list.

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

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

Less More

- Posts: 148
- Thank you received: 21
-
-

4 years 7 months ago [\#340414](#340414) by [FDBI](/forum/user/63027-fdbi "View FDBI's Profile")  Replied by *[FDBI](/forum/user/63027-fdbi "View FDBI's Profile")* on topic *[Discount info in email notification](/forum/46-discount-coupon/898765-discount-info-in-email-notification#340414 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2  Hello As I manage to find in older posts it seams hart to show discount in notification emails. Every notification should show discount. Its just simple UX and marketing logic. So question, how to show discount (not coupon) in notification emails to customer and admin.")*

Hi,

I think it's related so I'm asking my question here :
Is it now possible to display the price before discount (or the discount) in email notifications ?
Because it is indeed quite important and I don't know how to do it.

Thanks in advance for your answer.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2Rpc2NvdW50LWNvdXBvbi84OTg3NjUtZGlzY291bnQtaW5mby1pbi1lbWFpbC1ub3RpZmljYXRpb24/dG1wbD1tYXJrZG93bg==) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86316
- Thank you received: 14276
-
-

4 years 7 months ago [\#340419](#340419) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Discount info in email notification](/forum/46-discount-coupon/898765-discount-info-in-email-notification#340419 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2  Hello As I manage to find in older posts it seams hart to show discount in notification emails. Every notification should show discount. Its just simple UX and marketing logic. So question, how to show discount (not coupon) in notification emails to customer and admin.")*

Hi,

There is no option for that yet.
However, next version of HikaShop, the 4.5.1, will have the information of the discount added to the product entry in the order when it is created.
So you'll be able to add the tag {LINEVAR:PRODUCT_PRICE_BEFORE_DISCOUNT} in your emails in the menu System&gt;Emails to add that information in the emails.

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

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

Less More

- Posts: 148
- Thank you received: 21
-
-

4 years 7 months ago -  4 years 7 months ago [\#340480](#340480) by [FDBI](/forum/user/63027-fdbi "View FDBI's Profile")  Replied by *[FDBI](/forum/user/63027-fdbi "View FDBI's Profile")* on topic *[Discount info in email notification](/forum/46-discount-coupon/898765-discount-info-in-email-notification#340480 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2  Hello As I manage to find in older posts it seams hart to show discount in notification emails. Every notification should show discount. Its just simple UX and marketing logic. So question, how to show discount (not coupon) in notification emails to customer and admin.")*

Ok.

Do you have an estimate for the release of this version 4.5.1 ?

[strike]While waiting for this improvement, is there a function I could reuse or should I create a 'helper' (and if yes, should I put it here : \components\com_hikashop\helpers ) ?
I guess I'd have to add something to the com_hikashop/mail/[...].preload.php files in the 'foreach($data-&gt;cart-&gt;products as $item)' loop.

To sum up, what is the best solution to set this up temporarily ?
It's not a problem if this change is overwritten on the next update or if I have to remove what I would have added.[/strike]

**Edit : I made the change. (1 helper created and custom edits for the various emails)**

Last edit: 4 years 7 months ago by [FDBI](/forum/user/63027-fdbi "View FDBI's Profile"). Reason: I made the change. (1 helper created and custom edits for the various emails)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2Rpc2NvdW50LWNvdXBvbi84OTg3NjUtZGlzY291bnQtaW5mby1pbi1lbWFpbC1ub3RpZmljYXRpb24/dG1wbD1tYXJrZG93bg==) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86316
- Thank you received: 14276
-
-

4 years 7 months ago -  4 years 7 months ago [\#340481](#340481) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Discount info in email notification](/forum/46-discount-coupon/898765-discount-info-in-email-notification#340481 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2  Hello As I manage to find in older posts it seams hart to show discount in notification emails. Every notification should show discount. Its just simple UX and marketing logic. So question, how to show discount (not coupon) in notification emails to customer and admin.")*

Hi,

The 4.5.1 should be out in April.

Last edit: 4 years 7 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

The following user(s) said Thank You: [FDBI](/forum/user/63027-fdbi "View FDBI's Profile")

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

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

Less More

- Posts: 148
- Thank you received: 21
-
-

4 years 7 months ago [\#340534](#340534) by [FDBI](/forum/user/63027-fdbi "View FDBI's Profile")  Replied by *[FDBI](/forum/user/63027-fdbi "View FDBI's Profile")* on topic *[Discount info in email notification](/forum/46-discount-coupon/898765-discount-info-in-email-notification#340534 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.2  Hello As I manage to find in older posts it seams hart to show discount in notification emails. Every notification should show discount. Its just simple UX and marketing logic. So question, how to show discount (not coupon) in notification emails to customer and admin.")*

Ok, thank you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2Rpc2NvdW50LWNvdXBvbi84OTg3NjUtZGlzY291bnQtaW5mby1pbi1lbWFpbC1ub3RpZmljYXRpb24/dG1wbD1tYXJrZG93bg==) 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.126 seconds

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

[](#top)
