Re: [shippingtotal] still...
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 45765
interpreted = N
texte = John Peacock wrote:> Donovan wrote:> >> > I think you mean shippingTotal ;-)>> No, I mean shipCost. shippingTotal is the sum of the line items>> for each line item: (qty * unitShipCost)> plus the header field shipCost>> shippingTotal can be overridden at the point of [purchase], but otherwise it is> calculated from the above.ShippingTotal can be overridden anywhere but I may have mis-understood what youmeant.> shipping = $6.50 or free if you buy 2 or more>> then it is much easier to just replace the shipCost with $6.50 when 1 item is> ordered and with 0 if there is more than one item.>> AFAIK, if you set the header field shippingTotal on any page then later> [purchase], the shippingTotal will again be calculated from the above rules> instead.Actually, This is incorrect. From the docs:WebMerchant displays this value if it is explicitly set, otherwise it computes itfrom the numbersprovided in the order file.Also, I did verify this on my munge store by putting[setheader cart=[cart]&db=admin/products.db]shippingTotal=350.00[/setheader]at the top of the thankyou.tpl page (before the purchase command).I received an email with $350.00 for Shipping And Handling. -ouch!> I've never used shippingTotal, since it wasn't available in 1.x...I've used it because in the docs it doesn't show shipcost as being an optionalheader to overide (though one may very well be able to overide it)With much respect,Donovan>>>> John>> --> John Peacock> Director of Information Research and Technology> Rowman & Littlefield Publishing Group> 4720 Boston Way> Lanham, MD 20706> 301-459-3366 x.5010> fax 301-429-5747>>-- ------------------------------------------------------------------------ ------------------------------------------------------------------------<><> Donovan Brooke <><>->ï ------------------------------------------------------------------------ -------------------------------------------------------------------------------------------------------------------------------------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:
John Peacock wrote:> Donovan wrote:> >> > I think you mean shippingTotal ;-)>> No, I mean shipCost. shippingTotal is the sum of the line items>> for each line item: (qty * unitShipCost)> plus the header field shipCost>> shippingTotal can be overridden at the point of [purchase], but otherwise it is> calculated from the above.ShippingTotal can be overridden anywhere but I may have mis-understood what youmeant.> shipping = $6.50 or free if you buy 2 or more>> then it is much easier to just replace the shipCost with $6.50 when 1 item is> ordered and with 0 if there is more than one item.>> AFAIK, if you set the header field shippingTotal on any page then later> [purchase], the shippingTotal will again be calculated from the above rules> instead.Actually, This is incorrect. From the docs:WebMerchant displays this value if it is explicitly set, otherwise it computes itfrom the numbersprovided in the order file.Also, I did verify this on my munge store by putting[setheader cart=[cart]&db=admin/products.db]shippingTotal=350.00[/setheader]at the top of the thankyou.tpl page (before the purchase command).I received an email with $350.00 for Shipping And Handling. -ouch!> I've never used shippingTotal, since it wasn't available in 1.x...I've used it because in the docs it doesn't show shipcost as being an optionalheader to overide (though one may very well be able to overide it)With much respect,Donovan>>>> John>> --> John Peacock> Director of Information Research and Technology> Rowman & Littlefield Publishing Group> 4720 Boston Way> Lanham, MD 20706> 301-459-3366 x.5010> fax 301-429-5747>>-- ------------------------------------------------------------------------ ------------------------------------------------------------------------<><> Donovan Brooke <><>->ï ------------------------------------------------------------------------ -------------------------------------------------------------------------------------------------------------------------------------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
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:
RE: Purchased cart being overwritten - still !?? (1997)
[WebDNA] Friendly urls and multipart/form-data (2011)
WebCat, The Trend, & Consolidating... (1997)
Multiple Merchant Accounts? (1997)
[WebDNA] BBEdit WebDNA codeless language module (2016)
[WebDNA] Date: header on emails - timezone problem perhaps (emai)
SQL Madness (2005)
WebCat2 beta 11 - new prefs ... (1997)
Summing fields (1997)
WebCatalog for NT (1999)
Creating PDF (2004)
[WebDNA] form data compared to existing database (2016)
HTML Editors (1997)
default image if image in code not available (2003)
webdelivery.tmpl???? (1997)
Where's 3.0 Online Docs? (1999)
Country & Ship-to address & other fields ? (1997)
WC2f3 (1997)
Using Japanesse text with webcat. (1998)
[WebDNA] search limit using WO? (2012)