Re: Why is my easy [AddLineItems] NOT working??

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 34544
interpreted = N
texte = Yes, it now works, and I've added it to my more complicated ADD commands. It now adds multiple products, quantities, and SKUs perfectly from the one form. BUT the product name [PRODUCT] (which is a field in the database) simply displays as WebCatalog on each line...... rather the [PRODUCT]. Does anyone know why?The strangest thing is, I have a 'Remove' link: RemoveWhen I click on this to remove one of the WebCatalog appearances, it then redraws the cart.tpl page, with ALL the products still there, with the CORRECT [PRODUCT] names!!! From there on, the 'remove' works perfectly.Help appreciated and then some....... :-)Regards, Tim On Wednesday, 12 July 2000, Will Starck wrote: >Gaack! > >I rarely do commands any more...sorry, I'm thinking variables >and forms...;) > >Try surrounding your [lineitems] in an orderfile context like >so: > >[orderfile cart=[cart]] > >[lineitems] > > >[/lineitems] >[/orderfile] > > > > >-- >Will Starck >Product and Technical Support >NovaDerm.com >http://www.novaderm.com >techs@novaderm.com >Toll free support line: 800-378-1740 > >> From: Tim Robinson >> Reply-To: (WebCatalog Talk) >> Date: 12 Jul 2000 11:15:31 >> To: (WebCatalog Talk) >> Subject: Re: Why is my easy [AddLineItems] NOT working?? >> >> Why would there be a [ there? >> >> On Wednesday, 12 July 2000, Will Starck wrote: >>> Well, for one thing you are missing a [ here ---> >>> >>> l/orgmech.db&sku=APP002][/AddLineItem] >>> ^ >>> -- >>> Will Starck >>> Product and Technical Support >>> NovaDerm.com >>> http://www.novaderm.com >>> techs@novaderm.com >>> Toll free support line: 800-378-1740 >>> >>>> From: Tim Robinson >>>> Reply-To: (WebCatalog Talk) >>>> Date: 12 Jul 2000 10:40:01 >>>> To: (WebCatalog Talk) >>>> Subject: Why is my easy [AddLineItems] NOT working?? >>>> >>>> Hi there, >>>> >>>> I've cut back my non-working page to the bare minimum, and the >>>> [AddLineItems] is not working. Why? There is virtually nothing left on the >>>> page!! Can anyone see why... I'd really appreciate it. This is ALL that's on >>>> the page (and yes, the link to the database IS correct, I've tried it in the >>>> same folder too and it still doesn't work). >>>> >>>> >>>> >>>> >>>> Shopping Cart >>>> >>>> >>>>

Your Shopping Cart Contains the Following Items

>>>> >>>> [AddLineItem >>>> cart=[cart]&db=/orgmech_internal/orgmech.db&sku=APP002][/AddLineItem] >>>> >>>>
>>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> [lineItems] >>>> >>>> >>>> >>>> >>>> >>>> >>>> [/lineItems] >>>> >>>>
ItemCodeProductPrice
[lineIndex][SKU][PRODUCT]$[format .2f][price][/format]
>>>> >>>>
>>>> >>>> >>>> >>>> >>>> >>>> Any help greatly appreciated. (I AM going mad). >>>> >>>> Regards, >>>> Tim >>>> >>>> Tim Robinson >>>> Art Director >>>> imagine online >>>> tim@imagine.au.com >>>> http://www.imagine.au.com >>>> >>>> >>>> >>>> ------------------------------------------------------------- >>>> 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 >>>> >>>> Web Archive of this list is at: http://search.smithmicro.com/ >>> >>> >>> ------------------------------------------------------------- >>> 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 >>> >>> Web Archive of this list is at: http://search.smithmicro.com/ >>> >> >> >> >> ------------------------------------------------------------- >> 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 >> >> Web Archive of this list is at: http://search.smithmicro.com/ > > >------------------------------------------------------------- >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 >Web Archive of this list is at: http://search.smithmicro.com/ > >------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Why is my easy [AddLineItems] NOT working?? MORE (Tim Robinson 2000)
  2. Re: Why is my easy [AddLineItems] NOT working?? MORE (Will Starck 2000)
  3. Re: Why is my easy [AddLineItems] NOT working?? MORE (Kenneth Grome 2000)
  4. Re: Why is my easy [AddLineItems] NOT working?? MORE (Tim Robinson 2000)
  5. Re: Why is my easy [AddLineItems] NOT working?? MORE (WebDNA Support 2000)
  6. Re: Why is my easy [AddLineItems] NOT working?? (Kenneth Grome 2000)
  7. Re: Why is my easy [AddLineItems] NOT working?? MORE (Tim Robinson 2000)
  8. Re: Why is my easy [AddLineItems] NOT working?? (Tim Robinson 2000)
  9. Re: Why is my easy [AddLineItems] NOT working?? (Will Starck 2000)
  10. Re: Why is my easy [AddLineItems] NOT working?? (Kenneth Grome 2000)
  11. Re: Why is my easy [AddLineItems] NOT working?? (Tim Robinson 2000)
  12. Re: Why is my easy [AddLineItems] NOT working?? (John Butler 2000)
  13. Re: Why is my easy [AddLineItems] NOT working?? (Tim Robinson 2000)
  14. Re: Why is my easy [AddLineItems] NOT working?? (Will Starck 2000)
  15. Re: Why is my easy [AddLineItems] NOT working?? (Tim Robinson 2000)
  16. Re: Why is my easy [AddLineItems] NOT working?? (Will Starck 2000)
  17. Why is my easy [AddLineItems] NOT working?? (Tim Robinson 2000)
Yes, it now works, and I've added it to my more complicated ADD commands. It now adds multiple products, quantities, and SKUs perfectly from the one form. BUT the product name [PRODUCT] (which is a field in the database) simply displays as WebCatalog on each line...... rather the [PRODUCT]. Does anyone know why?The strangest thing is, I have a 'Remove' link: [cart]>RemoveWhen I click on this to remove one of the WebCatalog appearances, it then redraws the cart.tpl page, with ALL the products still there, with the CORRECT [PRODUCT] names!!! From there on, the 'remove' works perfectly.Help appreciated and then some....... :-)Regards, Tim On Wednesday, 12 July 2000, Will Starck wrote: >Gaack! > >I rarely do commands any more...sorry, I'm thinking variables >and forms...;) > >Try surrounding your [lineitems] in an orderfile context like >so: > >[orderfile cart=[cart]] > >[lineitems] > > >[/lineitems] >[/orderfile] > > > > >-- >Will Starck >Product and Technical Support >NovaDerm.com >http://www.novaderm.com >techs@novaderm.com >Toll free support line: 800-378-1740 > >> From: Tim Robinson >> Reply-To: (WebCatalog Talk) >> Date: 12 Jul 2000 11:15:31 >> To: (WebCatalog Talk) >> Subject: Re: Why is my easy [AddLineItems] NOT working?? >> >> Why would there be a [ there? >> >> On Wednesday, 12 July 2000, Will Starck wrote: >>> Well, for one thing you are missing a [ here ---> >>> >>> l/orgmech.db&sku=APP002][/AddLineItem] >>> ^ >>> -- >>> Will Starck >>> Product and Technical Support >>> NovaDerm.com >>> http://www.novaderm.com >>> techs@novaderm.com >>> Toll free support line: 800-378-1740 >>> >>>> From: Tim Robinson >>>> Reply-To: (WebCatalog Talk) >>>> Date: 12 Jul 2000 10:40:01 >>>> To: (WebCatalog Talk) >>>> Subject: Why is my easy [AddLineItems] NOT working?? >>>> >>>> Hi there, >>>> >>>> I've cut back my non-working page to the bare minimum, and the >>>> [AddLineItems] is not working. Why? There is virtually nothing left on the >>>> page!! Can anyone see why... I'd really appreciate it. This is ALL that's on >>>> the page (and yes, the link to the database IS correct, I've tried it in the >>>> same folder too and it still doesn't work). >>>> >>>> >>>> >>>> >>>> Shopping Cart >>>> >>>> >>>>

Your Shopping Cart Contains the Following Items

>>>> >>>> [AddLineItem >>>> cart=[cart]&db=/orgmech_internal/orgmech.db&sku=APP002][/AddLineItem] >>>> >>>>
>>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> [lineitems] >>>> >>>> >>>> >>>> >>>> >>>> >>>> [/lineItems] >>>> >>>>
ItemCodeProductPrice
[lineIndex][SKU][PRODUCT]$[format .2f][price][/format]
>>>> >>>>
>>>> >>>> >>>> >>>> >>>> >>>> Any help greatly appreciated. (I AM going mad). >>>> >>>> Regards, >>>> Tim >>>> >>>> Tim Robinson >>>> Art Director >>>> imagine online >>>> tim@imagine.au.com >>>> http://www.imagine.au.com >>>> >>>> >>>> >>>> ------------------------------------------------------------- >>>> 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 >>>> >>>> Web Archive of this list is at: http://search.smithmicro.com/ >>> >>> >>> ------------------------------------------------------------- >>> 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 >>> >>> Web Archive of this list is at: http://search.smithmicro.com/ >>> >> >> >> >> ------------------------------------------------------------- >> 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 >> >> Web Archive of this list is at: http://search.smithmicro.com/ > > >------------------------------------------------------------- >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 >Web Archive of this list is at: http://search.smithmicro.com/ > >------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ Tim Robinson

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:

Bug or syntax error on my part? (1997) RE: [WebDNA] .htm files (2008) 2.0 Info (1997) Timer Values on [redirect] (1998) [WebDNA] [createdate] displays today's date on Ubuntu 14.04 / WebDNA Server 8.? (2014) Upgrade Pricing? (2003) listfiles-looking for slick solution (1997) Anomaly ? causes NT application event log to overflow (1997) syntax question, not in online refernce (1997) First postarg not taking in $Commands (1997) tpl and Explorer (1998) Just Testing (1997) MySQL Wildcard Trouble (2006) [WriteFile] problems (1997) page redirect in webDNA (1997) Cookies (1999) MacAuthorize order data fields WAS:How To question... (1997) WebMerchant crashing and other WebMerchant problem (2000) Mail Server Needed. (1998) WCS Newbie question (1997)