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

Removed SKU from File Accidentally

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-17-2011, 12:06 PM
 
Sinful Wicked Sinful Wicked is offline
 

Member
  
Join Date: May 2011
Posts: 16
 

Smile Removed SKU from File Accidentally

Hi all this is not good for me as i removed from the product.tpl file the SKU information to be shown on my main product description and i need to replace it again but i dont know how to do it or where to put it to be honest so can anyone help

Many thanks
__________________
Testing X-cart/Lite Commerce 4.4.4
Reply With Quote
  #2  
Old 05-18-2011, 04:51 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Removed SKU from File Accidentally

It goes in product_details.tpl
Code:
<tr> <td class="property-name">{$lng.lbl_sku}</td> <td class="property-value" id="product_code" colspan="2">{$product.productcode|escape}</td> </tr>
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 05-18-2011, 05:00 AM
 
Sinful Wicked Sinful Wicked is offline
 

Member
  
Join Date: May 2011
Posts: 16
 

Default Re: Removed SKU from File Accidentally

where exactly should i place it as i am confused.lol
__________________
Testing X-cart/Lite Commerce 4.4.4
Reply With Quote
  #4  
Old 05-18-2011, 05:16 AM
 
Sinful Wicked Sinful Wicked is offline
 

Member
  
Join Date: May 2011
Posts: 16
 

Default Re: Removed SKU from File Accidentally

i have done this and it still wont show on the page so not sure what i am doing now
__________________
Testing X-cart/Lite Commerce 4.4.4
Reply With Quote
  #5  
Old 05-18-2011, 05:43 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Removed SKU from File Accidentally

Make sure you add it to product_details.tpl in the skin you are using (if one exists there, if not in common_files then).
Make sure to run cleanup.php
Make sure "show sku" is checked in admin settings
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #6  
Old 05-18-2011, 06:09 AM
 
Sinful Wicked Sinful Wicked is offline
 

Member
  
Join Date: May 2011
Posts: 16
 

Default Re: Removed SKU from File Accidentally

thank you so much x
__________________
Testing X-cart/Lite Commerce 4.4.4
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 06:22 AM.

   

 
X-Cart forums © 2001-2020