capk1 Posted November 3, 2011 Share Posted November 3, 2011 My programmer has been working on install this code on the confirmation or thank you page for http://www.resellerratings.com/ reviews It is a survey of the service provided by our store and is pre-populated so that the customer doesn't have to find their own invoice number. The customer should receive an email based on this code when they have gotten to the thank you page. QUESTIONS: 1. Should he paste this code on the Thank You page? 2. What code would he use to replace the "B5000" code which calls the prestashop database to insert the invoice number? 3. What code would he use to replace the [email_pass = "[email protected]"] code which calls the prestashop database to insert the customers email address? He says this code looks like it's for a tpl page and not a PHP page. Any Ideas? Here is the information and the code : Advanced Exit Survey: Pre-populated with Invoice and Email (Recommended Implementation) Want the BEST way to acquire reviews? Implement your exit survey in the follow way for maximum review conversion. Save your customers tons of time, and yourself lots of hassle, by pre-populating their order data with the exit survey to ensure accurate results. By adding the inv="[iNVOICE NUMBER]" parameter to the code you make your customers lives easier. The example below uses the sample invoice number "B5000", please be sure to insert the real invoice number instead and make sure to put quotes around the alphanumeric invoice number. There is also an email_pass="" parameter, where you can pre-fill the customer's email address (again, please remove the email_pass var from the code below if you don't intend to use it): Copy and paste the following code for an Advanced Survey Pop-Up <link rel="stylesheet" href=" https://www.resellerratings.com/images/js/dhtml_survey.css" type="text/css" /> <script type="text/javascript"> seller_id = 37055; inv = "B5000"; email_pass = "[email protected]"; document.write('<'+ 'script type="text/javascript" src=" https://www.resellerratings.com/images/js/popup_include.js"><\/script>' ); </script> Thanks In Advance! Link to comment Share on other sites More sharing options...
ninjaduck Posted September 25, 2012 Share Posted September 25, 2012 Hi, did you ever get this to work? 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