Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.

how to just add credit to peoples accounts

Locked

Started by vandiermen on 13 Aug 2007, 1:31 PM · Views: 2,134

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
13 Aug 2007, 1:31 PM
#1
vandiermen avatar

vandiermen

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?

13 Aug 2007, 1:38 PM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Post #2 by kuroi

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)

13 Aug 2007, 2:37 PM
#3
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Post #3 by yellow1912

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

13 Aug 2007, 2:52 PM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Post #4 by kuroi

: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)

13 Aug 2007, 2:56 PM
#5
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Post #5 by yellow1912

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

14 Aug 2007, 8:58 AM
#6
vandiermen avatar

vandiermen

Totally Zenned

Join Date:
Feb 2007
Posts:
518
Plugin Contributions:
1

Post #6 by vandiermen

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: