![]() |
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? |
In skin1/customer/product.tpl look for $product.producttitle and change it to $product.product
|
Thanks! Time to buy from firetank software!
|
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. |
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. |
Quote:
|
Thank you, this has been driving me crazy
|
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 |
customer/main/product.tpl is the correct place.
|
Quote:
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.