Re: HELP..Changing Price after adding to cart.

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 24783
interpreted = N
texte = >i havre been banging my head for 14 hrs on this one. and from the look >at the archives it has been a tough road for many. >Basically i want to have a customer come to the site with a discount >code and put the code in to recieve discount pricing. this is the same >code for many users. >> >any experts out there that can tell me the secret here? > >ps the other method of having the user enter the code at the beginning >has a similar problem. the post on the home page does not get into the >cart because though a cart number is created the cart file is not until >i go to the next page which is too late. > >i need to sleep.... >jym >Jym,I don't know how other people do it but in this situation I always found it easier to have a DiscountPrice field item. For example in your catalog.db you've got Price and then you've got DiscPriceA, DiscPriceB, etc. for every product if in fact there is a different price for every product. This way it gets added to the cart w/ the correct price in the first place. Log the guy in to your site generate a cart and then based on a showif/hideif show DiscPriceA.Another way I did it was to total the invoice page then do [math] 20% discount on the total as a line item. But I think the first way is easier, that's what I still do now.Charlie__________________________________________________________________________ Charlie Romero (703) 917-4148 mailto:charlie@jumpinternet.com http://www.jumpinternet.com__________________________________________________________________________Great Companies Powered By JUMP INTERNET: http://www.porschezone.com The only Porsche portal. http://www.bmwcentral.com The only BMW portal. http://www.optux.com Clickstream Business Intelligence_________________________________________________________________________------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Associated Messages, from the most recent to the oldest:

    
  1. Re: HELP..Changing Price after adding to cart. (Jym Duane 1999)
  2. Re: HELP..Changing Price after adding to cart. (John Butler 1999)
  3. Re: HELP..Changing Price after adding to cart. (Jym Duane 1999)
  4. Re: HELP..Changing Price after adding to cart. (Nitai 1999)
  5. Re: HELP..Changing Price after adding to cart. (Michael O Shea 1999)
  6. Re: HELP..Changing Price after adding to cart. (Charlie Romero 1999)
  7. HELP..Changing Price after adding to cart. (Jym Duane 1999)
>i havre been banging my head for 14 hrs on this one. and from the look >at the archives it has been a tough road for many. >Basically i want to have a customer come to the site with a discount >code and put the code in to recieve discount pricing. this is the same >code for many users. >> >any experts out there that can tell me the secret here? > >ps the other method of having the user enter the code at the beginning >has a similar problem. the post on the home page does not get into the >cart because though a cart number is created the cart file is not until >i go to the next page which is too late. > >i need to sleep.... >jym >Jym,I don't know how other people do it but in this situation I always found it easier to have a DiscountPrice field item. For example in your catalog.db you've got Price and then you've got DiscPriceA, DiscPriceB, etc. for every product if in fact there is a different price for every product. This way it gets added to the cart w/ the correct price in the first place. Log the guy in to your site generate a cart and then based on a showif/hideif show DiscPriceA.Another way I did it was to total the invoice page then do [math] 20% discount on the total as a line item. But I think the first way is easier, that's what I still do now.Charlie__________________________________________________________________________ Charlie Romero (703) 917-4148 mailto:charlie@jumpinternet.com http://www.jumpinternet.com__________________________________________________________________________Great Companies Powered By JUMP INTERNET: http://www.porschezone.com The only Porsche portal. http://www.bmwcentral.com The only BMW portal. http://www.optux.com Clickstream Business Intelligence_________________________________________________________________________------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Charlie Romero

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:

final on include (1997) RE: Just a thought (1998) WebCat and WebTen 2.0 (1997) Search and path arguments (1998) PCS Frames (1997) # fields limited? (1997) Date search and sendmail (1997) Webcat Manual and TeaRoom Examples Uses Different Examples. (1997) [OT] What log analyzer do you use? (2000) test (again) (2005) [isfile] ? (1997) PROBLEM (1997) Real-Time Credit Card Processing - OnCommerce from OuterNet (1998) Database field limit? (1998) [WebDNA] Two different mail servers? (2011) Multi-processor Mac info ... (1997) [WebDNA] Test - no messages since 9th of June 2009. (2009) Taxable Shipping (2003) READFILE command? (1998) Multiple Merchant Accounts? (1997)