- Posts: 25
- Thank you received: 0
Stock doesn't work on items with variations
- Cybermissy
-
Topic Author
- Offline
-- Joomla version -- : 3.8.10
-- PHP version -- : 5.6.37
-- Browser(s) name and version -- : chrome 68.0.3440.68
-- Error-message(debug-mod must be tuned on) -- : none
Hi!
I have a lot of items with multiple variations and I've set the stock of each variation. But stock is not updated. What goes wrong?
I've set update stock on confirmation.
Kind regards!
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
Can you also check if :
- your order status is set to "confirmed"
- the stock is updated through the main product stock or its variant
Thank you.
Please Log in or Create an account to join the conversation.
- Cybermissy
-
Topic Author
- Offline
- Posts: 25
- Thank you received: 0
Mohamed Thelji wrote: Hello,
- the stock is updated through the main product stock or its variant
Thank you.
Thank you! Where can I check thisone? I can't find it.
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
You can check it through the "quantity" option of your product configuration page.
Please Log in or Create an account to join the conversation.
- Cybermissy
-
Topic Author
- Offline
- Posts: 25
- Thank you received: 0
Please Log in or Create an account to join the conversation.
The quantity of the main product will update at the same time the quantity of the variant will update.
So the problem is probably that there is something missing in your tests.
For example, you have the "Update the product stock on confirmed status" setting in the HikaShop configuration.
If you have that option activated, then the stock will only be updated for the variant and the main product when the order status is changed from "created" to "confirmed" after the payment notification is received.
Also, the system bases itself on the settings in the menu System>Order statuses so if you changed things there it could prevent the stock update from being run.
Please Log in or Create an account to join the conversation.
Cybermissy wrote: In all variations the quantity field has a value. In the main product configuration the quantity gets the value unlimited on safe. But when I fill in a number that field doen't update either.
we have a similar problem, the variant stock level is set through sagepay but is not showing up on the variant, any help greatly appreciated
Please Log in or Create an account to join the conversation.
How is the stock set by sagepay ?
Are you talking about the stock not showing in the variant on the backend ? Or on the product page on the frontend ?
Could you provide some screenshots of the situation ?
Please Log in or Create an account to join the conversation.