Re: When is unitShipCost calculated?

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20421
interpreted = N
texte = > How can I modify the unitShipCost based on variables declared after the >item is added to a shippingCart?All lineitems are 'fixed' once they are added to the cart -- the formula is applied at the moment of 'Add'. Usually we set up HTML pages to ask for the shipping destination *before* the cart, just for this reason. The GeneralStore example does this, for instance.For more complex stuff, you can go back and modify lineitems once they are in the cart using [SetLineItem] as you already mentioned.Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ 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?All lineitems are 'fixed' once they are added to the cart -- the formula is applied at the moment of 'Add'. Usually we set up HTML pages to ask for the shipping destination *before* the cart, just for this reason. The GeneralStore example does this, for instance.For more complex stuff, you can go back and modify lineitems once they are in the cart using [setlineitem] as you already mentioned.Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ PCS Technical Support

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:

SQL db type (2006) includes and cart numbers (1997) [OT] KeepItUp for Windows (2003) Major Security Hole IIS NT (1998) Shipping Help! (1998) More on the email templates (1997) Multiple Admins through users.db (1997) Ampersand (1997) [movefile] create stationery files (1998) Locking up with WebCatalog... (1997) Bug alert! (1997) PIXO support (1997) plugin-acgi, different results (1997) LOOP and IF statements (1997) Here's how to kill a Butler Database. (1997) Max Record length restated as maybe bug (1997) form crasehes server (1997) gateway application timeouts (1998) setlineiems and UnitShip Cost (2000) Databases going to sleep (1998)