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)
-   -   Removed SKU from File Accidentally (https://forum.x-cart.com/showthread.php?t=59388)

Sinful Wicked 05-17-2011 12:06 PM

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

cflsystems 05-18-2011 04:51 AM

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>


Sinful Wicked 05-18-2011 05:00 AM

Re: Removed SKU from File Accidentally
 
where exactly should i place it as i am confused.lol

Sinful Wicked 05-18-2011 05:16 AM

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

cflsystems 05-18-2011 05:43 AM

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

Sinful Wicked 05-18-2011 06:09 AM

Re: Removed SKU from File Accidentally
 
thank you so much x


All times are GMT -8. The time now is 11:00 PM.

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