Discord Patreon Twitch YouTube GitHub Instagram

Suggestions

Back

Custom products



Supercrafter100 Supercrafter100: 10 months ago

I think the ability for custom modules to register their own products would be a really interesting idea. This way those modules can perform custom actions upon the product being bought. Here is a little example on how this could be used:

1. You're a reseller of coupon codes
2. You setup a custom product in the store with a custom module
3. When the product is bought, the module now just searches through the database of available coupons and sends an email with that coupon, removing the coupon from the database.
4. Using the "isListed" getter for a product, it can only list the product if the database has available coupons

This is just an example but I hope you get the idea. It allows to completely customize the action that gets performed when a product is bought. Allowing for a lot more customization for developers.


2
0
Patreon votes get their votes priority

Comments

Partydragen Partydragen: 10 months ago

Already possible and is Already used by Mc server list and mcstatistics and soon NamelessHosting

Partydragen Partydragen: 10 months ago

They just need to register the product and make it hidden etc and save the product it

Partydragen Partydragen: 10 months ago

Then listen for payment details and even modify field data during checkout

Supercrafter100 Supercrafter100: 10 months ago

Okay <:debit7:766210029774700544>

Partydragen Partydragen: 10 months ago

Wish module creators actually make integrations like my projects but people dont know and current modules dont need it

Supercrafter100 Supercrafter100: 10 months ago

I guess it's more or less useful for specific applications really. Not really useful for general use

Partydragen Partydragen: 10 months ago

Yea

Partydragen Partydragen: 10 months ago

I plan to make servers list module to patreon in future

Partydragen Partydragen: 10 months ago

Is well the only with store integration then

Search Keyword


Suggestion

Views
468
Likes
2
Dislikes
0
Category
Store Module
Status
Complete