Cart Limit

  • Posts: 1
  • Thank you received: 0
9 years 3 months ago #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?

Last edit: 9 years 3 months ago by lbowman. Reason: incomplete problem description

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
9 years 3 months ago #212389

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

Please Log in or Create an account to join the conversation.

Time to create page: 0.064 seconds
Powered by Kunena Forum