![]() |
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 |
Re: Remove id number from product name?
Quote:
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
many thanks, ricky
exactly what I wanted Doug |
Re: Thanks
Quote:
Glad I can help, Kind regards, Ricky |
Sku & Product ID
Is there a way to force the product ID to match a user defined SKU?
Thanks |
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. |
Make topic sticky
This thread should be made stickly. I bet a lot of people have this question.
|
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 ;) |
Quote:
Fair enough |
:D
|
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 |
Well that is an entirely different question :) Why do you need them to match?
|
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 |
Might be easier to change the e-mail to list the SKU :)
|
Re: Remove id number from product name?
Quote:
Thanks rjcbear... This was a great help |
Glad I could help.
Regards, Ricky |
Re: Make topic sticky
Quote:
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... |
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 |
Quote:
Did you ever find a solution for this? I want to do the same thing. JK |
Quote:
I found it here: In modules/Product_Configurator/pconf_customer_product.tpl Replace: Quote:
-with- Quote:
And for the "Steps" section: In modules/Product_Configurator/pconf_customer_step.tpl replace: Quote:
-with- Quote:
JK |
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? |
change $product.product to $product.productcode
|
Anybody know how to add the ProductCode to the details section of products?
ie... below or above the price? |
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> |
hhmmmmm unable to find:
modules/Product_Configurator/pconf_customer_step.tpl |
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 |
Quote:
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... :( |
Quote:
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.