Re: HELP..Changing Price after adding to cart.
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 24784
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.>>CharlieThis is much more easily done if the user enters his discount code either at the start or the end of the shopping. You can then set this as a cart header or a cookie and use formulas.db to evaluate the discounted price. There is no need for more than one price field.Micheal O Shea Email:micheal@com4u.chcom 4 u http://www.com4u.chBreitistrasse 7BCH-5506 Maegenwil Tel: +41 62 896 46 26-------------------------------------------------------------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.>>CharlieThis is much more easily done if the user enters his discount code either at the start or the end of the shopping. You can then set this as a cart header or a cookie and use formulas.db to evaluate the discounted price. There is no need for more than one price field.Micheal O Shea Email:micheal@com4u.chcom 4 u http://www.com4u.chBreitistrasse 7BCH-5506 Maegenwil Tel: +41 62 896 46 26-------------------------------------------------------------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
Michael O Shea
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:
Problem with updating to 2.1.1 (1998)
Summing fields (1997)
Configuring E-mail (1997)
WebCat2b13MacPlugIn - More limits on [include] (1997)
Possible Bug in 2.0b15.acgi (1997)
Passing Cart variable to subdirectory files? (1997)
Applescript, WebDNA, and PDF (1997)
WebCat2b12--[searchstring] bug (1997)
problems with 2 tags shakur (1997)
RE: WebCatalog NT beta 18 now available (1997)
Pre-parse hell (2008)
Mac Vs WindowsNT (1997)
[format 40s]text[/format] doesn't work (1997)
Are they really global tags? (2002)
latest version? (1998)
Re:listfiles-looking for slick solution (1997)
[WebDNA] Dealing with age and birth day (2017)
HTML Editors (1997)
emailer setup (1997)
Format of Required fields error message (1997)