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)
-   -   SKU in Product Title - Which template? (https://forum.x-cart.com/showthread.php?t=8537)

balinor 07-19-2004 10:41 AM

SKU in Product Title - Which template?
 
Hi all, just installed the shiny new version 4.0.0, and so far only a few bugs from my end. One thing that is driving me nuts though: on the product detail page, the title of the product is showing up with the SKU (actually the X-cart generated sku, not the one you input) at the end of it. So my product title appears as "Product Title #5" instead of just "Product Title". In the Related Products links below, same thing, just reversed: "#5 Product Title".

Anyone know which template this lives in? I can't seem to track it down. Even the smarty tag for the SKU would be helpful. Thanks!

Jon 07-19-2004 04:00 PM

I don't recall for sure, I think you need to edit the product.php file to pull .product instead of .producttitle in the mysql select statement.

laureon 07-19-2004 05:57 PM

Hello,

If you open 'product.tpl' from skin1/customer/main directory. Find:

Code:

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

replace
Code:

$product.producttitle
with
Code:

product.product

That will avoid the sku appearing after the product title.

HTH

balinor 07-19-2004 06:26 PM

BEAUTIFUL! Thanks Laureon! Now that I know what I am looking for, I managed to remove it in the Related products template as well (/modules/Upselling_Products/related_products.tpl if anyone else wanted to know)

Don't know what I would do without this forum! :)


All times are GMT -8. The time now is 06:35 PM.

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