Post by maiqe7@gmail.com » Tue Jun 04, 2024 7:21 pm

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?


Posts

Joined
Tue Jun 04, 2024 5:38 pm

Post by johnp » Tue Jun 04, 2024 11:55 pm

maiqe7@gmail.com wrote:
Tue Jun 04, 2024 7:21 pm
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?

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


User avatar
Active Member

Posts

Joined
Fri Mar 25, 2011 10:25 am
Location - Surrey, UK

Post by Johnathan » Wed Jun 05, 2024 10:48 pm

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.

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by johnp » Wed Jun 05, 2024 11:00 pm

Johnathan wrote:
Wed Jun 05, 2024 10:48 pm
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.
Looks like that will do the job nicely. :)

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


User avatar
Active Member

Posts

Joined
Fri Mar 25, 2011 10:25 am
Location - Surrey, UK
Who is online

Users browsing this forum: No registered users and 3 guests