Can an app or code help randomize prizes for a mystery box?

Abdul-Rehman-Kh
Visitor
1 0 0

Hey guys,

So basically, what I'm trying to do is build a mystery box and say that a 100$ mystery box has 50 buys, hence 5000$. Now after keeping, say 500$ as profit, I want to send random prizes varying from 50-400$ to all 50 people. Can someone please let me know if there is an app that can do this sort of randomization or a piece of code that someone already that could maybe help me.

Desperately need some help here

Reply 1 (1)

ProfitLabs
Shopify Partner
120 5 15

Sure! Our app is specifically designed to solve this. You need to define a pool of products and the picking rules from this pool, app will automatically edit any order which has mystery box as lineitem and add products from the pool as per rules defined by you to this order as separate lineitems. Here is a tutorial for better clarity.

 

Abhinav | Shopify Partner
- If helpful, please Like and Accept Solution.
- Creator of Sync Inventory - GoGo - Sync Inventory Across Multiple or Single Shopify Store .
- Creator of Profit Bundles - Sell Omni Sales Channel Bundles that you can fulfill yourself or even by a 3PL or Dropshipper.