nicolas wrote: If you set a limit to be based on the main category of your shop and all its sub categories, with a max quantity of 1, I think that you'll be able to force the customers to have only one product per cart, no matter what they do.
Practically, Do you mean to Assign the Limit to the Category Root, right ?
So, Limit - Cart is working as in my
A example. The only way would be to force User to buy 1 item per time in the entire Store (a bad solution).
In my opinion "Cart" should work as in
B example: "
the total quantity of the Products into the Cart and the Limit will be applied only when the Selected Product is added to the Cart"
Because,:
1 - for each Product we have yet the possibility to set "Quantity per order" and limit maximum quantity to 1 for example, (and at least the same "Quantity per order" limit could be added as feature into Category. Anyway Product by Product is a Category
).
2 - with "System > Configuration > Main > Cart: Maximum number of items in the cart" we canyet obtain a Cart "Root" Category limitation
Don't youthink
?
In Limit creation right now, don't having a way to manage separately Cart and Period time like for example:
Cart Type: Quantity
Cart Value: 1
Period: Forever (daily, weekly, monthly etc.)
Type: Quantity
Value: 1
Can I add and apply two Limits
? Like:
Period: Cart - Type: Quantity - Value: 1 - Category: Root (Will force all customers to have only one product per cart)
Period: Forever - Type: Quantity - Value: 1 - Product: "free upload PDF" (Will force all customers to be able to "buy" only one time one Product forever)
I think that using the limit feature is indeed the simplest to enforce that rule.
However, that still require modifying the validate free order plugin to apply only in some cases based on the content in the cart.
Thanks, we put this investigation on our roadmap
...