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

Remove id number from product name?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-28-2004, 12:58 PM
 
mcdoug mcdoug is offline
 

Member
  
Join Date: Dec 2004
Location: weaverville, nc
Posts: 13
 

Default Remove id number from product name?

How do I remove the id number from my product title in the detail pages.
Current display is: "product name #xxxxxxxx"
I want: "product name"

What do I remove from which file(s)?

I notice that if I let xcart set the SKU's for me the id number seems to match the SKU, but if I change my SKU's, the id doesn't change with them. Seems odd.

Thanks.
McDoug
__________________
X-Cart Gold v4.1.10(unix) Live
X-AOM
X-RMA
http://highlandleather.com
Reply With Quote
  #2  
Old 12-28-2004, 02:00 PM
  rjcbear's Avatar 
rjcbear rjcbear is offline
 

X-Adept
  
Join Date: Jun 2004
Location: Alabama,U.S.A
Posts: 503
 

Default Re: Remove id number from product name?

Quote:
Originally Posted by mcdoug
How do I remove the id number from my product title in the detail pages.
Current display is: "product name #xxxxxxxx"
I want: "product name"

What do I remove from which file(s)?

I notice that if I let xcart set the SKU's for me the id number seems to match the SKU, but if I change my SKU's, the id doesn't change with them. Seems odd.

Thanks.
McDoug


Open /skin1/customer/main/product.tpl and look for this line (near the bottom):

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

Change it to:

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


I hope this will help you

Kind regards,
Ricky
__________________
X-CART Gold version 4.0.14 & 4.1.11
Apache Version 1.3.29 (Unix)
EWDHosting-Quality X-cart Hosting
We will always sell you the right shoe and the left one is free.
Reply With Quote
  #3  
Old 12-28-2004, 02:16 PM
 
mcdoug mcdoug is offline
 

Member
  
Join Date: Dec 2004
Location: weaverville, nc
Posts: 13
 

Default Thanks

many thanks, ricky
exactly what I wanted
Doug
__________________
X-Cart Gold v4.1.10(unix) Live
X-AOM
X-RMA
http://highlandleather.com
Reply With Quote
  #4  
Old 12-28-2004, 04:04 PM
  rjcbear's Avatar 
rjcbear rjcbear is offline
 

X-Adept
  
Join Date: Jun 2004
Location: Alabama,U.S.A
Posts: 503
 

Default Re: Thanks

Quote:
Originally Posted by mcdoug
many thanks, ricky
exactly what I wanted
Doug

Glad I can help,

Kind regards,
Ricky
__________________
X-CART Gold version 4.0.14 & 4.1.11
Apache Version 1.3.29 (Unix)
EWDHosting-Quality X-cart Hosting
We will always sell you the right shoe and the left one is free.
Reply With Quote
  #5  
Old 01-25-2005, 06:17 AM
 
ThoroughWeb ThoroughWeb is offline
 

Member
  
Join Date: Nov 2004
Posts: 23
 

Default Sku & Product ID

Is there a way to force the product ID to match a user defined SKU?

Thanks
__________________
Robin Flanigan
X-cart Gold for Canada 4.0
Reply With Quote
  #6  
Old 01-25-2005, 07:31 AM
 
redback redback is offline
 

Advanced Member
  
Join Date: Jul 2004
Location: Australia
Posts: 34
 

Default

Thanks I was looking for this PLUS, I want to replace the Product ID with the SKU, in the same spot. Could you please help me.
Thank you.
__________________
Thank you in advance.


Redback
X-Cart Gold - using version 4.0.10 w/ custom mods.
Reply With Quote
  #7  
Old 01-27-2005, 08:45 AM
 
otterhound otterhound is offline
 

Newbie
  
Join Date: Jan 2005
Posts: 6
 

Default Make topic sticky

This thread should be made stickly. I bet a lot of people have this question.
Reply With Quote
  #8  
Old 01-27-2005, 09:07 AM
 
balinor balinor is offline
 

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

Default

This question has been answered hundreds of times already. No one bothers to search the forum before asking

And otterhound, you should read some stickies...particularly the one that instructs you to put your x-cart version in your signature
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #9  
Old 01-27-2005, 09:14 AM
 
otterhound otterhound is offline
 

Newbie
  
Join Date: Jan 2005
Posts: 6
 

Default

Quote:
Originally Posted by balinor
And otterhound, you should read some stickies...particularly the one that instructs you to put your x-cart version in your signature

Fair enough
__________________
http://bennettsforms.com
x-cart-3.5.14gold
Mandrake Linux 10.1
PHP 4.3.8
Apache 2.0.50
Reply With Quote
  #10  
Old 01-27-2005, 09:15 AM
 
balinor balinor is offline
 

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

Default

__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce 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 02:58 AM.

   

 
X-Cart forums © 2001-2020