Re: Shipping costs question
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 44684
interpreted = N
texte = Mark, you will want to go through the lineitems to see if thatSKU is the cart. If it is you will want to subtract the price fromthe [subtotal] and set that to a var. Then you can do yourcode below only using the var instead of [subtotal]DonovanP.S.A note, if you are going to have this as a promotion on differentproducts you could as easily put a field shippingcharge witha value of yes or no or T or F and then query the products.dbfor each item in the cart before shipping is calculated.Mark Derrick wrote:> Here's the scenario,> We currently use the following in our formulas.db:> shipCost [showif [subtotal]>100.00]5.95[/showif] [showif> [subtotal]<100.00]2.95[/showif] [showif [subtotal]=100.00]2.95[/showif]>> But we now need to be able to sell a product for which there's a zero> shipping charge. Which means that if this product is the only item in the> cart, then the shipcost needs to be 0.>> Is there an easy way to achieve this?>> Thanks.>-------------------------------------------------------------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:
Mark, you will want to go through the lineitems to see if thatSKU is the cart. If it is you will want to subtract the price fromthe [subtotal] and set that to a var. Then you can do yourcode below only using the var instead of [subtotal]DonovanP.S.A note, if you are going to have this as a promotion on differentproducts you could as easily put a field shippingcharge witha value of yes or no or T or F and then query the products.dbfor each item in the cart before shipping is calculated.Mark Derrick wrote:> Here's the scenario,> We currently use the following in our formulas.db:> shipCost [showif [subtotal]>100.00]5.95[/showif] [showif> [subtotal]<100.00]2.95[/showif] [showif [subtotal]=100.00]2.95[/showif]>> But we now need to be able to sell a product for which there's a zero> shipping charge. Which means that if this product is the only item in the> cart, then the shipcost needs to be 0.>> Is there an easy way to achieve this?>> Thanks.>-------------------------------------------------------------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/
Donovan Brooke
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:
Euro WebDNA Conference (2004)
2.0Beta Command Ref (can't find this instruction) (1997)
Searching multiple fields from one form field (1997)
Emailer (WebCat2) (1997)
[WebDNA] SSL not working with WebDNA FCGI 8.5.1 (2020)
Some Questions (1997)
Frames and WebCat (1997)
WebCat2 Append problem (B14Macacgi) (1997)
PSC recommends what date format yr 2000??? (1997)
Re[2]: Enhancement Request for WebCatalog-NT (1996)
Searching multiple fields from one form field (1997)
Summing fields (1997)
Emailer (1998)
japanese characters (1997)
tab deliminated txt file (2001)
Autonumber (2003)
searching numbers (1998)
OT pipe - was can webcat determine an image's pixel dimensions? (2000)
formatting dates from a field ... (1997)
Sendmail doesn't (was Queertrons?) (1997)