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

Product name on Product page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-24-2005, 12:31 PM
  STORed's Avatar 
STORed STORed is offline
 

Advanced Member
  
Join Date: Sep 2005
Posts: 69
 

Default Product name on Product page

I need to include product name on product page. Currentyl there is one via dialog but I actually need to include it in the product page code. The code below doesn't work...

Code:
{$title}
__________________
Thanks.

X-Cart Gold 4.0.14 on Linux
Reply With Quote
  #2  
Old 09-24-2005, 12:46 PM
 
Mr Bob Mr Bob is offline
 

Senior Member
  
Join Date: Jul 2005
Posts: 199
 

Default

Have you tried {$product.title} or {$product.producttitle}

Usually on the product page, you call things by $product.name
__________________
Product: X-Cart Gold
Current version: 4.0.14

Additional Mods: X-Affiliate
Reply With Quote
  #3  
Old 09-24-2005, 12:47 PM
  STORed's Avatar 
STORed STORed is offline
 

Advanced Member
  
Join Date: Sep 2005
Posts: 69
 

Default

Got it:

Code:
$product.product
__________________
Thanks.

X-Cart Gold 4.0.14 on Linux
Reply With Quote
  #4  
Old 09-24-2005, 12:48 PM
 
Mr Bob Mr Bob is offline
 

Senior Member
  
Join Date: Jul 2005
Posts: 199
 

Default

Actually it is $product.producttitle

I just tried it since I am editing product.tpl
__________________
Product: X-Cart Gold
Current version: 4.0.14

Additional Mods: X-Affiliate
Reply With Quote
  #5  
Old 09-24-2005, 01:33 PM
  STORed's Avatar 
STORed STORed is offline
 

Advanced Member
  
Join Date: Sep 2005
Posts: 69
 

Default

It works both ways for me.
__________________
Thanks.

X-Cart Gold 4.0.14 on Linux
Reply With Quote
  #6  
Old 09-24-2005, 08:54 PM
 
Mr Bob Mr Bob is offline
 

Senior Member
  
Join Date: Jul 2005
Posts: 199
 

Default

Using $product.product will display the product title
Using $product.productitle will display the product title PLUS the nasty product number

I've switched mine over to $product.product
__________________
Product: X-Cart Gold
Current version: 4.0.14

Additional Mods: X-Affiliate
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 09:58 AM.

   

 
X-Cart forums © 2001-2020