![]() |
Re: Weight removing from product page
Is this still an issue with 4.1.x? I need to do the same... I don't want weight appearing in the description.
|
Re: Weight removing from product page
use html commenting and it works
<!---{if $product.weight ne "0.00" || $variants ne ''} <tr id="product_weight_box"> <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} --> |
Re: Weight removing from product page
I'd love to know how to make the Weight listings disappear on the product pages in Version 4.3. I can't seem to figure it out!
Can anyone help? Thank you! |
Re: Weight removing from product page
The file is skin1/customer/main/product_details.tpl and the code to comment out
{if $product.weight ne "0.00" || $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} |
Re: Weight removing from product page
Perfect! Thank you VERY much!
|
Re: Weight removing from product page
balinor to the rescue. this works in pro 4.1.9. thanks sir!
Quote:
|
Re: Weight removing from product page
Thx !
Works fine with X-Cart 4.4.1 Quote:
|
Re: Weight removing from product page
will this work on 4.4.3?
|
Re: Weight removing from product page
Yes but use smarty comments not html comments - {* code here *}
|
Re: Weight removing from product page
I'm sorry newbie..can you show me?
|
All times are GMT -8. The time now is 05:41 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.