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:

Secure server question (1997) [WebDNA] WebDNA glitch, no response required ... (2009) Only charge card when product shipped ? (1997) Hyperboard/bulletin board available (1998) Shopping problems with 2.1b3 acgi (1997) Multiple Ad databases? (1997) RE: WebDNA-Talk searchable? (1997) Highlighting words found in a keyword search (2003) Displaying photo attached to first record (1997) PCS Emailer's role ? (1997) Off-topic: Cheap hosting (but not webdna) ... (2002) Multiple catalog databases and showcart (1997) OFF-TOPIC: Lending investors ... (2002) WebCat B13 Mac CGI -- Frames question (1997) Why doesn't it change? (1998) WebCat2 - [format thousands] (1997) Buying sans cart (1997) WebCatalog for guestbook ? (1997) WC2b15 - [HTMLx]...[/HTMLx] problems SOLVED! (1997) New Web Site Developers Database (1996)