Re: Renaming TextA

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 19827
interpreted = N
texte = >Sandy and Bob - thanks for your help. I'm getting close but still >having problems. > >I have put the error checking and am using the addlineitem context >instead of the add command. This is what is now in my page that shows >the shopping cart (ShoppingCart.tml): If you are using the same page to remove an item, you are then adding it again with the [addlineitem]. You need a 2nd shoppingcart.tpl that doesn't have the [addlineitem] context. You need it also to change quantities, etc. The below has to go to a different page than the one with the [addlineitem]. ( or you could get tricky with [showif]s, I suppose.) Remove Item Good luck!Sandy > >[ShowIf [textB]=] >

Please fill in the Logo field on the previous page

[/showif] >[HideIf [textB]=] >[addlineitem >cart=[cart]&sku=[sku]&db=wmproducts.db]&textB=[textB][/addlineitem] > > >This works, but now I have I can't remove an item. The remove code (on >the same page is: > >HREF=ShoppingCart.tpl?command=remove&db=wmproducts.db&index=[lineIndex]&c >art=[cart]&sku=[sku]>Remove >Item > >The item is not removed and the TextB information (logo) is lost and now >appears as [textB]. > >It appears to me that because the addlineitems context is on this same >page, when the remove command executes the item is readded to the cart >but the input for textB is lost. Any suggestions? > >Dick Kirsner >Competitive Edge, Inc. > Associated Messages, from the most recent to the oldest:

    
  1. Re: Renaming TextA (Sandra L. Pitner 1998)
  2. Re: Renaming TextA (Richard Kirsner 1998)
  3. Re: Renaming textA (Brian B. Burton 1998)
  4. RE: Renaming textA (Sandra L. Pitner 1998)
  5. RE: Renaming textA (Richard Kirsner 1998)
  6. Re: Renaming textA (PCS Technical Support 1998)
  7. Re: Renaming textA (Sandra L. Pitner 1998)
  8. Renaming textA (Richard Kirsner 1998)
>Sandy and Bob - thanks for your help. I'm getting close but still >having problems. > >I have put the error checking and am using the addlineitem context >instead of the add command. This is what is now in my page that shows >the shopping cart (ShoppingCart.tml): If you are using the same page to remove an item, you are then adding it again with the [addlineitem]. You need a 2nd shoppingcart.tpl that doesn't have the [addlineitem] context. You need it also to change quantities, etc. The below has to go to a different page than the one with the [addlineitem]. ( or you could get tricky with [showif]s, I suppose.) [cart]&sku=[sku]>Remove Item Good luck!Sandy > >[ShowIf [textB]=] >

Please fill in the Logo field on the previous page

[/showif] >[HideIf [textB]=] >[addlineitem >cart=[cart]&sku=[sku]&db=wmproducts.db]&textB=[textB][/addlineitem] > > >This works, but now I have I can't remove an item. The remove code (on >the same page is: > >HREF=ShoppingCart.tpl?command=remove&db=wmproducts.db&index=[lineIndex]&c >art=[cart]&sku=[sku]>Remove >Item > >The item is not removed and the TextB information (logo) is lost and now >appears as [textB]. > >It appears to me that because the addlineitems context is on this same >page, when the remove command executes the item is readded to the cart >but the input for textB is lost. Any suggestions? > >Dick Kirsner >Competitive Edge, Inc. > Sandra L. Pitner

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:

placement of ? (2000) Drop down menu (2003) Dealing with da back button (1999) Stability complaints (2002) [showif] with ! (2000) RE: Questions To Answer (1997) [WebDNA] WebDNA & Google Chrome Browser (2012) Multiple prices (1997) I figured it out (1999) breaking words (1997) Permission Denied Error (2001) Exclude by date - multiple (1997) problems with 2 tags shakur (1997) Loosing Quantity (2000) requiring form fields? (2000) [SearchString] problem with [search] context (1997) Encrypt Decrypt URL UnURL Weirdness (2001) WCS Newbie question (1997) FW: Shipping calculations (1997) Search design (1997)