ross.fraser Posted July 15, 2010 Share Posted July 15, 2010 Hi GuysI need to display the weight of my products in the product page.If I use {$product->weight} it ignores the value of 'impact on weight' and displays the base weight of the product.Is there a global variable that holds the combined weight?ThanksRoss Link to comment Share on other sites More sharing options...
rocky Posted July 16, 2010 Share Posted July 16, 2010 No, there is no global variable that holds the combined weight. It doesn't look easy to do either. The weight isn't included in the combination information passed into js/product.js. You'll need to modify product.php to add that information, then calcluate the total weight in a similar way that the price is calculated. Link to comment Share on other sites More sharing options...
Vanger Posted December 14, 2013 Share Posted December 14, 2013 how to get the {$ product-> weight} to the product, taking into account the attributes of chosen? Link to comment Share on other sites More sharing options...
Recommended Posts