Thread: removing weight
View Single Post
  #6  
Old 02-09-2008, 10:17 AM
 
Acquamarina Acquamarina is offline
 

X-Adept
  
Join Date: Aug 2006
Location: USA
Posts: 811
 

Default Re: removing weight

Ok, I just got an answer form x-cart for the solution on 4.1.9 and here it is:

In order to have the weight removed from the product description page but still be calculated for the shipping you need to modify the "skin1/customer/main/product.tpl" on your server.

Find this code:

----CODE----

{if $product.weight ne "0.00" || $variants ne ''}<tr><td width="30%">{$lng.lbl_weight}</td><td nowrap="nowrap"><span id="product_weight">{$product.weight|formatprice}< /span> {$config.General.weight_symbol}</td></tr>{/if}

----CODE----

and change it to this one:

----CODE----

{*if $product.weight ne "0.00" || $variants ne ''}<tr><td width="30%">{$lng.lbl_weight}</td><td nowrap="nowrap"><span id="product_weight">{$product.weight|formatprice}< /span> {$config.General.weight_symbol}</td></tr>{/if*}

----CODE----

You can also change the code in your Admin area in the "Edit templates" section by following this route "customer ->main -> product.tpl" and perform the above mentioned change there.

Please, note that the incorrect changing of the templates code may lead to an incorrect display of the page.

Hope this can help someone else. It's easy - even I got it to work.
__________________
Vera B
4.4.5
CFLSystems.com mods, Kosmos eBay Integration, Feed Manager Pro, custom mods, BCSEngineering Mods, CDSEO PRO
Hosting by EWDHosting - The best home for your x-cart.
Reply With Quote