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)
-   -   Adding line of text in Smarty (https://forum.x-cart.com/showthread.php?t=17504)

heartofwisdom 10-25-2005 03:13 PM

Adding line of text in Smarty
 
How do I add a line of text to a template?

In the /html/order_invoice.tpl' The "WARNING: Antifraud module is not enabled." text ishows on my Invoices. I want to put a line about returns.

I was told by cart to replace the "WARNING: Antifraud module is not enabled" message with my text to replace the substring:

{$lng.txt_warning_antifraud_disabled} with my text.

But each time I get an error. I have tried the following:

text text
{text text}
{$lng.txt_text_text}
{$lng.txt_text_text}
{$lng.txttext_text}

Any help appreciated.

balinor 10-25-2005 04:50 PM

They mean to edit the language variable and replace the text in that with your text. Click on Languages in your admin area.


All times are GMT -8. The time now is 05:59 AM.

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