VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-Cart StoreFront Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Add-ons for VP-ASP
 The $ in tmp_customeremail.htm is not working
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

4 Posts

Posted - March 04 2008 :  11:58:13  Show Profile  Visit ethicscheck's Homepage  Reply with Quote
Hello, newbie here. We have been running VPASP for about a year now. I finally switched from the text based customer email to the html customer email.

I have dollar signs in front of certain values so they do not display if the field is empty. Well the $ are showing up even if there is something there. Like $[oshipname] shows up in the email as $Tom.

It used to work with the text version but now I'm stuck. Any help would be greatly appreciated.

Thanks a bunch!


Edited by - ethicscheck on March 04 2008 12:08:00

Senior Member

United Kingdom
1898 Posts

Posted - March 04 2008 :  15:29:26  Show Profile  Visit devshb's Homepage  Reply with Quote
make sure that the $ is the very first character on the line in your template, eg you'd have:

$<b>Ship to name:</b> [oshipname]

and *not*

<b>Ship to name:</b> $[oshipname]

and also you need to make sure that only one template field is on a given line for the $ trick to work

if you want to apply similar logic to some of the amounts when they equate to zero, see:

Simon Barnaby
[email protected]
Web Design, Online Marketing and VPASP addons

Edited by - devshb on March 04 2008 15:33:11
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000