Azuriom / Plugin-Shop

A shop plugin to sell in-game items on your website.
https://market.azuriom.com/resources/1
MIT License
17 stars 30 forks source link

Option to block purchase of products by category #199

Closed crashzk closed 4 months ago

crashzk commented 4 months ago

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.

MrMicky-FR commented 4 months ago

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

crashzk commented 4 months ago

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

MrMicky-FR commented 4 months ago

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