Author Topic: [BUG FIX] unit product paramater not showing in front end  (Read 2382 times)

beipink

  • Jr. Member
  • **
  • Posts: 78
[BUG FIX] unit product paramater not showing in front end
« on: December 02, 2009, 14:42:08 pm »
this bug seems to have been introduced with VM 1.1.4
file to modify:
components/com_virtuemart/themes/default/templates/common/product_type.tpl.php

find the line:
Code: [Select]
if ( !empty($product_type_params["unit"] ) ) {
echo " ".$product_type_params["unit"];

and change it to:
Code: [Select]
if ( !empty($product_type_params["parameter_unit"] ) ) {
echo " ".$product_type_params["parameter_unit"];