This matter concerns products of limited quantity and especially unique products.
This is the case: An unique product has adjustments - "In Stock" and available quantity "1".
So, what are the default Opencart adjustments in connection of the following actions concerning this product:
1. A customer One put it in his shopping cart. A minute later customer Two also tries to put it in his shopping cart.
Will this unique product be in both shopping carts at the same time or the second customer will be notified?
Will the field "In Stock" be automatically changed to "Out of Stock" just after the action by the first customer?
2. What is the default Opencart time for holding products in the shopping cart? Is it unlimited?
How can we control this time and notifications about this?
Not until the order has been processed and the second customer does not get notified unless you are using an extension that would allow it.1. A customer One put it in his shopping cart. A minute later customer Two also tries to put it in his shopping cart.
Will this unique product be in both shopping carts at the same time or the second customer will be notified?
Will the field "In Stock" be automatically changed to "Out of Stock" just after the action by the first customer?
The interval is automatically set to 1 hour. It cannot be controlled unless changing the delay ourselves from the system/library/cart/cart.php file.2. What is the default Opencart time for holding products in the shopping cart? Is it unlimited?
How can we control this time and notifications about this?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I see in system/library/cart/cart.php
I understand that this is for users with no account and this is okay.
What about customer that has account?
Anyway, as far as i understand, no matter that a unique product is put in someone's cart, it is still available for others to take it, right?
Code: Select all
// Remove all the expired carts with no customer ID
................................... INTERVAL 1 HOUR)");
What about customer that has account?
Anyway, as far as i understand, no matter that a unique product is put in someone's cart, it is still available for others to take it, right?
As mentioned above, yes - until the order has been processed.mrblond wrote: ↑Tue Oct 31, 2017 5:26 amI see in system/library/cart/cart.phpI understand that this is for users with no account and this is okay.Code: Select all
// Remove all the expired carts with no customer ID ................................... INTERVAL 1 HOUR)");
What about customer that has account?
Anyway, as far as i understand, no matter that a unique product is put in someone's cart, it is still available for others to take it, right?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: Majestic-12 [Bot], Semrush [Bot] and 294 guests