Azuriom/Plugin-Shop

Option to block purchase of products by category

Closed this issue · 3 comments

An option for brands would be interesting if we want to block users from purchasing from this category if they already have a product from it.

Example, I create the VIP category and add the products there.
image

In this VIP category, the user will only be able to purchase one product at a time and will only be able to purchase another when the product he purchased expires.

Same thing for selecting the product, if he has added Product 1 from the VIP category to the cart, he will only be able to add another product from the VIP category if he removes the one he already has in the cart, that is, adding several products to the cart from the same category will not it would be possible.

Please submit this feedback in #31, as expiring products aren’t added in the shop plugin outside of beta

Made @MrMicky-FR, but it would be perfect for products that are not in the subscription category as well, for one-time purchases.

Made @MrMicky-FR, but it would be perfect for products that are not in the subscription category as well, for one-time purchases.

Yes but currently one time purchases cannot be expiring, will be introduced with the subscriptions update