View Single Post
  #4  
Old 11-17-2005, 08:17 AM
 
Realsecurity Realsecurity is offline
 

Senior Member
  
Join Date: Apr 2005
Location: Bexhill
Posts: 128
 

Default

Tried this mode above, and still displays the weight and g symbol, found another topic for removing the weight on the page and this lead to SMARTY FATAL errors, below is now a modified script on the PRODUCT.TPL file, by the way this is located in SKIN1/CUSTOMER/MAIN as some of you might find its saves searching your directory for the file......

MAKE copy of the file first Product.tpl, then:

Find in your Product.tpl file the code below:

if $product.weight ne "0.00"}<TR><TD width="30%">{$lng.lbl_weight}</TD><TD nowrap><SPAN id="product_weight">{$product.weight}</SPAN>{$config.General.weight_symbol}</TD></TR>{/if}

and replace with:

if $product.weight ne "0.00"}<TR><TD width="30%">{*$lng.lbl_weight*}</TD><TD nowrap><SPAN id="product_weight">{*$product.weight*}</SPAN>{*$config.General.weight_symbol*}</TD></TR>{/if}

This will then REMOVE the word Weight, REMOVE the Number in weight and REMOVE the symbol weight g or Kg lb etc.....

Hope this helps, spent many hours searching for a solution in the end messed around with the script me self.

Version i have is 4.0.13
__________________
SURECOM XCART V4.1.8
Reply With Quote