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

Questions about purchase limits #196

Closed crashzk closed 5 months ago

crashzk commented 5 months ago

Would you like to know how the plugin works with the purchase limit?

I would like to configure that the user can only purchase an item that he has already purchased after X period of time.

Example, selling VIP for 30 days, he will only be able to buy this item again after 30 days, is something like this possible?

image

Would this configuration be correct?

MrMicky-FR commented 5 months ago

Yes should work fine, but for timed products you might look at subscriptions (see https://github.com/Azuriom/Plugin-Shop/issues/31#issuecomment-1974868836) which might be a better fit for this use case

MrMicky-FR commented 5 months ago

About how it works, the plugin will count the number of purchases in the 30 last days (and not on a specific date or something like this)