When is unitShipCost calculated?

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20413
interpreted = N
texte = How can I modify the unitShipCost based on variables declared after the item is added to a shippingCart? I need to change it based on the shipping method chosen, and other options selected on the showCart page. I tried using a [setLineItem] context inside the [lineitems] loop on the next page (where tax and shipping are calculated) but it turns up 0 every time. Whatever I use has to loop to check every lineitem in the cart, every time the taxTotal and grandTotal are calculated. Thanks,Brian:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: : Brian.Drum :::::::::::::::::::::::::::::::: mailto:bdrum@aecsoft.com : : Web.Designer :::::::::::::::::::::::::::::::: http://www.aecsoft.com : : AEC.Software;.Inc.:::::::::::::::::::::::::::: tel:703.450.1980 :::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Associated Messages, from the most recent to the oldest:

    
  1. Re: When is unitShipCost calculated? (Luke Melia 1998)
  2. Re: When is unitShipCost calculated? (Brian Drum 1998)
  3. Re: When is unitShipCost calculated? (Brian Drum 1998)
  4. Re: When is unitShipCost calculated? (PCS Technical Support 1998)
  5. When is unitShipCost calculated? (Brian Drum 1998)
How can I modify the unitShipCost based on variables declared after the item is added to a shippingCart? I need to change it based on the shipping method chosen, and other options selected on the showCart page. I tried using a [setlineitem] context inside the [lineitems] loop on the next page (where tax and shipping are calculated) but it turns up 0 every time. Whatever I use has to loop to check every lineitem in the cart, every time the taxTotal and grandTotal are calculated. Thanks,Brian:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: : Brian.Drum :::::::::::::::::::::::::::::::: mailto:bdrum@aecsoft.com : : Web.Designer :::::::::::::::::::::::::::::::: http://www.aecsoft.com : : AEC.Software;.Inc.:::::::::::::::::::::::::::: tel:703.450.1980 :::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Brian Drum

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:

Search in 2 or more catalogs (1997) [WebDNA] a major shift in strategy? (2008) [WebDNA] No more SQL in 7.1? (2012) [random] only for 1-100??? (1997) WebCatalog 4.0 Users that want to talk to the Media.... (2000) Duplicate Hell (1999) Multithreading of [replace] (1999) RE: protect tag on NT (1997) using showpage and showcart commands (1996) off topic - dna snipets (1997) Why does setheader provide a db= parameter? (2005) Date or time comparisons have bugs ... (1998) [interpret] inside the db field? (1997) Generating unique SKU from [cart] - Still Stumped... (1997) WebDNA won't start on Apache/iTools7 (2003) Exclamation point (1997) requiredfields (2002) color and size options (1997) Question about links (1999) security (1997)