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

ProductID removal

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-05-2004, 11:43 AM
 
digitnetworks digitnetworks is offline
 

Member
  
Join Date: May 2004
Posts: 10
 

Default ProductID removal

I'm looking to remove the productid to the right of the productcode when displaying the details of a product.

Does anyone know which file this is built from?
Reply With Quote
  #2  
Old 06-05-2004, 11:50 AM
  groovico's Avatar 
groovico groovico is offline
 

X-Man
  
Join Date: Apr 2003
Location: Firetanksoftware.com
Posts: 2,326
 

Default

In skin1/customer/product.tpl look for $product.producttitle and change it to $product.product
__________________
Groovico

Used by X-carters the world over:
Marketing Manager Pro Bundle For X-cart
Featured Product Manager for X-cart
Feed manager pro for X-cart

http://www.firetanksoftware.com

Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X
Reply With Quote
  #3  
Old 06-05-2004, 01:53 PM
 
digitnetworks digitnetworks is offline
 

Member
  
Join Date: May 2004
Posts: 10
 

Default

Thanks! Time to buy from firetank software!
Reply With Quote
  #4  
Old 06-05-2004, 07:36 PM
  kpayne's Avatar 
kpayne kpayne is offline
 

X-Adept
  
Join Date: Dec 2002
Location: Firetanksoftware.com
Posts: 469
 

Default

Or, if you also need the SKU in there, you can change $product.producttitle to "$product.product - $product.productcode"

I've got a client who has clients regularly call up and ask for things by their SKU numbers and enter SKUs into the search engines too.
__________________
X-cart Featured Products Manager from http://www.firetanksoftware.com - Put your products where you want, how you want.
Reply With Quote
  #5  
Old 06-27-2005, 01:05 PM
 
levrik levrik is offline
 

Member
  
Join Date: Feb 2003
Posts: 11
 

Default

kpayne - I tried what you said but it started spitting out "array.product array.productcode" instead of the correct values.

I'm using Version 3.5.14 - any ideas? (I can get just product.product and just product.productcode to work fine - not both of them together though.)

I think it's with the way the line "$product.product - $product.productcode" is being interpreted - the variables aren't getting parsed. I tried a few ways without the quotes to get it to work, but all of a sudden my product descriptions disappeared.
__________________
---
4.1.10
Reply With Quote
  #6  
Old 06-30-2005, 10:02 PM
 
Falkayn Falkayn is offline
 

Newbie
  
Join Date: Jun 2005
Location: Sydney, Australia
Posts: 4
 

Default

Quote:
Originally Posted by groovico
In skin1/customer/product.tpl look for $product.producttitle and change it to $product.product
Beautiful, worked a treat for me too!
__________________
Angus McDonald
Snowy Software
X-Cart v4.0.13 [Linux/Zeus]
Reply With Quote
  #7  
Old 02-17-2006, 09:34 AM
 
khchin22 khchin22 is offline
 

Newbie
  
Join Date: Feb 2006
Posts: 1
 

Default

Thank you, this has been driving me crazy
__________________
Kelvin Chin
www.doorandwindowplus.com/xcart
X-Cart version 4.0.17
Reply With Quote
  #8  
Old 02-22-2006, 03:10 PM
 
rcg rcg is offline
 

Member
  
Join Date: Mar 2005
Posts: 18
 

Default

Why does my x-cart directory look different?

I really want to sub the ID for the SKU but I cannot find the example in the file.

$product.producttitle

I was looking in customer/main/product.tpl

I have no customer/product.tpl

Thanks
__________________
X-Cart GOLD 4.0.17
Affiliate
RMA
AOM
Configurator
---
PHP 4.4.2
MYSQL 4.1.21
Reply With Quote
  #9  
Old 02-22-2006, 04:58 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

customer/main/product.tpl is the correct place.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #10  
Old 02-23-2006, 09:00 AM
 
rcg rcg is offline
 

Member
  
Join Date: Mar 2005
Posts: 18
 

Default

Quote:
Originally Posted by kpayne
Or, if you also need the SKU in there, you can change $product.producttitle to "$product.product - $product.productcode"

I've got a client who has clients regularly call up and ask for things by their SKU numbers and enter SKUs into the search engines too.

Balinor thanks for clarification - I got the basic to work.

I'm interested in kpayne's version where the Product code would show but I get the array error as well.
__________________
X-Cart GOLD 4.0.17
Affiliate
RMA
AOM
Configurator
---
PHP 4.4.2
MYSQL 4.1.21
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:04 AM.

   

 
X-Cart forums © 2001-2020