View Single Post
  #1  
Old 03-05-2011, 08:40 PM
 
ppbjgpjge ppbjgpjge is offline
 

Advanced Member
  
Join Date: Dec 2010
Posts: 53
 

Cool Commenting Out Weight (easy question)

I want to remove the weight from being seen on my storefront, but still use it for shipping. It looks like through a search of these forums that commenting that out of my product_details.tpl file is the best way to go.

However, I've tried a couple of different ways and it's not working.

I'm guessing this is the code I need to comment out:
Code:
{if $product.weight ne "0.00" or $variants ne ''} <tr id="product_weight_box"{if $product.weight eq '0.00'} style="display: none;"{/if}> <td class="property-name">{$lng.lbl_weight}</td> <td class="property-value" colspan="2"> <span id="product_weight">{$product.weight|formatprice}</span> {$config.General.weight_symbol} </td> </tr> {/if}

I've put // in front of every line, but that just gives me a whole bunch of // on my template page. Ditto for /* */ bracketing the code.

Silly question, I know, but can someone help? Thanks!
__________________
X-Cart 4.4.1
add'l mods - Download expander
Reply With Quote