Adding a "where did you find us" drop down menu
Posted: Tue Aug 17, 2010 7:49 am
Hi,
Firstly, I started using OpenCart (V 1.4.8 ) 2 weeks ago, and am loving it so far; great bit of kit!
I've been using the search function to help with any problems I have come across, and that has been fine, but I have now come across something I couldn't find an answer too - apologies if this has been asked before though.
I am trying to incorporate a "where did you find us" drop down menu field into the checkout process. This is useful for marketing purposes so I can discover how the customer came across the website (from google, or a magazine referral or whatever). I have placed the html for the drop down menu into the theme/default/template/guest_step_1.tpl file. It is appearing fine, situated below the "Your Address" section and above the "check here if you have a separate shipping address" checkbox.
My question is, how would I go about actually being able to track this information? At the moment, when the customer clicks on "continue" to progress to the next section, whatever selection they made is obviously lost. It would be great if one of the following happened upon the customer making thier selection and clicking "continue";
1. the drop down menu selection is sent to my email address.
2. the drop down menu selection appears with the order details in the admin.
Can anyone help with this? I just need some way of tracking it. If the solution involves diving into the code, I have no problems with this.
Thanks in advance,
Kyle
Firstly, I started using OpenCart (V 1.4.8 ) 2 weeks ago, and am loving it so far; great bit of kit!
I've been using the search function to help with any problems I have come across, and that has been fine, but I have now come across something I couldn't find an answer too - apologies if this has been asked before though.
I am trying to incorporate a "where did you find us" drop down menu field into the checkout process. This is useful for marketing purposes so I can discover how the customer came across the website (from google, or a magazine referral or whatever). I have placed the html for the drop down menu into the theme/default/template/guest_step_1.tpl file. It is appearing fine, situated below the "Your Address" section and above the "check here if you have a separate shipping address" checkbox.
My question is, how would I go about actually being able to track this information? At the moment, when the customer clicks on "continue" to progress to the next section, whatever selection they made is obviously lost. It would be great if one of the following happened upon the customer making thier selection and clicking "continue";
1. the drop down menu selection is sent to my email address.
2. the drop down menu selection appears with the order details in the admin.
Can anyone help with this? I just need some way of tracking it. If the solution involves diving into the code, I have no problems with this.
Thanks in advance,
Kyle