Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Adding SKU to Product detail

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-24-2009, 06:24 PM
 
Miket Miket is offline
 

Senior Member
  
Join Date: Jun 2006
Posts: 106
 

Default 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?
__________________
Mike
X-Cart version 4.1.0
PHP 4.4.2
MySQL server 4.1.19
Web server Apache
Operation system Linux
Reply With Quote
  #2  
Old 01-24-2009, 06:25 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default 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?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 01-24-2009, 06:35 PM
 
Miket Miket is offline
 

Senior Member
  
Join Date: Jun 2006
Posts: 106
 

Default 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.
__________________
Mike
X-Cart version 4.1.0
PHP 4.4.2
MySQL server 4.1.19
Web server Apache
Operation system Linux
Reply With Quote
  #4  
Old 01-24-2009, 06:37 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default 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>
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 01-24-2009, 06:55 PM
 
Miket Miket is offline
 

Senior Member
  
Join Date: Jun 2006
Posts: 106
 

Default 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?
__________________
Mike
X-Cart version 4.1.0
PHP 4.4.2
MySQL server 4.1.19
Web server Apache
Operation system Linux
Reply With Quote
  #6  
Old 01-24-2009, 06:58 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Adding SKU to Product detail

customer/main/product.tpl

FYI: http://forum.x-cart.com/showthread.php?t=21529
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 01-24-2009, 07:24 PM
 
Miket Miket is offline
 

Senior Member
  
Join Date: Jun 2006
Posts: 106
 

Default 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.
__________________
Mike
X-Cart version 4.1.0
PHP 4.4.2
MySQL server 4.1.19
Web server Apache
Operation system Linux
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:14 PM.

   

 
X-Cart forums © 2001-2020