Re: Changing SubTotal

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 54054
interpreted = N
texte = Alan, A very brief rundown as I don't have much time... Setup a product in the products database with a SKU call VOUCHER or something. Set the price to 0. Then use your code to calculate the discount. Addlineitem this discount (using pricechange password, and price / quan to the cart... However, doing it this way, one has to account for the editing and removing of products etc!!. So, be carefull to not let users crack your discounting (to get product cheaper). :-) Donovan Alan White wrote: > I don't suppose someone would be able to show me an example of adding the > lineitem could they? Do I have to allocate a fictitious SKU number seeing > as the Voucher doesn't actually reside in stock? > > Thanks > Alan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Changing SubTotal ( John Peacock 2003)
  2. Re: Changing SubTotal ( Alan White 2003)
  3. Re: Changing SubTotal ( John Peacock 2003)
  4. Re: Changing SubTotal ( Alan White 2003)
  5. Re: Changing SubTotal ( Donovan Brooke 2003)
  6. Re: Changing SubTotal ( Alan White 2003)
  7. Re: Changing SubTotal ( Alan White 2003)
  8. Re: Changing SubTotal ( Alan White 2003)
  9. Re: Changing SubTotal ( John Peacock 2003)
  10. Re: Changing SubTotal ( Donovan Brooke 2003)
  11. Changing SubTotal ( Alan White 2003)
Alan, A very brief rundown as I don't have much time... Setup a product in the products database with a SKU call VOUCHER or something. Set the price to 0. Then use your code to calculate the discount. Addlineitem this discount (using pricechange password, and price / quan to the cart... However, doing it this way, one has to account for the editing and removing of products etc!!. So, be carefull to not let users crack your discounting (to get product cheaper). :-) Donovan Alan White wrote: > I don't suppose someone would be able to show me an example of adding the > lineitem could they? Do I have to allocate a fictitious SKU number seeing > as the Voucher doesn't actually reside in stock? > > Thanks > Alan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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://webdna.smithmicro.com/ Donovan Brooke

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:

Add a field to the error log? (1997) deadlock (2000) Proper file locations (1997) Semi OT: Internet Sales Tax (2003) Changes to the List (1997) Re:2nd WebCatalog2 Feature Request (1996) Outsourcing partnership ... (2005) Sorting by date (1997) Applescript in Webcatalog problem (1997) Guestbook (2000) RAM crash (1998) Sorta OT: Printing From Browser Window (2001) [WebDNA] [Delete] doesn delete all... (2009) No. of items in shopping cart (2000) WebDNA 6 and IIS 5.0 HTTP Compression (2004) Just Testing (1997) Unexpected error (1997) REPLACE problem (2000) includes (2003) problems with 2 tags (1997)