Totally Zenned
- Join Date:
- Feb 2007
- Posts:
- 518
- Plugin Contributions:
- 1
Post #1 by vandiermen
I just need to add $$ random amount to peoples account, is their anyway to do this, or a mod?
Started by vandiermen on 13 Aug 2007, 1:31 PM · Views: 2,134
Totally Zenned
I just need to add $$ random amount to peoples account, is their anyway to do this, or a mod?
Totally Zenned
Zen Cart doesn't hold customer balances, so I don;t know of any way in core code or a mod to add a credit balance.
The closest that I can suggest would be to give customers discount coupons, though I don't know of a way to randomize the amount without doing them all individually by hand.
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
Totally Zenned
There is a credit mod, which is working fine on my site. Check the download section, I don't remember where but it's there.
Regards.
PS: or you can try searching the forum
I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me
Totally Zenned
:oops: Spoke too soon!
There is this module (thanks yellow1912) though the randomising would still be a manual task.
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
Totally Zenned
There it is ^^. Adding a random amount to people's accounts is not so hard if you can do PHP coding. You will have to write a function to add random amount of credit to the newly created account, and you have to call it each time someone registers (I'm assuming that you add credit to every new account)
I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me
Totally Zenned
Thanks for the help! Would not have been done with out you. I am going to create a store where people can swap their old clothes for in store credit for new ones 'Exchange'. We'll I am going to make it for someone else..
Its exactly what I needed and works perfectly, just one click and any customer has the credit I assign to them. :smile::happy::thumbsup::sleep:
Tell staff why this post should be reviewed.