Partydragen Hub's Discord
Members Online: 242
mc.cubedcraft.com
Loading...
Discord Patreon Twitch YouTube GitHub Instagram

Suggestions

Back

Custom products



Supercrafter100 Supercrafter100: about 1 year 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: about 1 year ago

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

Partydragen Partydragen: about 1 year ago

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

Partydragen Partydragen: about 1 year ago

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

Partydragen Partydragen: about 1 year ago

@Supercrafter100

Supercrafter100 Supercrafter100: about 1 year ago

Okay <:debit7:766210029774700544>

Partydragen Partydragen: about 1 year ago

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

Supercrafter100 Supercrafter100: about 1 year ago

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

Partydragen Partydragen: about 1 year ago

Yea

Partydragen Partydragen: about 1 year ago

I plan to make servers list module to patreon in future

Partydragen Partydragen: about 1 year ago

Is well the only with store integration then

Search Keyword


Suggestion

Views
811
Likes
2
Dislikes
0
Category
Store Module
Status
Complete