Re: Finalizing Orders

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 26792
interpreted = N
texte = I would start by reading about the orderfile context, then look up lineitems,addlineitems and set setline items.Here is a small example of an orderfile and lineitem: [Orderfile cart=[cart]]
[lineitems] [SKU][TEXTA][lookup db=proto_products.db&lookInField=SKU&value=[SKU]&returnField=description] $[format .2f][price][/format]Remove [/lineitems] [/Orderfile] -----------------------------Typical way to remove something from the cart[showif [act]=remove] [removelineitem cart=[cart]&index=[index]] [/showif] ------------------------------Typical way to add something to the cart[showif [act]=add] [search db=proto_products.db&eqskudatarq=[sku]&max=1] [founditems] [addlineitem cart=[cart]&sku=[sku]&db=proto_products.db]sku=[sku]&quantity=[quantity]&tex ta=[title]&textb=[lookup db=proto_products.db&lookInField=SKU&value=[SKU]&returnField=weight][/Addlin eitem] [append db=product_stats.db]SKU=[SKU]&TITLE=[title]&Date_data=[DATE c%]&QTY=[quantity]][/append] [/founditems] [/search] [/showif] ----- Original Message ----- From: Brady J. Horenstein To: WebCatalog Talk Sent: Sunday, January 30, 2000 10:31 PM Subject: Finalizing Orders > Hello everyone! I have a few questions about how to get the data from the > shopping cart page to the final checkout page. Basically, I need to figure > out how to figure out the subtotal of all the products and their quantities. > > How does this work? > > -- > Brady J. Horenstein > brady@imagetrends.com > > > ------------------------------------------------------------- > Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. > To end your Mail problems go to . > > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. Re: Finalizing Orders (Samuel W Polk Jr 2000)
  2. Re: Finalizing Orders (Nicolas Verhaeghe 2000)
  3. Finalizing Orders (Brady J. Horenstein 2000)
  4. Re: Finalizing Orders (Howard Wolosky 2000)
I would start by reading about the orderfile context, then look up lineitems,addlineitems and set setline items.Here is a small example of an orderfile and lineitem: [Orderfile cart=[cart]] [cart]> [lineitems] [SKU][TEXTA][lookup db=proto_products.db&lookInField=SKU&value=[SKU]&returnField=description] $[format .2f][price][/format][cart]&_db=proto_products.db&act=remove&index=[lineindex ] >Remove [/lineitems] [/Orderfile] -----------------------------Typical way to remove something from the cart[showif [act]=remove] [removelineitem cart=[cart]&index=[index]] [/showif] ------------------------------Typical way to add something to the cart[showif [act]=add] [search db=proto_products.db&eqskudatarq=[sku]&max=1] [founditems] [addlineitem cart=[cart]&sku=[sku]&db=proto_products.db]sku=[sku]&quantity=[quantity]&tex ta=[title]&textb=[lookup db=proto_products.db&lookInField=SKU&value=[SKU]&returnField=weight][/Addlin eitem] [append db=product_stats.db]SKU=[SKU]&TITLE=[title]&Date_data=[DATE c%]&QTY=[quantity]][/append] [/founditems] [/search] [/showif] ----- Original Message ----- From: Brady J. Horenstein To: WebCatalog Talk Sent: Sunday, January 30, 2000 10:31 PM Subject: Finalizing Orders > Hello everyone! I have a few questions about how to get the data from the > shopping cart page to the final checkout page. Basically, I need to figure > out how to figure out the subtotal of all the products and their quantities. > > How does this work? > > -- > Brady J. Horenstein > brady@imagetrends.com > > > ------------------------------------------------------------- > Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. > To end your Mail problems go to . > > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Samuel W Polk Jr

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:

test (2000) Cart Numbers (1997) Any way to retrieve information from clipboard? (1998) Problems when user hit back (2000) CMS - Formatting Content (2004) Updating fields from different platforms (1998) Fun with Dates - revisited (1997) Trunk-gator (1997) Seattle based Webcatters? (2000) HTML Email and Images (2004) Great product and great job ! (1997) Merging databases (1997) [WebDNA] can webdna set the email header (w/[sendmail]) that (2012) WebCatalog f2 Installation (1997) Problems passing [SKU] with $Replace in 2.0 (1997) Re:Realtime Transaction Processing (1999) Nested tags count question (1997) [OT] Be Nice to Your Computer Wizards (2000) links page (2002) Using Applescript to process WebCatalog functions (1998)