Attachments
2.png (87.63 KiB) Viewed 3377 times
1.png (130.15 KiB) Viewed 3377 times
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Guess not, because that is the way OpenCart is designed and works.straightlight wrote: ↑Thu Jul 19, 2018 6:16 pm.. it's an old issue that has been resolved on more recent OC versions. ..
The moment you have 2 (or more customers) checking out with same products, the first can order - the others can not anymore (or should not) IF the system and product settings are correct.
If the system system is defined not to check out with no stock, checkout is possible and the stock quantity goes under 0 - as in your case.
Either you you leave it as it is as now - customers can check out even with no stock, or you change the setting.
If defined, the customer will see a message that this product cannot be ordered by cause no stock.
If you want to have a check during the checkout (last step), you have to install an additional extension which checks the stock at this stage (have made such for some of my customers to avoid this).
But subtracting 2 pieces if 1 is ordered is simply impossible and heard never before or seen.
There must be something else (order 2 not 1) or do you have installed any additional extension which has an impact on the order process?
Or do you mean that the second order is in state 'Pending' and not 'Complete'?
But both orders are made successfully and it is displayed that the second order must be 2 pieces, while the last is 1.
Anyway, OpenCart can only process that what you are (or the customer) is doing or have done.
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Well, if an extension needs to be installed to check the subtraction stock based on the merchant's configuration, I guess it is an old issue still …If you want to have a check during the checkout (last step), you have to install an additional extension which checks the stock at this stage (have made such for some of my customers to avoid this).
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Simply try it by yourself and make a checkout with the same product with 2 different customers (2 windows) - but wait with the last step (confirmation) with both.straightlight wrote: ↑Thu Jul 19, 2018 7:31 pmWell, if an extension needs to be installed to check the subtraction stock based on the merchant's configuration, I guess it is an old issue still …If you want to have a check during the checkout (last step), you have to install an additional extension which checks the stock at this stage (have made such for some of my customers to avoid this).
Then do the last step and confirm both - it will work, also in the latest 3.x version.
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
On the screenshot I can see only that order # 351 must be the same as 352 but 2x the same product and is complete.
Order # 352 is Pending and seems to be the same product as 351 but once.
That is all what I can see - all other is what you are writing ..
Or do you mean the the customer frgrg with order # 352 has bought one (1) product, but the stock is reduced by 2 pieces now?
Never heard of that before.
Maybe you try that again with different customer names, a session problem is unknown.
Also shared data could not be the reason.
Also which browser did you use?
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
I do understand what the addressed issue is about. What I did indicated, however, is since an extension is required to maintain the stock balance, then - yes - this is an issue at this point since, even though the store owner can configure the stock levels, the minimum amount of stock cannot be addressed as a negative value to the customer unless the field would be implicit specifically to be shown to customers on the product detailed page.Simply try it by yourself and make a checkout with the same product with 2 different customers (2 windows) - but wait with the last step (confirmation) with both.
Then do the last step and confirm both - it will work, also in the latest 3.x version.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
As - usual - his answer: this is how OpenCart works.
And this can lead to troubles, because - in rare situations, or if a shop has unique products - if happen, one of the customers will be very unsatisfied!
To prevent this, I have made the extension.
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Users browsing this forum: No registered users and 45 guests