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:

Am I going senile? (Price recalc based on quantity) (1997) PCS Frames (1997) Help name our technology! (1997) access denied problem (1997) Email notification to one of multiple vendors ? (1997) Ok here is a question? (1997) Searching a database... (2003) debit cards and checksum (1998) [OT] Xserve (2002) Test (2003) select multiple (1997) Emailer setup (1997) Bug? (1997) carriage returns in data (1997) Netscape v. IE (1997) [WebDNA] [OT] hello (2012) NT or Mac (1998) Running _every_ page through WebCat ? (1997) Help formatting search results w/ table (1997) Lookup Notfound (1998)