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)
-   -   Adding SKU to Product detail (https://forum.x-cart.com/showthread.php?t=45061)

Miket 01-24-2009 06:24 PM

Adding SKU to Product detail
 
I did a search but could not find any "hits"....

I need to add our part number or SKU to the product detail page. Is there a setting in admin that toggles this? i haven't fiound it....or does it have to be hard coded? If so, any tutorials?

balinor 01-24-2009 06:25 PM

Re: Adding SKU to Product detail
 
Should be there by default - or do you mean a sku other than the SKU you defined on the product detail page?

Miket 01-24-2009 06:35 PM

Re: Adding SKU to Product detail
 
Quote:

Originally Posted by balinor
Should be there by default - or do you mean a sku other than the SKU you defined on the product detail page?


Sent you a PM.

balinor 01-24-2009 06:37 PM

Re: Adding SKU to Product detail
 
Hi Mike, please keep all questions/discussion to the forum itself, not PMs. The X-Cart SKU is called on the product detail page like this:

{$product.productcode}

Make sure you didn't remove or comment that out, as it is in there by default:

<tr>
<td width="30%">{$lng.lbl_sku}</td>
<td nowrap="nowrap" id="product_code">{$product.productcode}</td>
</tr>

Miket 01-24-2009 06:55 PM

Re: Adding SKU to Product detail
 
Quote:

Originally Posted by balinor
Hi Mike, please keep all questions/discussion to the forum itself, not PMs. The X-Cart SKU is called on the product detail page like this:

{$product.productcode}

Make sure you didn't remove or comment that out, as it is in there by default:

<tr>
<td width="30%">{$lng.lbl_sku}</td>
<td nowrap="nowrap" id="product_code">{$product.productcode}</td>
</tr>


No offense but I preferred not to advertise my site on the forum.

Thanks for the response. What template would this be found in?

balinor 01-24-2009 06:58 PM

Re: Adding SKU to Product detail
 
customer/main/product.tpl

FYI: http://forum.x-cart.com/showthread.php?t=21529

Miket 01-24-2009 07:24 PM

Re: Adding SKU to Product detail
 
Quote:

Originally Posted by balinor
customer/main/product.tpl

FYI: http://forum.x-cart.com/showthread.php?t=21529


Thanks. It isn't in there from what I see....I will have to compare it to an un-altererd version to see where that code should be.


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

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