Re: and more [shipcost]....
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 39001
interpreted = N
texte = that is the first thin I tried, but I still need to charge shipping forpeople that are buying photos and other productsArt----- Original Message -----From: Anup Setty
To: WebCatalog Talk Sent: Tuesday, October 02, 2001 12:00 PMSubject: Re: and more [shipcost]....The New include file:[showif [shipvia]=UPSGround] [showif [subTotal]<10.01]4.95[/showif] [showif [subTotal]>10.00][showif [subTotal]<25.01]5.95[/showif][/showif] [showif [subTotal]>25.00][showif [subTotal]<50.01]7.50[/showif][/showif] [showif [subTotal]>50.00][showif [subTotal]<75.01]8.95[/showif][/showif] [showif [subTotal]>75.00][showif [subTotal]<150.01]9.95[/showif][/showif] [showif [subTotal]>150.00][math][subTotal]*.1[/math][/showif] [/showif][showif [category]=gift certificates]shipCost 0[/showif][showif [category]=photos]shipCost 1.95[/showif]Will this work for you, this may need modification to fit your needs...HTHAnup Setty----- Original Message -----From: Arturo Vargas To: WebCatalog Talk Sent: Tuesday, October 02, 2001 2:58 PMSubject: and more [shipcost]....> I went searching at the archive and I found this really good reply by John> Jakovich back in 1999>> -----------------------------------> shipCost [Include file=shipcost_formula.inc]>> Here's the code I used in my include file:>> [showif [shipvia]=UPSGround]> [showif [subTotal]<10.01]4.95[/showif]> [showif [subTotal]>10.00][showif [subTotal]<25.01]5.95[/showif][/showif]> [showif [subTotal]>25.00][showif [subTotal]<50.01]7.50[/showif][/showif]> [showif [subTotal]>50.00][showif [subTotal]<75.01]8.95[/showif][/showif]> [showif [subTotal]>75.00][showif [subTotal]<150.01]9.95[/showif][/showif]> [showif [subTotal]>150.00][math][subTotal]*.1[/math][/showif]> [/showif]> -------------------------------->> This works great; however, I NOT only need to generate different prices> based on the subtotal. there are two categories in the store: gift> certificates and photos that don't follow the formula above.>> Gift Certificates need to be free shipping> and Photos only $1.95>> any help would be greatly appreciated.>> Please...........>> Art>>>> -------------------------------------------------------------> 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 toWeb 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:
that is the first thin I tried, but I still need to charge shipping forpeople that are buying photos and other productsArt----- Original Message -----From: Anup Setty To: WebCatalog Talk Sent: Tuesday, October 02, 2001 12:00 PMSubject: Re: and more [shipcost]....The New include file:[showif [shipvia]=UPSGround] [showif [subTotal]<10.01]4.95[/showif] [showif [subTotal]>10.00][showif [subTotal]<25.01]5.95[/showif][/showif] [showif [subTotal]>25.00][showif [subTotal]<50.01]7.50[/showif][/showif] [showif [subTotal]>50.00][showif [subTotal]<75.01]8.95[/showif][/showif] [showif [subTotal]>75.00][showif [subTotal]<150.01]9.95[/showif][/showif] [showif [subTotal]>150.00][math][subTotal]*.1[/math][/showif] [/showif][showif [category]=gift certificates]shipCost 0[/showif][showif [category]=photos]shipCost 1.95[/showif]Will this work for you, this may need modification to fit your needs...HTHAnup Setty----- Original Message -----From: Arturo Vargas To: WebCatalog Talk Sent: Tuesday, October 02, 2001 2:58 PMSubject: and more [shipcost]....> I went searching at the archive and I found this really good reply by John> Jakovich back in 1999>> -----------------------------------> shipCost [Include file=shipcost_formula.inc]>> Here's the code I used in my include file:>> [showif [shipvia]=UPSGround]> [showif [subTotal]<10.01]4.95[/showif]> [showif [subTotal]>10.00][showif [subTotal]<25.01]5.95[/showif][/showif]> [showif [subTotal]>25.00][showif [subTotal]<50.01]7.50[/showif][/showif]> [showif [subTotal]>50.00][showif [subTotal]<75.01]8.95[/showif][/showif]> [showif [subTotal]>75.00][showif [subTotal]<150.01]9.95[/showif][/showif]> [showif [subTotal]>150.00][math][subTotal]*.1[/math][/showif]> [/showif]> -------------------------------->> This works great; however, I NOT only need to generate different prices> based on the subtotal. there are two categories in the store: gift> certificates and photos that don't follow the formula above.>> Gift Certificates need to be free shipping> and Photos only $1.95>> any help would be greatly appreciated.>> Please...........>> Art>>>> -------------------------------------------------------------> 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 toWeb 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/
Arturo Vargas
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:
It just Does't add up!!! (1997)
Product Name in AdminResults.inc (2001)
No Access warning when caching HTML files (1997)
[WebDNA] Combining searches with blank and zero values? (2011)
[WebDNA] Best WebDNA version for OS X Server 10.5.8 on PowerPC? (2010)
All questions are welcome on this list (1997)
Searchable Talklist Archive (1998)
Mystery File - Solved (2005)
Re1000001: Setting up shop (1997)
[price] via a search (1998)
keep W* in front applescript? (1998)
Problem with summary on date / inconsequent webcat behaviour (1998)
Emailer (1997)
Webcat & SIMS (1998)
all records returned. (1997)
supressing math results (1997)
WC Database Format (1997)
[ot] g5 xserve drives (2004)
New WebDNA Example from Olin -- (1998)
Site Search Concepts (2003)