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

#   User points issue

##

- **[bsimoes](/forum/user/48805-bsimoes "View bsimoes's Profile")**
- [![bsimoes's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar48805.jpg)](/forum/user/48805-bsimoes "View bsimoes's Profile") Topic Author
- [ Offline](/forum/user/48805-bsimoes)

Less More

- Posts: 45
- Thank you received: 0
-
-

5 years 9 months ago [\#329174](#329174) by [bsimoes](/forum/user/48805-bsimoes "View bsimoes's Profile")  *[User points issue](/forum/35-orders-management/901844-user-points-issue#329174 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.4  Hello,  If for some reason (product out of stock, one product cancellation or other) that take to order be update in the backoffice with a diferent number of product and value, the points earned by the client don't be updated and remains with the points of moment of created order. This is a mistake because this changes can be asked by the client after place the order. The points should be updated.  Best regards, Bruno")* was created by *[bsimoes](/forum/user/48805-bsimoes "View bsimoes's Profile")*

-- HikaShop version -- : 4.4.0
-- Joomla version -- : 3.9.24
-- PHP version -- : 7.4

Hello,

If for some reason (product out of stock, one product cancellation or other) that take to order be update in the backoffice with a diferent number of product and value, the points earned by the client don't be updated and remains with the points of moment of created order. This is a mistake because this changes can be asked by the client after place the order. The points should be updated.

Best regards,
Bruno

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

5 years 9 months ago [\#329245](#329245) 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 issue](/forum/35-orders-management/901844-user-points-issue#329245 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.24 -- PHP version -- : 7.4  Hello,  If for some reason (product out of stock, one product cancellation or other) that take to order be update in the backoffice with a diferent number of product and value, the points earned by the client don't be updated and remains with the points of moment of created order. This is a mistake because this changes can be asked by the client after place the order. The points should be updated.  Best regards, Bruno")*

Hi,

Points are indeed not updated if you modify the order after its creation. I totally agree with you that the points should be updated in such a case.
That's a capability we could add in the future but it's a lot of work as the system doesn't know why the points were attributed.
For example, in the settings of the points plugin, you can configure points to be gained based on the amount of products in different categories. So if I then delete a product from an order, it would mean that I would have to remove points from the user if the product is in a category listed in the plugin. But right now, the information of the points is stored only global to the whole order. So I don't really know how much points to remove. I could try to calculate it based on the settings of the plugin, but the settings could have been changed between the order creation and the removal of the product. So it would require storing the points for each product when the order is created. But then if the points given are global to the order (like if you give points based on the user group of the user) then the points can't be for each product. So that means that there also need to be that information saved for the whole order.
And we still want to know the global amount of points. So it needs some kind of synchronization between the points of each product, the points global to the order and the total number of points gained / lost by the order.
What I'm trying to say is that a lot of work will be required for that to work properly and take into account all the different ways points can be configured while the gain is only a few seconds to not have to manually update the points of the user when an order is modified (other than changing its status), which normally doesn't happen that often. And that's why it's on the back-burner for now.

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

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