DwZone Forum DwZone Forum
Welcome to the DwZone-it Forum
 
  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  
    RegisterRegister -->   LoginLogin  
Shopping Cart  
DwZone Forum Index -> Shopping Cart

Moderators: AdministratorsModerators 
Hint: For improved responsiveness, use Internet Explorer 4 (or above) with Javascript enabled, choose 'Dynamic' from the View dropdown and hit 'Set Options' to save your changes.
New Topic Search for
 View     Per page     Messages Since 
Messages 131 to 140 of 197 (Total: 93) First |  Prev |  Next |  Last  
 Subject Author Date  
   DW chrashes on add cart  
View this persons public profile  [email protected]   14:02 24 May 2006  
   Re:DW chrashes on add cart  
View this persons public profile  gianluigi   19:14 24 May 2006  
   Re:DW chrashes on add cart  
View this persons public profile  gianluigi   20:24 25 May 2006  
   Re:DW chrashes on add cart  
View this persons public profile  [email protected]   18:04 26 May 2006  
   Re:DW chrashes on add cart  
View this persons public profile  gianluigi   19:37 26 May 2006  
    Quantity from calculated variable  
View this persons public profile  [email protected]   18:27 14 Mar 2006  
 
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.
 
Reply to this current thread  View this persons public profile  Send Private Message
   Re:Quantity from calculated variable  
View this persons public profile  gianluigi   19:30 14 Mar 2006  
   Re:Quantity from calculated variable  
View this persons public profile  [email protected]   10:27 16 Mar 2006  
   Adding a Trade Price sub total  
View this persons public profile  [email protected]   18:33 6 Mar 2006  
   Re:Adding a Trade Price sub total  
View this persons public profile  gianluigi   21:17 7 Mar 2006  
Last Visit: Monday 23 Dec, 2024 6:01 pm First |  Prev |  Next |  Last  
 Login
Username:  Password:    
Read Message Read Message   Unread message Unread message
Read message [popular] Read message [popular]   Unread message [popular] Unread message [popular]
Read message [locked] Read message [locked]   Unread message [locked] Unread message [locked]
All times are GMT-1

Jump to: