Refer A Friend Script 2
I am looking to integrate a refer a friend system into our ecommerce site. The site is built on ZenCart. Currently there is a refer a friend mod that is available for install, but it doesn’t fit our needs. I would like to have a page on our site where a customer can enter their friends email address and then our system will send them an email indicating it was from them recommending our site.
In addition to that page we would like to have a spot on our checkout page where a customer can enter a friends email address indicating that they were referred to our store by them. When they enter their friends email address they will be given a discount on their purchase and their friend will receive a deposit/gift certificate that they will be able to use to make future purchases at our store.
Conditions of the deposit:
The deposit will occur 60 days after the date of the purchase when they received the referral.
The referrals shipping status must be set to a the correct status in order to get the gift.
The billing or shipping address of the two associated emails (referrer and Purchaser) cannot be the same.
When their friend who they referred makes a purchase, the person should be notified that they have a pending deposit. When the deposit is made the recipient should receive another email indicating that money was deposited in their account and is available to spend.
On the admin side, we will need to have control over the commission amount and coupon amount and be able to look up accounts if we need to see history.
We currently have the gift certificate module installed. I think that this will be extremely helpful to complete the task. Most of the work is done, it just needs to be integrated to receive deposits with the conditions stated above.
This the basic idea. We are open to suggestions and ideas that will improve this feature. We are open to changes if needed to make integration smoother.