adding same prod with different size to ecart
Hi,
I am still having problems with the sizes.
On my server it works, if a prod does not have a size the size form does not show up, if it has a size it shows up. On the live site: it does not work.
link: signature.php This collection has rings with sizes and necklaces without.
<input type="hidden" name="megan_1_ID_Add" value="<?php echo $row_rsDetail_popheart['prodid']; ?>" />
<input type="text" name="megan_1_Quantity_Add" value="1" size="2" >
<?php if ($totalRows_rsSize > 0) { // Show if recordset not empty ?>
<label style=" margin-left:5px" >
<select name="megan_1_size_Add">
<option value="" selected>Select Size</option>
<?php
do {
?>
<option value="<?php echo $row_rsSize['size']?>"><?php echo $row_rsSize['size']?></option>
<?php
} while ($row_rsSize = mysql_fetch_assoc($rsSize));
$rows = mysql_num_rows($rsSize);
if($rows > 0) {
mysql_data_seek($rsSize, 0);
$row_rsSize = mysql_fetch_assoc($rsSize);
}}
?></select></label>
<br />
<br />
<br />
<input type="image" src="images/add_to_bag_final_300dpi2.jpg" border="0" value="Add to Cart" name="megan_1_ATC">
</form>
I was also wondering how I can change the style of the size menu. I just want a plain dropdown with arrows, no blue and shine.
Thank you