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:

Closing Databases (1998) Nested search (1997) Summary Searches (2000) 2nd WebCatalog2 Feature Request (1996) wrong input values? (1997) WebDNA still will not start on restart (2002) Correct Linux Version for WC 6 (2006) Hello??? (1997) A question about security (1998) Country & Ship-to address & other fields ? (1997) Emailer choke (1997) Creating folders and deleting files (1997) [shell] wget (2004) Search in 2 or more catalogs (1997) [WebDNA] Error installing v6.2 on Ubuntu 10.10 ... (2010) wc 2 pro users - sites, quotes wanted (1997) [REPLACE] inside [FOUNDITEMS] (1998) carriage returns in data (1997) Help! WebCat2 bug (1997) Incrementing a number (1998)