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

#   Stock Product not decreasing after changed status

##

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

Less More

- Posts: 15
- Thank you received: 1
-
-

13 years 11 months ago [\#78685](#78685) by [krisnasim](/forum/user/11879-krisnasim "View krisnasim's Profile")  *[Stock Product not decreasing after changed status](/forum/3-bug-report/76144-stock-product-not-decreasing-after-changed-status#78685 "Hi. I am currently using HikaShop 1.6.0 version And I think I found a bug which is quite dangerous for the site :( When you give stock to a product, it decreases every time customer create a checkout on the frontend. On the backend, every order can be seen with their status, whether it's created, confirmed, shipped, etc. And when you changed the status from created to cancelled, the decreases stock will returned back, to the stock. So for example if an order with 3 product is cancelled, 3 products will be returned to database. The problem occur when the same order is activated again, from cancelled to created again. No product stock is decreasing from the database. So every time I changed the status to cancelled, it returns stock. But it doesn't do the same when I changed it into created status  Is it fixed in the 2.0.0 update?")* was created by *[krisnasim](/forum/user/11879-krisnasim "View krisnasim's Profile")*

Hi.
I am currently using HikaShop 1.6.0 version
And I think I found a bug which is quite dangerous for the site ![:(](/media/kunena/emoticons/22.png ":(")
When you give stock to a product, it decreases every time customer create a checkout on the frontend. On the backend, every order can be seen with their status, whether it's created, confirmed, shipped, etc. And when you changed the status from created to cancelled, the decreases stock will returned back, to the stock. So for example if an order with 3 product is cancelled, 3 products will be returned to database. The problem occur when the same order is activated again, from cancelled to created again. No product stock is decreasing from the database. So every time I changed the status to cancelled, it returns stock. But it doesn't do the same when I changed it into created status

Is it fixed in the 2.0.0 update?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83NjE0NC1zdG9jay1wcm9kdWN0LW5vdC1kZWNyZWFzaW5nLWFmdGVyLWNoYW5nZWQtc3RhdHVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 11 months ago [\#78723](#78723) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Stock Product not decreasing after changed status](/forum/3-bug-report/76144-stock-product-not-decreasing-after-changed-status#78723 "Hi. I am currently using HikaShop 1.6.0 version And I think I found a bug which is quite dangerous for the site :( When you give stock to a product, it decreases every time customer create a checkout on the frontend. On the backend, every order can be seen with their status, whether it's created, confirmed, shipped, etc. And when you changed the status from created to cancelled, the decreases stock will returned back, to the stock. So for example if an order with 3 product is cancelled, 3 products will be returned to database. The problem occur when the same order is activated again, from cancelled to created again. No product stock is decreasing from the database. So every time I changed the status to cancelled, it returns stock. But it doesn't do the same when I changed it into created status  Is it fixed in the 2.0.0 update?")*

Hi,

HikaShop 2.0 have several modifications and fixes for the stock.
In the next version of HikaShop, the product decreasing could be configured in order to only be change when the order would be confirmed (and not at the creation).
The management of cancel/confirmed/cancel (or cancel/created/cancel) would be correctly support.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83NjE0NC1zdG9jay1wcm9kdWN0LW5vdC1kZWNyZWFzaW5nLWFmdGVyLWNoYW5nZWQtc3RhdHVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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)
