Re: Change Subtotal

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 36466
interpreted = N
texte = Previously, you wanted to give $50 and $55 discounts. Are you sure you want 50% and 55% instead? That's a helluva lotta discount. > > >Here is the code in the invoice page that adds the lineitem for the >discount: > >[showif [subtotal]<299]No Discount has been offered[/showif] [showif >[subtotal]>298][showif [subtotal]<500]50% OFF >$[math]tempsubtotal=[subtotal]*.50[/math][AddLineItem >cart=[cart]&sku=1&db=goodtimes/goodtimes.db][/AddLineItem][/showif][/showif] >[showif [subtotal]>499]55% OFF >[math]tempsubtotal=[subtotal]*.55[/math][AddLineItem >cart=[cart]&sku=2&price=[subtotal]&db=goodtimes/goodtimes.db][/AddLineItem][ >/showif] >------------------------------------------------------------- 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: Change Subtotal (Stephen Russo 2000)
  2. Re: Change Subtotal (Stephen Russo 2000)
  3. Re: Change Subtotal (Stephen Russo 2000)
  4. Re: Change Subtotal (Stephen Russo 2000)
  5. Re: Change Subtotal (John Butler 2000)
  6. Re: Change Subtotal (Stephen Russo 2000)
  7. Re: Change Subtotal (Peter Ostry 2000)
  8. Re: Change Subtotal (Peter Ostry 2000)
  9. Re: Change Subtotal (Peter Ostry 2000)
  10. Re: Change Subtotal (Stephen Russo 2000)
  11. Re: Change Subtotal (Stephen Russo 2000)
  12. Re: Change Subtotal (Stephen Russo 2000)
  13. Re: Change Subtotal (John Butler 2000)
  14. Re: Change Subtotal (Glenn Busbin 2000)
  15. Re: Change Subtotal (Stephen Russo 2000)
  16. Re: Change Subtotal (Stephen Russo 2000)
  17. Re: Change Subtotal (Glenn Busbin 2000)
  18. Re: Change Subtotal (Stephen Russo 2000)
  19. Re: Change Subtotal (Stephen Russo 2000)
  20. Re: Change Subtotal (John Butler 2000)
  21. Re: Change Subtotal (Glenn Busbin 2000)
  22. Re: Change Subtotal (Glenn Busbin 2000)
  23. Re: Change Subtotal (Glenn Busbin 2000)
  24. Re: Change Subtotal (Glenn Busbin 2000)
  25. Re: Change Subtotal (Stephen Russo 2000)
  26. Change Subtotal (Stephen Russo 2000)
  27. Re: Change Subtotal (Glenn Busbin 2000)
  28. Re: Change Subtotal (Glenn Busbin 2000)
Previously, you wanted to give $50 and $55 discounts. Are you sure you want 50% and 55% instead? That's a helluva lotta discount. > > >Here is the code in the invoice page that adds the lineitem for the >discount: > >[showif [subtotal]<299]No Discount has been offered[/showif] [showif >[subtotal]>298][showif [subtotal]<500]50% OFF >$[math]tempsubtotal=[subtotal]*.50[/math][AddLineItem >cart=[cart]&sku=1&db=goodtimes/goodtimes.db][/AddLineItem][/showif][/showif] >[showif [subtotal]>499]55% OFF >[math]tempsubtotal=[subtotal]*.55[/math][AddLineItem >cart=[cart]&sku=2&price=[subtotal]&db=goodtimes/goodtimes.db][/AddLineItem][ >/showif] >------------------------------------------------------------- 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/ Glenn Busbin

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:

Caching pages...again (2001) Cancel Subscription (1996) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) External Images (1998) searching for items that begin with a number (2004) Mass Mail (2000) Template Encryption (1998) [WebDNA] Connect to MS SQL (2013) Supressing Error Messages (1998) WebCat & cookies (1998) Next X hits (1996) emailer error -108 (1997) [isfile] ? (1997) Searching multiple fields from one form field (1997) Multiple prices (1997) ImageMagick and [shell] (2003) WebCatalog host... (2000) tcp connect includes (1999) Protect (1997) Not really WebCat (1997)