X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Remove id number from product name? (https://forum.x-cart.com/showthread.php?t=11153)

mcdoug 12-28-2004 12:58 PM

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

rjcbear 12-28-2004 02:00 PM

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

mcdoug 12-28-2004 02:16 PM

Thanks
 
many thanks, ricky
exactly what I wanted
Doug

rjcbear 12-28-2004 04:04 PM

Re: Thanks
 
Quote:

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


Glad I can help,

Kind regards,
Ricky

ThoroughWeb 01-25-2005 06:17 AM

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

Thanks

redback 01-25-2005 07:31 AM

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.

otterhound 01-27-2005 08:45 AM

Make topic sticky
 
This thread should be made stickly. I bet a lot of people have this question.

balinor 01-27-2005 09:07 AM

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 ;)

otterhound 01-27-2005 09:14 AM

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

balinor 01-27-2005 09:15 AM

:D


All times are GMT -8. The time now is 09:41 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.