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)
-   -   Hide Weight (https://forum.x-cart.com/showthread.php?t=53867)

vw_airkooled 05-23-2010 02:53 PM

Hide Weight
 
Hello, I would like to hide the weight under the item details on each item. Thank you for the help

Shamun 05-23-2010 03:08 PM

Re: Hide Weight
 
You can look in customer/main/product.tpl then find this:

Code:

          {if $product.weight ne "0.00" || $variants ne ''}
            <tr id="product_weight_box">
                <td class="property-name">{$lng.lbl_weight}</td>
                <td class="property-value">
                <span id="product_weight">{$product.weight|formatprice}</span> {$config.General.weight_symbol}
              </td>
            </tr>
          {/if}


and change it to

Code:

{*
          {if $product.weight ne "0.00" || $variants ne ''}
            <tr id="product_weight_box">
                <td class="property-name">{$lng.lbl_weight}</td>
                <td class="property-value">
                <span id="product_weight">{$product.weight|formatprice}</span> {$config.General.weight_symbol}
              </td>
            </tr>
          {/if}
*}


vw_airkooled 05-25-2010 03:06 PM

Re: Hide Weight
 
Quote:

Originally Posted by Tal
You can look in customer/main/product.tpl then find this:

Code:

          {if $product.weight ne "0.00" || $variants ne ''}
            <tr id="product_weight_box">
                <td class="property-name">{$lng.lbl_weight}</td>
                <td class="property-value">
                <span id="product_weight">{$product.weight|formatprice}</span> {$config.General.weight_symbol}
              </td>
            </tr>
          {/if}


and change it to

Code:

{*
          {if $product.weight ne "0.00" || $variants ne ''}
            <tr id="product_weight_box">
                <td class="property-name">{$lng.lbl_weight}</td>
                <td class="property-value">
                <span id="product_weight">{$product.weight|formatprice}</span> {$config.General.weight_symbol}
              </td>
            </tr>
          {/if}
*}



Thanks! works perfectly!


All times are GMT -8. The time now is 07:38 AM.

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