Re: Remove Command not working

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 34618
interpreted = N
texte = Make sure the page you're using to show your updated cart is refreshed; in my shoppingcart.tpl file, I have the following redirects:[showif [command]=add] [redirect shoppingcart.tpl?cart=[cart]&command=showcart&db=mydb.db] [/showif] [showif [command]=remove] [redirect shoppingcart.tpl?cart=[cart]&command=showcart&db=mydb.db] [/showif]The item _is_ being removed, I'd bet, but you just don't see it...HTH,Kevin LippertOn 7/12/00 11:37 PM, you wrote:>Hi Stuart, > >Just tried that, but it didn't work. It behaves the same as before. > >Regards, >Tim > > > >On Thursday, 13 July 2000, Stuart Tremain wrote: >>>HREF=Cart.tpl?command=remove&db=/orgmech_internal/orgmech.db&index=[lineIndex ] >&cart=[cart]&ID=[Random][Random][Random]> >>-- >>Stuart Tremain >> >>Digital Imaging Division >>The Ad-Libitum Group >>48 Victoria Street >>North Sydney 2060 Australia >>Phone: +612 9959 5633 Fax: +612 9929 4146 >> >>email: stuartt@adlib.com.au >>http://www.adlib.com.au >> >>On Thursday, 13 July 2000, Tim Robinson wrote: >>>Hi there, >>> >>>So, I now can successfully ADD multiple items and quantities to >>>a cart, and use a [lookup] to access the product name. But, if >>>I want to REMOVE an item from the cart, it doesn't work >>>properly..... I have a remove tag link like this: >>>>>HREF=Cart.tpl?command=remove&db=/orgmech_internal/orgmech.db&index=[lineInde x] >&cart=[cart]>Remove >>>Item >>> >>>When you click this link, it redraws the screen, but nothing >>>has been removed! But then if you click 'Remove Item' again, >>>the remove works perfectly, as it does for subsequent >>>'removes'. >>> >>>Why doesn't the 'remove' work on the first click? >>> >>>Any help appreciated enormously. Anyone interested in helping >>>can look at the link below. >>> >>> >>>http://testing.imagine.au.com/index.tpl >>> >>>User Name: imagine >>>Password: testing >>> >>>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/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Remove Command not working (Tim Robinson 2000)
  2. Re: Remove Command not working (Kevin Lippert 2000)
  3. Re: Remove Command not working (Tim Robinson 2000)
  4. Re: Remove Command not working (Will Starck 2000)
  5. Re: Remove Command not working (Tim Robinson 2000)
  6. Re: Remove Command not working (Stuart Tremain 2000)
  7. Remove Command not working (Tim Robinson 2000)
Make sure the page you're using to show your updated cart is refreshed; in my shoppingcart.tpl file, I have the following redirects:[showif [command]=add] [redirect shoppingcart.tpl?cart=[cart]&command=showcart&db=mydb.db] [/showif] [showif [command]=remove] [redirect shoppingcart.tpl?cart=[cart]&command=showcart&db=mydb.db] [/showif]The item _is_ being removed, I'd bet, but you just don't see it...HTH,Kevin LippertOn 7/12/00 11:37 PM, you wrote:>Hi Stuart, > >Just tried that, but it didn't work. It behaves the same as before. > >Regards, >Tim > > > >On Thursday, 13 July 2000, Stuart Tremain wrote: >>>HREF=Cart.tpl?command=remove&db=/orgmech_internal/orgmech.db&index=[lineIndex ] >&cart=[cart]&ID=[random][random][random]> >>-- >>Stuart Tremain >> >>Digital Imaging Division >>The Ad-Libitum Group >>48 Victoria Street >>North Sydney 2060 Australia >>Phone: +612 9959 5633 Fax: +612 9929 4146 >> >>email: stuartt@adlib.com.au >>http://www.adlib.com.au >> >>On Thursday, 13 July 2000, Tim Robinson wrote: >>>Hi there, >>> >>>So, I now can successfully ADD multiple items and quantities to >>>a cart, and use a [lookup] to access the product name. But, if >>>I want to REMOVE an item from the cart, it doesn't work >>>properly..... I have a remove tag link like this: >>>>>HREF=Cart.tpl?command=remove&db=/orgmech_internal/orgmech.db&index=[lineInde x] >&cart=[cart]>Remove >>>Item >>> >>>When you click this link, it redraws the screen, but nothing >>>has been removed! But then if you click 'Remove Item' again, >>>the remove works perfectly, as it does for subsequent >>>'removes'. >>> >>>Why doesn't the 'remove' work on the first click? >>> >>>Any help appreciated enormously. Anyone interested in helping >>>can look at the link below. >>> >>> >>>http://testing.imagine.au.com/index.tpl >>> >>>User Name: imagine >>>Password: testing >>> >>>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/ Kevin Lippert

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:

WebCat2 - Getting to the browser's username/password data (1997) Removing [showif] makes a big difference in speed (1997) Add a field to the error log? (1997) price search (1998) Questions on Mac WC 3.0.5b13 (2000) Nested vs conditional (1997) unique ascending numbers (2003) Pithy questions on webcommerce & siteedit (1997) Extended [ConvertChars] (1997) Trouble with formula.db + more explanation (1997) WebCat cannot handle compatible search parameters? (1997) Nested tags count question (1997) Bug Report, maybe (1997) Referrer field to header field conversion (1997) script to autmaticaly update Filemaker DB (2000) OH MY GOD! (1998) upgrading (1997) [sendmail] and [formvariables] (1997) Converting DOS database (2000) WebCat2b13 Command Reference Doc error (1997)