PDA

View Full Version : Component Quantity


Kai
13-Oct-2003, 04:08 AM
Hi

I encounter a problem using the component quantity. For example, i am selling is product call ABC. ABC come will 3 lengths. Customer can choose 1m 2m or 3m of ABC, also they can buy all of them. As i am using check box, with the "is optional checked. The problem start when the customer uncheck the box, and add the product to the basket.

Another problem is that i only have 1 quantity for each of the length, how to prevent them to buy more than 1 of the same item, while it wont affect the customer to buy all length of ABC.

Thanks

Regards,
Kai

Kai
14-Oct-2003, 03:11 AM
Anyone?..

cdicken
15-Oct-2003, 11:27 AM
The only way to do this would be to have 1m, 2m and 3m as different products. If you use a product layout similar to:

NETQUOTEVAR:ENDSEPARATOR
NETQUOTEVAR:PRODUCTFORMBEGIN
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="250">NETQUOTEVAR:PRODUCTNAME</td>
<td align="right" width="100">NETQUOTEVAR:PRODUCTPRICE</td>
<td align="right">NETQUOTEVAR:PRODUCTQUANTITY</td>
<td align="right">NETQUOTEVAR:ADDTOCARTBUTTON</td>
</tr>
</table>
</td>
</tr>
NETQUOTEVAR:PRODUCTFORMEND
NETQUOTEVAR:NEXT

Then this lays out products in very compact rows.