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

Removing "|amp" from tpl file

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-20-2010, 01:43 PM
 
AMMoyer AMMoyer is offline
 

Senior Member
  
Join Date: Nov 2008
Posts: 150
 

Default 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.
__________________
Adam
X-Cart Gold 4.4.5 - Live
X-Cart Gold 4.1.11 - Retired
X-Payments 1.0.4
CDSEO Pro
EWD Hosting
Reply With Quote
  #2  
Old 08-20-2010, 02:35 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Removing "|amp" from tpl file

amp converts "&" to "&"
You can remove it if you want to. It will affect only the code validation
__________________
Steve Stoyanov
CFLSystems.com
Web Development
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 10:11 AM.

   

 
X-Cart forums © 2001-2020