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:

OT: Poll Results (2002) WebDNA-Talk List is moving... (2000) Using [purchase] (1998) WebCatalog 2.1 for NT (1998) Pithy questions on webcommerce & siteedit (1997) NT considerations (1997) WebCat2: Master Counter snippet (1997) SetHeader not Working (2006) Passing along data (2000) two of the same named db's open at once (1998) Install Webcatalog under NT4.0 and Microsoft IIS 2.0 (1997) Getting total number of items ordered (1997) New public beta available (1997) Database Options (1997) disappearing SKU (etc.) fields (1998) Understanding variables (1999) [OT] Favourite Firefox Extensions (2004) Duplicate Messages (1998) [encrypt] problems? (1998) Re:2nd WebCatalog2 Feature Request (1996)