X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Formating form values in email invoices and notices (https://forum.x-cart.com/showthread.php?t=17716)

tracey_ccishop 11-02-2005 06:28 PM

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]

balinor 11-04-2005 05:01 AM

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

<span class="fontstyle">code for language variables and includes</span>

tracey_ccishop 11-06-2005 01:56 AM

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


All times are GMT -8. The time now is 09:38 AM.

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