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)
-   -   Removing "|amp" from tpl file (https://forum.x-cart.com/showthread.php?t=55174)

AMMoyer 08-20-2010 01:43 PM

Removing "|amp" from tpl file
 
I have the trademark symbol used on several products. They are entered as Productname™ and the trademark works fine except when it shows up in the related product template.

In related_product.tpl at the end of line 8 where the related product list is generated, there is this bit of code:

{$product_links[cat_num].product|amp}

Everything seems to work fine if I remove the "|amp" from the above code.

Can someone tell me why I cannot remove this without issue or why it is there?

Thank you.

cflsystems 08-20-2010 02:35 PM

Re: Removing "|amp" from tpl file
 
amp converts "&" to "&"
You can remove it if you want to. It will affect only the code validation


All times are GMT -8. The time now is 02:37 PM.

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