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

#   User points and emails

##

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile") Topic Author
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

9 years 8 months ago [\#264454](#264454) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  *[User points and emails](/forum/3-bug-report/889252-user-points-and-emails#264454 "Hi,  In the email order creation used user points shows fine but in any other emails like changing to confirmed or shipped used user points isn't showing. It just shows &quot; used points: 0.00 € &quot; then as example it should be &quot; used points: -30 points &quot;.  All fine for order created but not when you change status.  Thanks")* was created by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")*

Hi,

In the email order creation used user points shows fine but in any other emails like changing to confirmed or shipped used user points isn't showing.
It just shows " used points: 0.00 € " then as example it should be " used points: -30 points ".

All fine for order created but not when you change status.

Thanks

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

9 years 8 months ago [\#264457](#264457) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[User points and emails](/forum/3-bug-report/889252-user-points-and-emails#264457 "Hi,  In the email order creation used user points shows fine but in any other emails like changing to confirmed or shipped used user points isn't showing. It just shows &quot; used points: 0.00 € &quot; then as example it should be &quot; used points: -30 points &quot;.  All fine for order created but not when you change status.  Thanks")*

Hi,

Please indicate your HikaShop version number.
Can you also please confirm that you do not have any email override ?
Which email are you talking about exactly ; the administrator notification ? The customer notification ? The manual email ?

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile") Topic Author
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

9 years 8 months ago -  9 years 8 months ago [\#264487](#264487) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[User points and emails](/forum/3-bug-report/889252-user-points-and-emails#264487 "Hi,  In the email order creation used user points shows fine but in any other emails like changing to confirmed or shipped used user points isn't showing. It just shows &quot; used points: 0.00 € &quot; then as example it should be &quot; used points: -30 points &quot;.  All fine for order created but not when you change status.  Thanks")*

Hi,

HikaShop Business 3.0.1 [1703071721]

I can confirm that i noticed when i was customizing emails and as i remember same was with 2.6.4 version.

I have removed all my emails customization to be sure its hikashop default and now i don't even get points used in order created email. Its just show 0.00 eur.
I have attached some screenshots.
It should show -32 points used...

Same issue with admin email.

Update. I have done more testing and found that in back end order edition page where additional information it shows that points used 0.00 eur. I have attached one more screenshot.

- [ ![email1.png](/forum/attachment/36902) ](/forum/attachment/36902 "email1.png") [ ](/forum/attachment/36902?download=1 "email1.png")
- [ ![email2&#95;2017-03-08.png](/forum/attachment/36903) ](/forum/attachment/36903 "...2017-03-08.png") [ ](/forum/attachment/36903?download=1 "...2017-03-08.png")
- [ ![email3.png](/forum/attachment/36904) ](/forum/attachment/36904 "email3.png") [ ](/forum/attachment/36904?download=1 "email3.png")
- [ ![email4.png](/forum/attachment/36905) ](/forum/attachment/36905 "email4.png") [ ](/forum/attachment/36905?download=1 "email4.png")

Last edit: 9 years 8 months ago by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84ODkyNTItdXNlci1wb2ludHMtYW5kLWVtYWlscz90bXBsPW1hcmtkb3du) 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: 86564
- Thank you received: 14311
-
-

9 years 8 months ago [\#264592](#264592) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[User points and emails](/forum/3-bug-report/889252-user-points-and-emails#264592 "Hi,  In the email order creation used user points shows fine but in any other emails like changing to confirmed or shipped used user points isn't showing. It just shows &quot; used points: 0.00 € &quot; then as example it should be &quot; used points: -30 points &quot;.  All fine for order created but not when you change status.  Thanks")*

Hi,

Thank you for your feedback. We've added a patch for that.

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

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile") Topic Author
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

9 years 8 months ago [\#264596](#264596) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[User points and emails](/forum/3-bug-report/889252-user-points-and-emails#264596 "Hi,  In the email order creation used user points shows fine but in any other emails like changing to confirmed or shipped used user points isn't showing. It just shows &quot; used points: 0.00 € &quot; then as example it should be &quot; used points: -30 points &quot;.  All fine for order created but not when you change status.  Thanks")*

Hi,

I have updated and i see it is working. However it does not with my preload customization. Could you please tell me on witch line and where i should take a look?

Thanks

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

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile") Topic Author
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

9 years 8 months ago [\#264597](#264597) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[User points and emails](/forum/3-bug-report/889252-user-points-and-emails#264597 "Hi,  In the email order creation used user points shows fine but in any other emails like changing to confirmed or shipped used user points isn't showing. It just shows &quot; used points: 0.00 € &quot; then as example it should be &quot; used points: -30 points &quot;.  All fine for order created but not when you change status.  Thanks")*

Found it. All working. Thank you for great support!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84ODkyNTItdXNlci1wb2ludHMtYW5kLWVtYWlscz90bXBsPW1hcmtkb3du) 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: 86564
- Thank you received: 14311
-
-

9 years 8 months ago [\#264598](#264598) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[User points and emails](/forum/3-bug-report/889252-user-points-and-emails#264598 "Hi,  In the email order creation used user points shows fine but in any other emails like changing to confirmed or shipped used user points isn't showing. It just shows &quot; used points: 0.00 € &quot; then as example it should be &quot; used points: -30 points &quot;.  All fine for order created but not when you change status.  Thanks")*

Hi,

We didn't change any code in the preload of any email unfortunately ![:)](/media/kunena/emoticons/3.png ":)")
The patch was located in the file administrator/components/com_hikashop/classes/order.php

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

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile") Topic Author
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

9 years 8 months ago [\#264660](#264660) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[User points and emails](/forum/3-bug-report/889252-user-points-and-emails#264660 "Hi,  In the email order creation used user points shows fine but in any other emails like changing to confirmed or shipped used user points isn't showing. It just shows &quot; used points: 0.00 € &quot; then as example it should be &quot; used points: -30 points &quot;.  All fine for order created but not when you change status.  Thanks")*

Hi,

Well, I did update and it still wasn't working. So I have looked into 3.0.1 preload version and found that I had to change this:
Code:

if(!empty($additional-&gt;order_product_price) &#124;&#124; empty($additional-&gt;order_product_options)) {

to this:
Code:

if( (!empty($additional-&gt;order_product_price) &amp;&amp; ($additional-&gt;order_product_price &gt; 0) ) &#124;&#124; empty($additional-&gt;order_product_options)) {

I had 2.6.4 preload version.

It looks like it is working now.

Thanks Nicolas and all hikashop team for brilliant support.

The following user(s) said Thank You: [nicolas](/forum/user/63-nicolas "View nicolas's Profile")

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

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