Liink a category to a cart

  • Posts: 1
  • Thank you received: 0
1 year 11 months ago #341625

-- Joomla version -- : 3.10.9
-- PHP version -- : 7.3

Hi!
I have some products (all the same) that have to stay in all the category.
I try to understand if I can link each category to a specified cart.

For example:
- Category A > Select products > add to Cart A

After:
- Category F > Select products > add to Cart F

Is it possible?
Or which setting I have to do for have the same result?

Thanks a lot! :)

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

  • Posts: 81515
  • Thank you received: 13068
  • MODERATOR
1 year 11 months ago #341633

Hi,

There is no option to do that. The cart is common to all the products.
It's possible to have several carts but there is not a ready made mechanism where you can tell the system to switch the cart based on the category.
With a custom plugin developed for that it should be possible though.
But maybe there is another solution to what you're trying to do ? Could you explain why you need to do that ? What should happen after a product has added products to a cart ? Won't he purchase the products in it ? In that case, instead of adding the second set of products in a new cart, why not block the user from adding products from another category in the cart ? Might that be a possibility ?

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

Time to create page: 0.058 seconds
Powered by Kunena Forum