Re: Price Change

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 35692
interpreted = N
texte = Glenn, Two things: One: Where on the shoppingcart.tpl page do I put the add lineitem: In the Linitems, In the SetLineItem?Two: How do I know what the subtotal is to add the lineitem. I know to put a showif but when does it know to compare all the items and quantities to get the subtotal?Stephen-----Original Message----- From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Glenn Busbin Sent: Thursday, August 03, 2000 10:32 AM To: WebCatalog Talk Subject: Re: Price Change >Glen, >I tried the addlineitem and nothing. Here is my code for the invoice page. >Again if subtotal > 299 Discount $50. If subtotal > 499 Discount $55. > >Any help would be great. > >Stephen >This is the Invoice.tpl page. I think you'd be better off adding the discount to the ShoppingCart.tpl page. After all, that's where all other items are added to the cart.Use the addlineitem inside of a [showif] to the ShoppingCart.tpl page, ensure that the price change password is set in Prefs and give it a shot.I'd try this using only one discount instead of two. If you can get one working, you'll be able to add the other later and the process will be a bit less intimidating.Glenn------------------------------------------------------------- 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: [WebDNA] [SETLINEITEM] Price Change Not Working (Lawrence 2010)
  2. [WebDNA] [SETLINEITEM] Price Change Not Working ("Ki Song - Knifecenter.com" 2010)
  3. Re: Price Change Password ( Stuart Tremain 2003)
  4. Re: Price Change Password ( Stuart Tremain 2003)
  5. Price Change Password ( Brian Wachter 2003)
  6. Re: Price Change (John Butler 2000)
  7. Re: Price Change (Stephen Russo 2000)
  8. Re: Price Change (Stephen Russo 2000)
  9. Re: Price Change (Glenn Busbin 2000)
  10. Re: Price Change (John Jakovich 2000)
  11. Re: Price Change (Stephen Russo 2000)
  12. Re: Price Change (Glenn Busbin 2000)
  13. Re: Price Change (Glenn Busbin 2000)
  14. Re: Price Change (Stephen Russo 2000)
  15. Re: Price Change (Glenn Busbin 2000)
  16. Re: Price Change (dale 2000)
  17. Re: Price Change (John Butler 2000)
  18. Price Change (Stephen Russo 2000)
  19. Re: Price Change (Glenn Busbin 2000)
  20. Re: Price Change (PCS Technical Support 1999)
  21. Price Change (Bob Minor 1999)
  22. Re: price change help (PCS Technical Support 1998)
  23. price change help (Scott Szretter 1998)
Glenn, Two things: One: Where on the shoppingcart.tpl page do I put the add lineitem: In the Linitems, In the SetLineItem?Two: How do I know what the subtotal is to add the lineitem. I know to put a showif but when does it know to compare all the items and quantities to get the subtotal?Stephen-----Original Message----- From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Glenn Busbin Sent: Thursday, August 03, 2000 10:32 AM To: WebCatalog Talk Subject: Re: Price Change >Glen, >I tried the addlineitem and nothing. Here is my code for the invoice page. >Again if subtotal > 299 Discount $50. If subtotal > 499 Discount $55. > >Any help would be great. > >Stephen >This is the Invoice.tpl page. I think you'd be better off adding the discount to the ShoppingCart.tpl page. After all, that's where all other items are added to the cart.Use the addlineitem inside of a [showif] to the ShoppingCart.tpl page, ensure that the price change password is set in Prefs and give it a shot.I'd try this using only one discount instead of two. If you can get one working, you'll be able to add the other later and the process will be a bit less intimidating.Glenn------------------------------------------------------------- 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/ Stephen Russo

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:

PROTECT/AUTHORIZE (2002) WebDNA deletes major DB data big time (2004) [WebDNA] random blank results? how come? (2014) Bug Report, maybe (1997) creating a ShipCosts database (1997) Formating found categories (1997) ANN: Strategic Partnership with BuyStream Announced. (2000) numfound=0 for a search after going into the SSL (2003) simple help (1999) default value from Lookup (1997) OFF-TOPIC: Lending investors ... (2002) Reversed words (1997) New servers and new inline cache (1997) Getting the protocol (2004) 100 + Users updating database (2002) Image maps/Webcat (1997) OT: Flash developer needed (2007) Help! Odd, irreproducible happenings. (1998) [WebDNA] Microsoft Server 2008 installation.... so close (2011) Encryption Webdna method versus Cybercash (2005)