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

How to display main sku on product page instead of variant SKU

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-30-2012, 09:31 AM
 
naemsmommy naemsmommy is offline
 

Senior Member
  
Join Date: Jul 2007
Posts: 144
 

Default How to display main sku on product page instead of variant SKU

We want to only display the main sku on the product page for products with variants. Right now, the sku changes every time a variant is selected. I've searched the forum but couldn't find a solution. We are using X-Cart Gold v4.4.5.

Thank you.
__________________
Danielle
Reply With Quote
  #2  
Old 11-30-2012, 06:41 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: How to display main sku on product page instead of variant SKU

This behavior is controlled by func.js in skin/common_files/modules/ Product_Options. You can also modify product_details.tpl and take out the id from the $product.productcode line as the js code is looking for it to replace with variant sku
__________________
Steve Stoyanov
CFLSystems.com
Web Development
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 04:03 AM.

   

 
X-Cart forums © 2001-2020