[Skip to main content](#vessel-content)

#   Cart Limit

##

- **[lbowman](/forum/user/37974-lbowman "View lbowman's Profile")**
- [![lbowman's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/37974-lbowman "View lbowman's Profile") Topic Author
- [ Offline](/forum/user/37974-lbowman)

Less More

- Posts: 1
- Thank you received: 0
-
-

11 years 3 months ago -  11 years 3 months ago [\#212377](#212377) by [lbowman](/forum/user/37974-lbowman "View lbowman's Profile")  *[Cart Limit](/forum/27-checkout/878922-cart-limit#212377 "-- url of the page with the problem -- :   someonespecialbooks.com  -- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.3.32  We need to limit the cart to one product, but not the the quantity of that product. In other words, the customer can only put one product in their cart, but can order as many copies of that product as they wish.  Can Hikashop be adapted to accomplish that?")* was created by *[lbowman](/forum/user/37974-lbowman "View lbowman's Profile")*

-- url of the page with the problem -- : [ someonespecialbooks.com](http://someonespecialbooks.com)
-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.3.32

We need to limit the cart to one product, but not the the quantity of that product. In other words, the customer can only put one product in their cart, but can order as many copies of that product as they wish.

Can Hikashop be adapted to accomplish that?

Last edit: 11 years 3 months ago by [lbowman](/forum/user/37974-lbowman "View lbowman's Profile"). Reason: incomplete problem description

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3ODkyMi1jYXJ0LWxpbWl0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 3 months ago [\#212389](#212389) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Cart Limit](/forum/27-checkout/878922-cart-limit#212389 "-- url of the page with the problem -- :   someonespecialbooks.com  -- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.3.32  We need to limit the cart to one product, but not the the quantity of that product. In other words, the customer can only put one product in their cart, but can order as many copies of that product as they wish.  Can Hikashop be adapted to accomplish that?")*

Hi,

This feature is not handled by HikaShop bu default.
But this can be done via a plugin, the plugin must use the function "onBeforeCartUpdate()", check the current cart content and add the product or not to the cart based on your needs.

Here is the developer documentation: [ www.hikashop.com/support/support/documen...r-documentation.html](http://www.hikashop.com/support/support/documentation/62-hikashop-developer-documentation.html)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3ODkyMi1jYXJ0LWxpbWl0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.048 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
