![]() |
send_to_friend feature to be a request additional info
I have just modified the send_to_friend feature to be a request additional info in X-cart Gold 4.0.17.
I don't know if it will be of any use to anyone or not. I'm new to this so I'm sure there are better ways of doing this or things that could be changed to make it better so any feed back would be good. I have based this on a mod that was done by Shan to add a text field to the send_to_friend http://forum.x-cart.com/viewtopic.php?t=15657&highlight=sendtofriend there are three main files that need to be modified. skin1/customer/main/send_to_friend.tpl skin1/mail/html/send2friend.tpl send_to_friend.php this mod was done on X-cart Gold 4.0.17 with the tabs mod as well. before you try backup all files that need to be changed. you will also need to change the language lbl_recommendation to something like "Website Information Request" if you don't use HTML for you emails you will also need change skin1/mail/send2friend.tpl Hope this makes sense. you need to add your email address details as well. Change "info@your-email-address.com.au"> to where ever you want it to go skin1/customer/main/send_to_friend.tpl Code:
{* $Id: send_to_friend.tpl,v 1.6.2.2 2004/12/10 13:14:52 max Exp $ *} skin1/mail/html/send2friend.tpl Code:
send_to_friend.php Code:
# |
hey great mod :D now my customers will be able to ask a qustion about a product they are interested in thankyou.
|
Nice!, I know awhile back my old 3.5.x send to friend mod, someone tweaked for the very same purpose. Defiantly something X-Cart should consider to add an option so you can easily change it from send to friend to enquire about product. Kudos! :wink:
|
This seems like a great mod and exactly what I'm looking for!
Only problem is that I'm using the send_to_friend feature... :( So, I'm wondering if anyone knows a way to get this working without losing the send_to_friend feature? Thanks in advance! :D |
this seems to work fine.
I would make it a pop up and get rid of that prehistoric confirmation window (dialogue.tpl) Would be nice to add a 'sign up for updates on this product' option that would involve a couple of db queries. |
Quote:
Are you still looking for this? If so, is this the kind of thing you need? for example: http://www.japangarden.co.uk/-Venetian-Screen-SPECIAL-OFFER-pr-481.html |
hey paul,
thats exactly what im looking for! can you help out? |
Hi,
sent you a PM with some details. |
Re: send_to_friend feature to be a request additional info
thanks!
|
Re: send_to_friend feature to be a request additional info
Regarding the sendtofriend.php script (the original):
We need to get an email (i.e. to webmaster@domain.com) of the email that was sent from a visitor on the board. Is there a way to, I guess, CC: us on what was sent? There currently appears to be no way to see what people are sending to themselves or their friends. Any help would be appreciated... Thanks in advance! |
Re: send_to_friend feature to be a request additional info
I'm using this great mod for a while now, but the spam bots are driving me almost crazy... 8O
That's why I want to change the emailaddress I'm using for customers requesting info, but not after I found a way the loose/or hide the (new) emailaddress which must be used in the code of this mod: Code:
<FORM action="product.php" method="post" name="send"> Anybody know a solution for this? Thanks in advance! Jerrad :D |
Re: send_to_friend feature to be a request additional info
|
Re: send_to_friend feature to be a request additional info
Thanks for the advise, shafiq!
But I think I just solved it... I changed my emailaddress into {$config.Company.support_department}, so it looks like this: Code:
<INPUT id="send_to" type="hidden" size="45" name="email" value="{$config.Company.support_department}"> And in send_to_friend.php I changed Code:
func_send_mail ($email, "mail/send2friend_subj.tpl", "mail/send2friend.tpl", $from, false); Info requests will now be mailed to the help/support emailadress in Admin>General Settings>Company Options. Seems to work fine... :D Thanks again for trying to help! Jerrad |
Re: send_to_friend feature to be a request additional info
Quote:
great mod shafiq... thanks for help. |
Re: send_to_friend feature to be a request additional info
Quote:
you should remove Code:
<INPUT id="send_to" type="hidden" size="45" name="email" value="{$config.Company.support_department}"> |
All times are GMT -8. The time now is 03:54 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.