Re: formula???
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 34771
interpreted = N
texte = For ver 4.x, try something like this: [if [qty]>1]19.95[else]29.95[/else][/if]for ver 3.x, try something more like this: [math][hideif [qty]>1]10+[/hideif]19.95[/math]Obviously, I did not test to see if this was the specific sku that I wasinterested in. You can place this into formulas.db or use it on the page where you are appending to the lineitems (depending on whether youare using commands or contexts).HTHJohn PeacockArturo Vargas wrote:> > I thank you in advance.> > In this page I am creating a customer has to be able to order one product> are regular price (29.95) but if they buy 2 or more then the price is> (19.95)each> How can I accomplish this??> Any suggestions?> > Arturo Vargas> The World Wide Web Store> > -------------------------------------------------------------> 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/-------------------------------------------------------------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:
For ver 4.x, try something like this: [if [qty]>1]19.95[else]29.95[/else][/if]for ver 3.x, try something more like this: [math][hideif [qty]>1]10+[/hideif]19.95[/math]Obviously, I did not test to see if this was the specific sku that I wasinterested in. You can place this into formulas.db or use it on the page where you are appending to the lineitems (depending on whether youare using commands or contexts).HTHJohn PeacockArturo Vargas wrote:> > I thank you in advance.> > In this page I am creating a customer has to be able to order one product> are regular price (29.95) but if they buy 2 or more then the price is> (19.95)each> How can I accomplish this??> Any suggestions?> > Arturo Vargas> The World Wide Web Store> > -------------------------------------------------------------> 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/-------------------------------------------------------------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/
John Peacock
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:
Force a search at the default.tmpl page? (1997)
Me know logical no need (2002)
presetting a [math] var not working (2000)
Listserver problem (1997)
F*** you (1998)
encripted storage (1998)
[tcpsend] (2001)
Signal Raised Error (Part III) (1997)
[append] vs. [appendfile] delta + question? (1997)
oops private message leaked into talk list (1997)
Resetting a Formvariable (2000)
using showpage and showcart commands (1996)
Another Excel Problem (2003)
RE: Emailer prefs in two places ... (1997)
PCS Emailer's role ? (1997)
New NT beta available (1997)
Online reference (1997)
Help! WebCat2 bug (1997)
SendMail - Idea (2000)
Nested vs conditional (1997)