Re: unitshipcost vs shipcosts

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12507
interpreted = N
texte = >My site will be delivering stuff via email and snailmail/fedx. I have asked >this q before but the answers seem to revolve around a user only ordering >an email product or only ordering a shipped product. In my case, there will >be many who be ordering both at the same time.There is a canEmail field in the database that should determine if a product in a mixed order is available for electronic delivery. This tells WebMerchant to create a WebDelivery file for that product SKU. The UnitShipCost field should be set to 0.0 for items that are electronically deliverable.Are you trying to handle a case where sometimes there are no physical items in an order, so therefore the base shipping [shipcost] should be 0.0? If so, I think you could put a check for all-electronic into the shopping cart template.-- ShoppingCart.tmpl --
[lineitems] [/lineItems] [showif [math]totalPhysical[/math]>0] [/showif]
Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: unitshipcost vs shipcosts (Grant Hulbert 1997)
  2. unitshipcost vs shipcosts (Kevin Furuta 1997)
>My site will be delivering stuff via email and snailmail/fedx. I have asked >this q before but the answers seem to revolve around a user only ordering >an email product or only ordering a shipped product. In my case, there will >be many who be ordering both at the same time.There is a canEmail field in the database that should determine if a product in a mixed order is available for electronic delivery. This tells WebMerchant to create a WebDelivery file for that product SKU. The UnitShipCost field should be set to 0.0 for items that are electronically deliverable.Are you trying to handle a case where sometimes there are no physical items in an order, so therefore the base shipping [shipcost] should be 0.0? If so, I think you could put a check for all-electronic into the shopping cart template.-- ShoppingCart.tmpl --
[math]totalPhysical=0[/math]--> [lineitems] [/lineItems] [showif [math]totalPhysical[/math]>0] [/showif]
Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Grant Hulbert

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:

View order not right (1997) range searching (1998) Enhancement Request for WebCatalog-NT (1996) Great product and great job ! (1997) Updating Prices in Online Database (1999) notification solutions (1997) Upgrading from version (1998) Date math format (1998) Protect vs Authenicate (1997) So many lookers, hey smith micro (2003) Help name our technology! I found it (1997) Can't Update records (1997) Multi-processor Mac info ... (1997) Webcat XML/XSLT Performance vs. static Html (2006) quantity minimum problem (1997) Dreamweaver and WebDNA (2003) [WebDNA] Digest from talk@webdna.us (2008) Re:Random Command (1997) No Data Results (1997) Re1000001: Setting up shop (1997)