On part of the site I'm building the customer can calculate how much soil they need by using a calculator on the site. Once they enter their length, width and depth and press calculate the page (ASP) calculates the volume required, some other ASP calculations then work out how many bags of soil the customer will need.
Therefore the Quantity field of my "Add to Cart" link is a variable that is calculated on the page (i.e. I can't get it using Request.Querystring).
How do I set the quantity in the "Add to Cart" dialogue box to use a variable <%=qtyOption1%>, the only options seem to be either an entered value or a value from a recordset.
I tried entering <%=qtyOption1%> in the quantity field but this just adds the product to the cart with a zero quantity.
Hopefully there is an easy way of doing this, if not I'll just have to make the quantity calculation in the SQL of the recordset.
Hope you can help.
Adrian. |
|
|