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

ThoroughWeb 02-09-2005 10:45 AM

Sku & Product ID
 
Actually, I did search, for about an hour and could find nothing telling me how to force the product ID to match a user defined SKU.

Still looking if someone can point me in the right direction please.

Thanks

balinor 02-09-2005 10:54 AM

Well that is an entirely different question :) Why do you need them to match?

ThoroughWeb 02-10-2005 03:16 AM

Products # & SKU
 
Well basically, we want them to match for ease of product tracking. My customer has assigned SKUs for all of her products but if she gets an email that someone is interested in a certain product, the email lists product # and not the SKU which she finds confusing.

She just decided that she would like them to be the same so I am wondering if it's doable.

Thanks for any help

balinor 02-10-2005 03:22 AM

Might be easier to change the e-mail to list the SKU :)

logoworks 04-25-2005 08:23 AM

Re: Remove id number from product name?
 
Quote:

Originally Posted by rjcbear
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


Thanks rjcbear... This was a great help

rjcbear 04-25-2005 09:15 AM

Glad I could help.

Regards,
Ricky

akiragraphics 04-26-2005 06:32 AM

Re: Make topic sticky
 
Quote:

Originally Posted by otterhound
This thread should be made stickly. I bet a lot of people have this question.


Good advise. I agree!

This thread helped me out too. Thanks rjcbear :D

Now I'm off to search how to take out the ITEM NUMBER in the front page featured products section...

mffowler 05-10-2005 08:38 PM

X-Cart,

Can you STOP putting the product ID in the product title? I removed it for regular products, but for the life of my, how do you remove it for X-Configurator items?

- Mike

jkwalz 06-11-2005 09:33 AM

Quote:

Originally Posted by mffowler
X-Cart,

Can you STOP putting the product ID in the product title? I removed it for regular products, but for the life of my, how do you remove it for X-Configurator items?

- Mike


Did you ever find a solution for this? I want to do the same thing.

JK

jkwalz 06-11-2005 09:37 AM

Quote:

Originally Posted by jkwalz
Quote:

Originally Posted by mffowler
X-Cart,

Can you STOP putting the product ID in the product title? I removed it for regular products, but for the life of my, how do you remove it for X-Configurator items?

- Mike


Did you ever find a solution for this? I want to do the same thing.

JK


I found it here:

In modules/Product_Configurator/pconf_customer_product.tpl

Replace:
Quote:

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

-with-

Quote:

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


And for the "Steps" section:

In modules/Product_Configurator/pconf_customer_step.tpl

replace:
Quote:

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

-with-

Quote:

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

JK

wendy.email 06-23-2005 06:18 PM

how can display sku id instead?
 
thank you for showing us how to remove product id so many times... instead i like to display sku id... i assume same place...

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

now how do i code in sku id?

balinor 06-24-2005 03:57 AM

change $product.product to $product.productcode

ReubenJLau 07-19-2005 12:19 PM

Anybody know how to add the ProductCode to the details section of products?

ie... below or above the price?

creative xpress 08-30-2005 08:59 AM

I was able to add the the product code abve the price by adding this line of code near the top of the page.

<TR><TD width="30%">{$lng.lbl_sku}</td><td>{$product.productcode}</TD></TR>

Amy 10-30-2005 12:45 PM

hhmmmmm unable to find:

modules/Product_Configurator/pconf_customer_step.tpl

jharwood 11-04-2005 10:06 PM

How might one get two fields of data to concatenate and show in the dialog header like:

Product_Category #Product_Code
eg. Shoes #100

I've tried some variations of the syntax w/o luck. Are the terms "producttitle" and "product" being established somewhere that can be added to or modified?

Thanks
John

enchanted1 11-11-2005 05:11 PM

Quote:

Originally Posted by Amy
hhmmmmm unable to find:

modules/Product_Configurator/pconf_customer_step.tpl


same here. perhaps the newer version of Xcart has a different directory &/or file name..?

this seems to be a recurring problem for me - finding good advice on the discussion board but then not being able to implement it because the file names seem to have changed or disappeared... :(

justoneguy 06-22-2006 06:56 PM

Quote:

Originally Posted by jharwood
How might one get two fields of data to concatenate and show in the dialog header like:

Product_Category #Product_Code
eg. Shoes #100

I've tried some variations of the syntax w/o luck. Are the terms "producttitle" and "product" being established somewhere that can be added to or modified?

Thanks
John


You can change the product title in /include/func.php:

$product["producttitle"] = "$product[product] #$product[productid]";

Just change productid to productcode to get the sku in there instead of the id#


All times are GMT -8. The time now is 05:39 PM.

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