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:

Hiding HTML and page breaks (1997) Emailer error 571 (1998) Emailer to include Human Name with email Address (2000) [WebDNA] Problem running Webdna (2011) LinkExchange (1997) [OT] Theiving B*****ds (2004) Help name our technology! (1997) emailer (1997) how to know the [LineIndex] number webcat generated during a (2000) Can he do that? (1998) oops private message leaked into talk list (1997) [LOOKUP] (1997) shipcost (1997) WebMerchant 1.6 and SHTML (1997) search results not sorted with 'cl' (1998) SUBMIT buttons not working.... (2000) Sku numbers (1997) All questions are welcome on this list (1997) emailer cc to figured out (1997) Separate SSL Server (1997)