VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Virtuemart 1.1 Development (Archiv) => Quality & Testing VirtueMart 1.1.x => Topic started by: beipink on December 02, 2009, 14:42:08 PM

Title: [BUG FIX] unit product paramater not showing in front end
Post by: beipink 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:
if ( !empty($product_type_params["unit"] ) ) {
echo " ".$product_type_params["unit"];


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