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:

Searching multiple fields from one form field (1997) FW: weird problem (2004) Help!!!! (1997) [WebDNA] RESTART WebDNA (2016) quantity minimum problem (1997) Template cache problem with WC4 on Mac OS X (2000) Caching [include] files ... (1997) Attn: Bug in GeneralStore example b15 (1997) Retaining formatting (2000) RE:It just Does't add up!!! (1997) Banner DNA (1997) Max Record length restated as maybe bug (1997) ssl and invoic.tpl and back bttn (2002) Used to be good 4.5 to 6 code change (2004) PCS Frames (1997) Virtual hosting and webcatNT (1997) Protect (1997) [OT] installing binary app (2006) WC 2.0 frames feature (1997) SFTP (2004)