Hey,
When display type for the show_quantity_box is set to hide, the text for quantity is still shown.
In the ps_product_attribute.php file move the code:
//Determine if label to be used
$html = "";
if(!$child) {
$html ="<label for=\"quantity$prod_id\" class=\"quantity_box\">".$VM_LANG->_PHPSHOP_CART_QUANTITY.": </label>";
}
below:
//Start output of quantity
//Check for incompatabilities and reset to normal
if(!@$display_type || (@$display_type == "hide" && $child == 'Y') || (@$display_type == "radio" && $child == 'YM') || (@$display_type == "radio" && !$child)) {
$display_type = "none";
}
and change it to read:
//Determine if label to be used
$html = "";
if(!$child && $display_type != 'hide') {
$html ="<label for=\"quantity$prod_id\" class=\"quantity_box\">".$VM_LANG->_PHPSHOP_CART_QUANTITY.": </label>";
}
Regards,
RolandD
Q&T note; Tracker URL http://virtuemart.net/index.php?do=details&task_id=1465&option=com_flyspray&Itemid=91&option=com_flyspray&Itemid=91