Re: more info on [setlineitems]

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12407
interpreted = N
texte = >Question 1: I am not sure where to put this when using the $add command. Is >it in my regular store page (that lists all the products), or in my cart >page.You put it on the cart page, because putting it on your store page would be too early (at that point you don't know what quantity the visitor has typed).>Question 2: If the latter is true, do I put this before my regular line >items in the cart.tmpl page or after?You would put it before, so the change has taken effect before the lineitems are displayed. I think my earlier message showed the proper sequence of where you would put all this stuff (including the ever-important [OrderFile] context) in your cart page.I don't know how your site works, but have you considered using a popup for the quantity instead of letting them type it? If there are only certain valid numbers for quantities, this might be a good alternative.Good luck!Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: more info on [setlineitems] (Grant Hulbert 1997)
  2. more info on [setlineitems] (Kevin Furuta 1997)
>Question 1: I am not sure where to put this when using the $add command. Is >it in my regular store page (that lists all the products), or in my cart >page.You put it on the cart page, because putting it on your store page would be too early (at that point you don't know what quantity the visitor has typed).>Question 2: If the latter is true, do I put this before my regular line >items in the cart.tmpl page or after?You would put it before, so the change has taken effect before the lineitems are displayed. I think my earlier message showed the proper sequence of where you would put all this stuff (including the ever-important [orderfile] context) in your cart page.I don't know how your site works, but have you considered using a popup for the quantity instead of letting them type it? If there are only certain valid numbers for quantities, this might be a good alternative.Good luck!Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Grant Hulbert

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Blog solution (2006) I'm Baaaaaaaaaack - Questions! (2000) [WebDNA] [announce] WebDNA 6.2.1x (2012) japanese characters (1997) checksum for credit cards? (1997) Return records from another (1997) Not really WebCat - need HTML Grider (1997) Transfer of data from Invoice to thank you templates (1998) Return records from another (1997) Forcing Paragraph Breaks on Results (1998) Timer Values on [redirect] (1998) Re(2): Problem about [CART] number (1998) Page Showing 3 times (2000) [WebDNA] SOAP support (2014) Sorting by date (1997) woops - speed results - right subject (2002) can WC render sites out? (1997) Summing fields in a search/founditems context?? (2000) help needed: Non-english characters in WebCatalog (1997) Greeting Card System (2000)