If this is your first visit, check our documentation. To post, register or login.
Forums / Code Matters / Zen Cart Code Suggestions / Automated Commision Script

Automated Commision Script

Locked

Started by rawksie on 6 Jun 2006, 4:26 AM · Views: 1,616

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
6 Jun 2006, 4:26 AM
#1
rawksie avatar

rawksie

New Zenner

Join Date:
Jun 2006
Posts:
25
Plugin Contributions:
0

Post #1 by rawksie

I'm not quite sure if that's the correct title for what I mean, but it's the best I have come up with. Now, I am planning on selling other people's stuff through my store, taking a little commission from their sales each month. I am happy to tally this up myself, after all, I have nothing better to do! However, I am sure many people would like a script such as this. Here is how I envision it working;
Customer buys item X, which is made by Bob, and costs $40.
**The server goes **
'ping! Someone bought X which costs $40. Bob_Sales+$40.'

**At the end of each month, or a specified time period, the server then goes **
'ping! Bob_Sales is $500. Commission_level is 10%. 10% of bob_sales is $50 so commission=$50. bob_sales-commission=$450. Sending $450 to Bob's paypal/credit account.'

Hopefully that makes sense. I'd really like to see this feature, but I don't have the Zen-Knowledge, the concentration, or the wish to do it myself (read - adhd and lazy.). :blush:

6 Jun 2006, 6:01 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #2 by drbyte

If you peek at our Recommended Services page, you might want to check out the affiliate options there, which do similar to what you're talking about.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

6 Jun 2006, 6:55 AM
#3
rawksie avatar

rawksie

New Zenner

Join Date:
Jun 2006
Posts:
25
Plugin Contributions:
0

Post #3 by rawksie

Thanks a bundle, DrByte! I'll pop over now. :)

EDIT: Augh, iDev costs 100 dollars... That's about... 75 quid! I haven't even got money to get the bus to the jobcentre tomorrow, let alone buy that. I'll look into it when I start making money though. Thanks again, DrByte.