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

How do I show the product ID after product title in 4.1.8

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-29-2007, 04:58 PM
 
concepts concepts is offline
 

Senior Member
  
Join Date: Nov 2003
Posts: 104
 

Default How do I show the product ID after product title in 4.1.8

How can I show the product ID# after the product title like it used to show in the 3.5 version?

Looking for a mod to

{include file="dialog.tpl" title=$product.producttitle content=$smarty.capture.dialog extra='width="100%"'}
__________________
4.1.8
Xcart
Reply With Quote
  #2  
Old 08-29-2007, 05:59 PM
 
inebriate inebriate is offline
 

eXpert
  
Join Date: May 2006
Posts: 301
 

Default Re: How do I show the product ID after product title in 4.1.8

change it to

{include file="dialog.tpl" title="`$product.producttitle` : `$product.productid`" content=$smarty.capture.dialog extra='width="100%"'}


you can change the colon to whatever you want to use as a seperator
__________________
x-cart pro 4.0.18
linux
www.fabric8d.com (currently undergoing construction)
Reply With Quote
  #3  
Old 08-30-2007, 01:36 PM
 
concepts concepts is offline
 

Senior Member
  
Join Date: Nov 2003
Posts: 104
 

Default Re: How do I show the product ID after product title in 4.1.8

Thanks
__________________
4.1.8
Xcart
Reply With Quote
  #4  
Old 08-31-2007, 02:15 PM
  shipmerchant's Avatar 
shipmerchant shipmerchant is offline
 

eXpert
  
Join Date: Mar 2005
Posts: 361
 

Wink Re: How do I show the product ID after product title in 4.1.8

Quote:
Originally Posted by inebriate
change it to

{include file="dialog.tpl" title="`$product.producttitle` : `$product.productid`" content=$smarty.capture.dialog extra='width="100%"'}


you can change the colon to whatever you want to use as a seperator


Where exactly does this go? This newer version is driving my patience, somewhat but its still fun.
__________________
Mil Mascaras
Live Xcart Site #1-V- 4.1.8
Live Xcart site # 2-V 4.4.3
CDSEO Mod - Firetank MM30 - 7DANA- The bestTemplates!
Linux - EWD Host Servers awesome service!
AlteredCart One Page Checkout
Reply With Quote
  #5  
Old 09-03-2007, 10:42 AM
 
MoonDog MoonDog is offline
 

Advanced Member
  
Join Date: Aug 2007
Posts: 93
 

Default Re: How do I show the product ID after product title in 4.1.8

Try:

skin1/customer/main/product.tpl
skin1/main/product.tpl
and
skin1/admin/main/product_links.tpl

all three files has the line:

Code:
{include file="dialog.tpl" title=$product.producttitle content=$smarty.capture.dialog extra='width="100%"'}

Just replace it exactly with inebriate's code.

Code:
{include file="dialog.tpl" title="`$product.producttitle` : `$product.productid`" content=$smarty.capture.dialog extra='width="100%"'}

I tried the first product.tpl file and it worked ok when viewing the product page.
Haven't tried the other two yet.

- MoonDog -
__________________
X-CART Gold v4.1.8
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 12:36 AM.

   

 
X-Cart forums © 2001-2020