Re:Item options w/ price adjustment

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12879
interpreted = N
texte = >I have a project where catalog items may have up to five options which >change the item price. I've changed the preferences to allow price >changes in the shopping cart. > >The catalog page shows the results of an initial search. Clicking on >any item displays a detail page. The detail page includes a table which >appears and displays any item options, along with their pricing. Each >option has a radio button for selecting that particular option. I'm >getting these selections using a form layout. > >I want the shopping cart to include selected items with text for options >selected simply appended to the description, and the final price >adjusted accordingly. Options can be additions or deductions. I've >placed the text for the options into the texta, textb, ... texte fields >in the database, and created fields for the option costs. > >I want to allow the customer to place an item with any selected options >into the cart with a single click. > >Is this approach possible?Can be done, but you should probably use the [add ] context instead of the add command -- so you basically make a showpage command go to some template that uses the incoming form variables to do the appropriate Add to the cart.... Not as simple as a add command, but tons more powerful and flexible.... Jay Van Vark ****************************** Pacific Coast Software | Commerce (WebCatalog) 11770 Bernardo Plaza Court | Hosting & Design Suite 453 | http://www.smithmicro.com San Diego, CA 92128 ****************************** 619.675.1106 Associated Messages, from the most recent to the oldest:

    
  1. Re:Item options w/ price adjustment (Jay Van Vark 1997)
>I have a project where catalog items may have up to five options which >change the item price. I've changed the preferences to allow price >changes in the shopping cart. > >The catalog page shows the results of an initial search. Clicking on >any item displays a detail page. The detail page includes a table which >appears and displays any item options, along with their pricing. Each >option has a radio button for selecting that particular option. I'm >getting these selections using a form layout. > >I want the shopping cart to include selected items with text for options >selected simply appended to the description, and the final price >adjusted accordingly. Options can be additions or deductions. I've >placed the text for the options into the texta, textb, ... texte fields >in the database, and created fields for the option costs. > >I want to allow the customer to place an item with any selected options >into the cart with a single click. > >Is this approach possible?Can be done, but you should probably use the [add ] context instead of the add command -- so you basically make a showpage command go to some template that uses the incoming form variables to do the appropriate Add to the cart.... Not as simple as a add command, but tons more powerful and flexible.... Jay Van Vark ****************************** Pacific Coast Software | Commerce (WebCatalog) 11770 Bernardo Plaza Court | Hosting & Design Suite 453 | http://www.smithmicro.com San Diego, CA 92128 ****************************** 619.675.1106 Jay Van Vark

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:

using showpage and showcart commands (1996) 2nd WebCatalog2 Feature Request (1996) (1999) Post arguments problem mac? (1997) search form problem.. (1997) Re:listfiles-looking for slick solution (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Image Sizes (2003) Calendar sample (1998) New Command prefs ... (1997) [searchString] (1997) Emailer problem (2000) Re:Dumb Question about Docs (1997) Extended [ConvertChars] (1997) SMSI FTP - calander system (2002) 4.5 Upgrade (2003) [SearchString] problem with [search] context (1997) [shownext] and descending order (1997) Thanks Grant (1997) Field validation problem (1999)