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=[lineIndex]>&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:
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=[lineIndex]>&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:
How to implement 'email to a friend' feature? (2002)
[WebDNA] WebDNA Crashing or Not **YES** (2008)
Change history ... ? (2003)
Another question (1997)
WebDNA and CPanel Servers (2004)
READFILE command? (1998)
Smith Micro - no competition (2000)
WriteFile wrong format (2003)
Search over 500 (2000)
Email Attachments (1998)
Altivec (Velocity engine) (2000)
Authentication issue (2006)
Satisfy Me ! was: Why can't support be satisfying to (2000)
[append] vs. [appendfile] delta + question? (1997)
[protect] error page (1997)
Need relative path explanation (1997)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Protect (1997)
[OT] Communigate List (2003)
FORMS!! (2001)