RE: one product; multiple quantity categories
orchard <[email protected]>
| Newsgroups | gmane.comp.web.oscommerce.features |
|---|---|
| Message-ID | <dcca85432b1925539f5a46053e97e5ed@osCommerce-Forums> |
This message was sent from: Features
http://forums.oscommerce.com/viewtopic.php?p=160078#160078
----------------------------------------------------------------
I suppose it would help to mention that the code goes in product_info.php[code] echo tep_draw_pull_down_menu('id[' . $products_options_name['products_options_id'] . ']', $products_options_array, $cart->contents[$HTTP_GET_VARS['products_id']]['attributes'][$products_options_name['products_options_id']]);
echo '</td></tr>';
}
echo '</table>';
}
// INSERT CODE HERE
?>
</td>
</tr>
<?php
$reviews = tep_db_query("select count(*) as count from " . TABLE_REVIEWS . " where products_id = '" . $HTTP_GET_VARS['products_id'] . "'");[/code]