Post by Lamsari » Sun Apr 01, 2018 3:57 am

Hi,
I find issue regarding quantity in product data and quantities in productions opens.
I quantities in my product options design 1 = 4 design 2 = 4 , design 3 = 4.
So, I put quantity in product data 12.

But I find user can add to cart more than 4 - 5, 6 and up to 12 of product with design 1 (or 2 or 3).

How to fix this issue? I am using opencart 3.0.2.0

Tks for any help.

Newbie

Posts

Joined
Sat Jan 07, 2017 3:29 pm

Post by Qphoria » Wed Apr 04, 2018 10:43 pm

If you are using options for qty checking
1. Set the main product qty to like 99999 so its not in the way
2. Set the "Show available quantity" to false in the system settings, that will just show "In Stock" on the product page instead of "99999"
3. Set the "Allow Stock Checkout" to false in the system settings, that will prevent out of stock items from being purchased.
4. Be sure you have the Product Option setting for "Subtract" set to YES
5. Customers will still be able to add products to the cart, but won't be able to checkout if they are beyond the available qty. The stock check for products and options is validated at the checkout step, not the add to cart step.

OpenCart 2.0.x Mod Update Info

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: No registered users and 30 guests