Re: [addlineitems] as oppossed to url command=add

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 30502
interpreted = N
texte = >I have noticed that when I use the url method to add items to a cart file: > >shoppingcart.tpl?command=add&db=catalog.txt&sku=[sku]&cart=[cart] > >and then on the cart page have: > >[lineitems] >fields list >[/lineitem] > >That all the fields of the catalog.txt database are available to me. > >However if I add using [addlineitem cart=[cart] etc etc > >then do a [orderfile cart= etc etc [lineitems] > >Only the cart info is available (Price,SKU,texta). I would have to pass >decription info etc through the texta,b,c... I know it's not a big deal I >just want to know If I am thinking this out right.Yes, we just noticed this ourselves. The 'shortcut' seems to only work when using command=add. There is no need to use [textA] as you described, though: use [lookup] based on the sku to get the information you need our of your database.Technical Support ********************************** Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) 16855 West Bernardo Drive, #380 | ------------------------- San Diego, CA 92127 | Software & Site Development WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************------------------------------------------------------------- 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: [addlineitems] as oppossed to url command=add (Vince Medina 2000)
  2. Re: [addlineitems] as oppossed to url command=add (WebDNA Support 2000)
  3. [addlineitems] as oppossed to url command=add (Vince Medina 2000)
>I have noticed that when I use the url method to add items to a cart file: > >shoppingcart.tpl?command=add&db=catalog.txt&sku=[sku]&cart=[cart] > >and then on the cart page have: > >[lineitems] >fields list >[/lineitem] > >That all the fields of the catalog.txt database are available to me. > >However if I add using [addlineitem cart=[cart] etc etc > >then do a [orderfile cart= etc etc [lineitems] > >Only the cart info is available (Price,SKU,texta). I would have to pass >decription info etc through the texta,b,c... I know it's not a big deal I >just want to know If I am thinking this out right.Yes, we just noticed this ourselves. The 'shortcut' seems to only work when using command=add. There is no need to use [textA] as you described, though: use [lookup] based on the sku to get the information you need our of your database.Technical Support ********************************** Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) 16855 West Bernardo Drive, #380 | ------------------------- San Diego, CA 92127 | Software & Site Development WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************------------------------------------------------------------- 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 WebDNA Support

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:

Access Denied! But why? (1997) [WebDNA] WebDNA Roll Call (2013) NT considerations (1997) LineItem variable set (2007) How to get shownext to just shownext once (1997) Thanks ! (1997) How do I handle extra spaces? (2002) show all problem (1997) problems with 2 tags (1997) Proper file locations (1997) WebCatalog can't find database (1997) Need help with emailer- 2 issues (1997) Navigator 4.0 & tables (1997) two of the same named db's open at once (1998) rotating thumbnails (1997) Snake Bites (1997) The beginning (1997) error: Too many nested [xxx] contexts (1997) Help name our technology! I found it (1997) Read and weep (2003)