mirko77 Posted October 11, 2010 Share Posted October 11, 2010 I am building a module which allows users to suggest the shop to friends via email.I am a testing module pretty much working on my server and now I need to integrate it with Prestashop and test it further.This is how it works: each time a customer makes a purchase, if his email address has been suggested by another customer, that customer will get a discount (a voucher code by email) on his next order.I would like to know which files I need to consider to send an email after an order confirmation (if some conditions are met).Thank you Link to comment Share on other sites More sharing options...
rocky Posted October 12, 2010 Share Posted October 12, 2010 Why aren't you using PrestaShop's "Customer referral" module? It lets you enter a referral email when signing up for an account and send voucher codes by email. Link to comment Share on other sites More sharing options...
mirko77 Posted October 12, 2010 Author Share Posted October 12, 2010 I do not know if it works like my client would like. Is there any documentation?From what I read on the forum, an user needs to make a purchase before suggesting friends and this is not what my client wants. Link to comment Share on other sites More sharing options...
rocky Posted October 12, 2010 Share Posted October 12, 2010 The only documentation is on the configuration page itself. You can set the "Number of orders required to earn a discount" on the "Customer referral program". Link to comment Share on other sites More sharing options...
mirko77 Posted October 12, 2010 Author Share Posted October 12, 2010 My client tried it and he said it is perfect. Thank you Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now