![]() |
Product Number in Title
Okay, since my last thread has somehow vanished, I'll ask again.
When you look at the Product Details page after the title of the product the Product Number/ID appears, as pictured in the screenshot below: http://www.asianbeads.com/screenshot1.gif I have narrowed this to being defined by the following: Code:
{if $product.product_type eq "C"} However, this directory, nor this file exist on the server. So I'm as lost as they come. If anyone could at least point me in the right direction, as to where I can find and get rid of this item number in the title I'd appreciate it. Thanks in advance. |
That bit of code you have posted checks to see if you have a "configurable product" which uses the configurator add-on so I doubt it is generating your product number listing.
It appears as though this is the code to display the product code/sku {$products[product].productcode} but I can't find it in the product.tpl file so it must be part of an included file within the page. You may have to dig around for it a bit. I'm new to X-Cart so I can't give you much more direction |
Alright, I thought that as well, but here is the top part of the product.tpl file:
Code:
{* $Id: product.tpl,v 1.78.2.4 2004/02/27 13:47:00 mclap Exp $ *} It has to be defined somewhere here I would think. But I don't know what's going on. |
Actually, here is what you want to do.
Replace this: Code:
{include file="dialog.tpl" title=$product.producttitle content=$smarty.capture.dialog extra="width=100%"} With this: Code:
{include file="dialog.tpl" title=$product.product content=$smarty.capture.dialog extra="width=100%"} That should take care of it for you :) |
That's awesome! Thank you so much! :D
--Adam |
All times are GMT -8. The time now is 02:20 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.