I have a problem in version 2.2 of OpenCart, due to the high costs of shipping by courier, I need to limit the number of pieces that can be ordered to 20, and at the moment it is a maximum of 25. I'm sorry, but I couldn't find the answer on the forum, hence my question. Could someone help me and tell me how to do it?
Maximum number of an item or maximum number of any items in the cart?maiqe7@gmail.com wrote: ↑Tue Jun 04, 2024 7:21 pmI have a problem in version 2.2 of OpenCart, due to the high costs of shipping by courier, I need to limit the number of pieces that can be ordered to 20, and at the moment it is a maximum of 25. I'm sorry, but I couldn't find the answer on the forum, hence my question. Could someone help me and tell me how to do it?
These may help:
https://www.opencart.com/index.php?rout ... n_id=31409
https://www.opencart.com/index.php?rout ... n_id=20480
Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk
Restrict Checkout can also do this. You can set a restriction for the entire cart quantity, or each individual product, and disable checkout when the situation occurs. You would set it up like this:
------------------------------------------------------------------------------
RESTRICTION #1
Name: Disable checkout when cart quantity is 21 or more
Message: Sorry, you can only purchase 20 items at a time.
Rule: Quantity of cart = 21-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 questions.
------------------------------------------------------------------------------
RESTRICTION #1
Name: Disable checkout when cart quantity is 21 or more
Message: Sorry, you can only purchase 20 items at a time.
Rule: Quantity of cart = 21-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 questions.
Looks like that will do the job nicely.Johnathan wrote: ↑Wed Jun 05, 2024 10:48 pmRestrict Checkout can also do this. You can set a restriction for the entire cart quantity, or each individual product, and disable checkout when the situation occurs. You would set it up like this:
------------------------------------------------------------------------------
RESTRICTION #1
Name: Disable checkout when cart quantity is 21 or more
Message: Sorry, you can only purchase 20 items at a time.
Rule: Quantity of cart = 21-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 questions.

Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk
Who is online
Users browsing this forum: No registered users and 2 guests