X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Adding a message text area to tell-a-friend... (https://forum.x-cart.com/showthread.php?t=11274)

donavichi 01-08-2005 04:19 PM

Hey Shan,

will this work with 3.5.x branch?

shan 01-13-2005 07:05 AM

Quote:

Originally Posted by donavichi
Hey Shan,

will this work with 3.5.x branch?


probably not, this is just a mod of the code that exists in v4.

for v3 use boomers mod instead

donavichi 01-13-2005 07:37 AM

where's that?

shan 01-13-2005 07:46 AM

http://forum.x-cart.com/viewtopic.php?t=290&highlight=friend

donavichi 01-13-2005 07:55 AM

Thanks

Maree 06-11-2005 12:57 AM

Thank you Shan
Got this working in 4.0.13

HWT 08-20-2005 06:07 AM

Works like a charm.

For those who use text instead of html e-mail change skin1/mail/sendtofriend.tpl to:


Code:

{* $Id: send2friend.tpl,v 1.2 2004/05/31 10:52:01 max Exp $ *}
{config_load file="$skin_config"}
{include file="mail/mail_header.tpl"}
{assign var=max_truncate value=$config.Email.max_truncate}{math assign="max_space" equation="x+5" x=$max_truncate}{assign var="max_space" value="%-"|cat:$max_space|cat:"s"}

{* SHAN - MSG FIELD ADDED *}

{$lng.lbl_hello}

{$name} {$lng.eml_has_recommended}:

{$product.product}
===========================================
{$product.descr}

{$lng.lbl_price}: {include file="currency.tpl" value=$product.price}


{$lng.eml_please_click_link}:

 {$catalogs.customer}/product.php?productid={$product.productid}

{if $msg} {$name} also added a message for you ......
{$msg} {/if}="{$catalogs.customer}/product.php?productid={$product.productid}">{$catalogs.customer}/product.php?productid={$product.productid}

{include file="mail/signature.tpl"}


and just one more tweak:

create in languages:

Code:

txt_personal_info_disclaimer

<font color="#FF0000" size="4">*</font> We do not store or use your or your friend's personal information in any way.


now in skin1/customer/main/send_to_friend.tpl add this below </TABLE>

Code:


{$lng.txt_personal_info_disclaimer}</p>


In my opinion, anything that I can do to alleviate a potential customer's privacy fears, will result in this tool being used more.

You can view the results here (click on the E-mail Page tab on top):
http://www.heritagetoys.com/Victoria-Table-and-2-Chair-set-pr-17933.html

MythNReality 08-21-2005 04:28 PM

Quote:

Originally Posted by HWT
Works like a charm.



TKS!


All times are GMT -8. The time now is 12:06 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.