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)
-   -   ProductID removal (https://forum.x-cart.com/showthread.php?t=7952)

digitnetworks 06-05-2004 11:43 AM

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?

groovico 06-05-2004 11:50 AM

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

digitnetworks 06-05-2004 01:53 PM

Thanks! Time to buy from firetank software!

kpayne 06-05-2004 07:36 PM

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.

levrik 06-27-2005 01:05 PM

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.

Falkayn 06-30-2005 10:02 PM

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!

khchin22 02-17-2006 09:34 AM

Thank you, this has been driving me crazy

rcg 02-22-2006 03:10 PM

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

balinor 02-22-2006 04:58 PM

customer/main/product.tpl is the correct place.

rcg 02-23-2006 09:00 AM

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.


All times are GMT -8. The time now is 10:19 AM.

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