How can I limit the maximum of two different products of a specific category at a time in OpenCart 2.3.0.2?
I want to limit fashion categories where customers cannot buy more than two different items at the same time.
For example : Cart has
Category 1>First product 1item in cart Category 1>First product 2nd item in cart Prevent third item into cart if it belongs to category 1
Category 1>First product 1item in cart Category 1>2nd product 1 item in cart
Prevent third item into cart if it belongs to category 1
You need custom module to achieve your needs. Please check your PM.haseebuddin wrote: ↑Mon Oct 08, 2018 5:24 pmHow can I limit the maximum of two different products of a specific category at a time in OpenCart 2.3.0.2?
Cheers
Custom OpenCart modules and solutions. You can write PM with additional questions... Extensions you can find here
Restrict Checkout can do this. You can disable the checkout when more than 2 items from that category are in the cart, and display a warning message, so the customer knows why they can't check out. They can then remove whatever item(s) they want, and can proceed through checkout. You'd set it up like this:
------------------------------------------------------------------------------
RESTRICTION #1
Name: Disable checkout when 2+ items from Category A
Message: You can only purchase up to 2 items from Category A
Rule: Category is Category A
Rule: Quantity of cart = 3-9999
------------------------------------------------------------------------------
Feel free to take a look at the screenshots and demo site, and if you're interested let me know at www.getclearthinking.com/contact if you have any further questions.
------------------------------------------------------------------------------
RESTRICTION #1
Name: Disable checkout when 2+ items from Category A
Message: You can only purchase up to 2 items from Category A
Rule: Category is Category A
Rule: Quantity of cart = 3-9999
------------------------------------------------------------------------------
Feel free to take a look at the screenshots and demo site, and if you're interested let me know at www.getclearthinking.com/contact if you have any further questions.
Who is online
Users browsing this forum: Bing [Bot] and 186 guests