Re: [shippingtotal] in Formulas.db
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 45745
interpreted = N
texte = Do you have unitshipcosts being applied to the lineitems?ShipCost doesn't override these values, it adds to the total of them.Also, I assume you don't have any CR's in the formulas.db. :-)note.. You can overide the shippingtotal with a setheader.DonovanWJ Starck wrote:> In an attempt to offer free shipping when 2 or more products are> ordered, I have this in Formulas.db:>> [orderfile ShoppingCarts/[GetCookie SessionID]][lineitems][math> show=f]ordered=[lineindex][/math][/lineitems][/orderfile][showif> [ordered]>1]0.00[/showif][showif [ordered]<2]6.50[/showif]>> When 1 item is added to the cart the shipping ([shippingtotal]) is> correctly figured.>> When a second item is added the shipping does not change to 0>> When the third and any further items are added the shipping changes to> 0.>> Why the lag?>> -Will>-------------------------------------------------------------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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Do you have unitshipcosts being applied to the lineitems?ShipCost doesn't override these values, it adds to the total of them.Also, I assume you don't have any CR's in the formulas.db. :-)note.. You can overide the shippingtotal with a setheader.DonovanWJ Starck wrote:> In an attempt to offer free shipping when 2 or more products are> ordered, I have this in formulas.db:>> [orderfile ShoppingCarts/[GetCookie SessionID]][lineitems][math> show=f]ordered=[lineindex][/math][/lineitems][/orderfile][showif> [ordered]>1]0.00[/showif][showif [ordered]<2]6.50[/showif]>> When 1 item is added to the cart the shipping ([shippingtotal]) is> correctly figured.>> When a second item is added the shipping does not change to 0>> When the third and any further items are added the shipping changes to> 0.>> Why the lag?>> -Will>-------------------------------------------------------------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://webdna.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:
Newbie needs advice to learn to use WebDNA (2003)
ShowNext Questions (2000)
WebDNA implementation of MD5 algorithm? (2003)
Frames and WebCat (1997)
t or f (1997)
WebCat2b13MacPlugIn - [shownext method=post] ??? (1997)
Looking for 5 to 12 shops with 3 URLs & statements (1997)
Setting up WebCatalog with Retail Pro data (1996)
EIMS Problems (1997)
Attention SM: Trigger Bug? (2000)
PIXO (1997)
Date Sorting (1997)
[url] (1997)
Search repost: (2000)
Problems with Price field (1997)
Email notification to one of multiple vendors ? (1997)
E-mailer error codes (1997)
[WebDNA] Ubuntu 16.04 LTS & WebDNA (2017)
Sku numbers (1997)
Non-technical messages ... (1997)