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-4148mailto:charlie@jumpinternet.comhttp://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:
>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-4148mailto:charlie@jumpinternet.comhttp://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:
Wanted: Broader string manipulation functions (1997)
Webstar 1.3.1 PPC (1997)
Logging purchases (1997)
Include vs. lookup? (1998)
WebCat name recognition (1998)
MacOS X 10.1 Upgrade Error (2001)
WC2b15 File Corruption (1997)
[index] (1997)
Summing fields (1997)
MySQL and Numbers (2005)
Database changes (1998)
Problem with empty form-variables in [search] (1998)
WC2b12: Yes, Formulas.db is for real (1997)
Locking up with WebCatalog... (1997)
RE: Remote administration (1998)
Cool ShowNext (was Blasted shownext (request for 4.0)) (1998)
WebDNA on Intel Mac? (2006)
SetHeader context (1998)
Problem 2: Prefs file... (1997)
send mail problem? (1997)