| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Adding a "How Did You Hear About Us" ?? | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#21
|
|||||||
|
|||||||
![]() Has anyone added a drop down box to this?
Thanks! |
|||||||
#22
|
|||||||
|
|||||||
![]() Useful little mod but copying the files doesnt work in 4.0.13 so if its useful to anyone these are the mods for 4.0.13.
Quote:
Add the lbl_how_heard variable to the languages in include/register.php Find .. Code:
Code:
Code:
Code:
Code:
Code:
in include/func.php Find.. Code:
Directly below it add.. Code:
in skin1/customer/main/ Find .. Code:
Directly below it add.. Code:
Thats the mod completed, if you want it to appear on the admin email received after a sale add the following .. in skin1/mail/order_notification_subj.tpl After line .. Code:
Add.. Code:
I take no credit for this mod i just made it work on Version4.0.13, thanx to you guys that made it
__________________
X-cart Gold - 4.0.18 - 4.1.9 - 4.1.10 - 4.3.0 |
|||||||
#23
|
|||||||||
|
|||||||||
![]() ![]() ![]() |
|||||||||
#24
|
|||||||
|
|||||||
![]() ![]() ![]()
__________________
X-cart Gold - 4.0.18 - 4.1.9 - 4.1.10 - 4.3.0 |
|||||||
#25
|
|||||||
|
|||||||
![]() Please how to make those extra fields bi lingual?
__________________
X-Cart Gold 4.0.17 [unix] X-Cart Gold 4.0.18 [unix] |
|||||||
#26
|
|||||||
|
|||||||
![]() Just a quick update to this.
After you add the custom fields using General Settings > User Profile Options, you may want it to appear on your order pages (admin side) so that you can see where customers have come from when you come to process the orders. Open: skin1/main/history_order.tpl Find: {if $usertype eq "A"} {$lng.lbl_status}: {include file="main/order_status.tpl" status=$order.status mode="select" name="status"} <P> Change it to: {if $usertype eq "A"} {$lng.lbl_status}: {include file="main/order_status.tpl" status=$order.status mode="select" name="status"} <br><br> {foreach from=$customer.additional_fields item=v} {if $v.section eq 'A'} {if $is_header ne 'Y'} {/if} {$v.value} {/if} {/foreach} <P> That's it! Now, when a new customer registers and places an order you will be able to see where that customer has come from when you view their order in the admin section. (It appears underneath the dropdown menu called 'Status', and above the 'Tracking Number' text box) This was tested on 4.0.16, but should be fine with other versions too.
__________________
X-Cart Gold v4.6.5 |
|||||||
#27
|
|||||||
|
|||||||
![]() Done now, thanks.
__________________
Version 4.0.19 |
|||||||
#28
|
|||||||
|
|||||||
![]() Thanks for this info.
I have version 4.1.8. I looked in the file skin1/main/history_order.tpl but couldnt quite see the same information. Is there any chance that i could have the "how did you hear about us" script for my version. Cheers
__________________
Sunset X-Cart Gold v4.1.8 |
|||||||
#29
|
|||||||||
|
|||||||||
![]() you don't need a script ...why don't u just add an extra field and have a select box with the options..?
__________________
eCommerce - Strategy / Design / Development / Marketing / Maintenance Call within Australia: Phone: 1300 648 274 | Mobile: 0417 241 950 Call outside Australia: +61 417 241 950 | Email: results@mitash.com | Skype: mitashau | Web: www.mitash.com |
|||||||||
#30
|
|||||||
|
|||||||
![]() Thanks Mitash, i think i have figured it now via your method.
Is there any way that we can pull this information received from customers, into statistics?
__________________
Sunset X-Cart Gold v4.1.8 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|