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

#   Points discount in Order Admin Notification email

##

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

Less More

- Posts: 23
- Thank you received: 0
-
-

13 years 4 months ago [\#113498](#113498) by [appetit](/forum/user/12284-appetit "View appetit's Profile")  *[Points discount in Order Admin Notification email](/forum/4-how-to/85186-points-discount-in-order-admin-notification-email#113498 "Could you, please, advice... how to include info how much points discount was used on order from Hikashop AlphaUserPoints Plugin to Order Admin Notification email?")* was created by *[appetit](/forum/user/12284-appetit "View appetit's Profile")*

Could you, please, advice... how to include info how much points discount was used on order from Hikashop AlphaUserPoints Plugin to Order Admin Notification email?

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 4 months ago [\#113559](#113559) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Points discount in Order Admin Notification email](/forum/4-how-to/85186-points-discount-in-order-admin-notification-email#113559 "Could you, please, advice... how to include info how much points discount was used on order from Hikashop AlphaUserPoints Plugin to Order Admin Notification email?")*

Hi,

You will have to edit the mail "order_admin_notification" from the menu System &gt; mail.
The points informations are probably not in the object "$data" (thanks to check), so you will have to edit more files to add the alphauserpoints informations in the email.
It require a good php level.

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

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

Less More

- Posts: 23
- Thank you received: 0
-
-

13 years 4 months ago [\#114190](#114190) by [appetit](/forum/user/12284-appetit "View appetit's Profile")  Replied by *[appetit](/forum/user/12284-appetit "View appetit's Profile")* on topic *[Points discount in Order Admin Notification email](/forum/4-how-to/85186-points-discount-in-order-admin-notification-email#114190 "Could you, please, advice... how to include info how much points discount was used on order from Hikashop AlphaUserPoints Plugin to Order Admin Notification email?")*

Please, advice the file names for customizition? Where is this object $data processing?

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 4 months ago [\#114247](#114247) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Points discount in Order Admin Notification email](/forum/4-how-to/85186-points-discount-in-order-admin-notification-email#114247 "Could you, please, advice... how to include info how much points discount was used on order from Hikashop AlphaUserPoints Plugin to Order Admin Notification email?")*

It's in the class "order" function "save()", in this class the object is "$order".
We don't recommend to edit the HikaShop core files, it's better to create a plugin, you can use the function "onAfterOrderCreate" and add the informations about the alphauserpoints in the $order object.

Then display them in the email.

Here is the documentation about the plugins:
[ www.hikashop.com/fr/support/documentatio...mentation.html#howto](http://www.hikashop.com/fr/support/documentation/62-hikashop-developer-documentation.html#howto)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg1MTg2LXBvaW50cy1kaXNjb3VudC1pbi1vcmRlci1hZG1pbi1ub3RpZmljYXRpb24tZW1haWw/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.052 seconds

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