one more small tip.
currently the default no. of the item in drop down is 0. so if customer click add to cart, nothing adds up. in my case i want to display slave products too so wanted them not to drop down and choose 1 or more quantities. default was set to one so if they click add to cart, one master product get added.
if they want only slave, they go to slave.
on line 191.
<?php
if ($product_info['products_price']>0) {
$qty_array = array();
for ($i=0; $n2 = (($product_info['products_quantity'] < 20) ? $product_info['products_quantity'] : 20), $i <= $n2; $i++) {
$qty_array[] = array('id' => $i, 'text' => $i);
}
?>
replace with
<?php
if ($product_info['products_price']>0) {
$qty_array = array();
for ($i=1; $n2 = (($product_info['products_quantity'] < 20) ? $product_info['products_quantity'] : 20), $i <= $n2; $i++) {
$qty_array[] = array('id' => $i, 'text' => $i);
}
?>