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

Formating form values in email invoices and notices

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-02-2005, 06:28 PM
 
tracey_ccishop tracey_ccishop is offline
 

Advanced Member
  
Join Date: Aug 2005
Posts: 55
 

Default Formating form values in email invoices and notices

Hi, I am trying to format the form values pulled into the gift certificate notification email. (mail/giftcert_notification.tpl etc)

I have applied a font style to the lng and eml labels contained within the template, but I cant work out how to apply the same font style to the values pulled into the template from the online form.

For eg.
Quote:
Dear bob smith,
olivia jean sent you a Gift Certificate for AU$30.00.
Message:

'Dear' and 'sent you a gift certificate' have text formatting applied to them, whereas the name of the recipient, the sender and the amount do not.


Thanks[/b]
__________________
Thanks,
www.ccishop.com
X-Cart Gold v4.0.14
Reply With Quote
  #2  
Old 11-04-2005, 05:01 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Have you tried wrapping the whole bit of code in <span> tags? I.E.:

<span class="fontstyle">code for language variables and includes</span>
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 11-06-2005, 01:56 AM
 
tracey_ccishop tracey_ccishop is offline
 

Advanced Member
  
Join Date: Aug 2005
Posts: 55
 

Default

Thanks, yes I did like this:

<span class="body">{$giftcert.recipient}.</span>

Is there any way of previewing the invoice's appearance without doing a test purchase of a gift cert? The Preview after you save from Edit File doesnt include the form values, so cant see what they look like.

We just want the invoices to be consistent, the gift certificate notifications are particularly messy!

Thanks
__________________
Thanks,
www.ccishop.com
X-Cart Gold v4.0.14
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 06:12 AM.

   

 
X-Cart forums © 2001-2020