Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Adding a message text area to tell-a-friend...

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #11  
Old 01-08-2005, 04:19 PM
 
donavichi donavichi is offline
 

X-Adept
  
Join Date: Apr 2004
Location: United Kingdom
Posts: 697
 

Default

Hey Shan,

will this work with 3.5.x branch?
__________________
Best regards,

Donavichi.
- - -

Website Copywriting || Web Design || FAQs || Home & Garden Blog
Reply With Quote
  #12  
Old 01-13-2005, 07:05 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

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
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #13  
Old 01-13-2005, 07:37 AM
 
donavichi donavichi is offline
 

X-Adept
  
Join Date: Apr 2004
Location: United Kingdom
Posts: 697
 

Default

where's that?
__________________
Best regards,

Donavichi.
- - -

Website Copywriting || Web Design || FAQs || Home & Garden Blog
Reply With Quote
  #14  
Old 01-13-2005, 07:46 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

http://forum.x-cart.com/viewtopic.php?t=290&highlight=friend
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #15  
Old 01-13-2005, 07:55 AM
 
donavichi donavichi is offline
 

X-Adept
  
Join Date: Apr 2004
Location: United Kingdom
Posts: 697
 

Default

Thanks
__________________
Best regards,

Donavichi.
- - -

Website Copywriting || Web Design || FAQs || Home & Garden Blog
Reply With Quote
  #16  
Old 06-11-2005, 12:57 AM
 
Maree Maree is offline
 

Advanced Member
  
Join Date: May 2005
Posts: 85
 

Default

Thank you Shan
Got this working in 4.0.13
__________________
Maree
4.0.13
Reply With Quote
  #17  
Old 08-20-2005, 06:07 AM
  HWT's Avatar 
HWT HWT is offline
 

eXpert
  
Join Date: Jan 2005
Location: Massachusetts, USA
Posts: 392
 

Default

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
__________________
x-cart 4.0.13 and 4.1.7 and 4.1.10
Reply With Quote
  #18  
Old 08-21-2005, 04:28 PM
  MythNReality's Avatar 
MythNReality MythNReality is offline
 

X-Adept
  
Join Date: Mar 2005
Location: S. Cali
Posts: 403
 

Default

Quote:
Originally Posted by HWT
Works like a charm.


TKS!
__________________
_____________
Capture Your Mini-Me Look!

- X-CART Gold (Current Version) V4.6
- Reboot
- CDSEO
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:18 AM.

   

 
X-Cart forums © 2001-2020