Need a help. how to generate 6 digit refer code

A unique referral code will be automatically generated when a user registers.
A referral code will be generated for a user.

Like this you can try, just alters the code alone as per your requirement

Once user logged in successfully just use this block to generate a code and store it in tinydb or database… next time onwards just recall it

Or you can try this extension too

Have a look at this method method too, Custom or any number of digit

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.