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:

WebCommerce: Folder organization ? (1997) Emailing html (1998) Access Denied! But why? (1997) [cart] not being interpreted inside [founditems] (1997) Frames and WebCat (1997) Credit card processing - UK (1997) The IBC root beer has arrived! (1997) Moose on a Stump (2000) forms and variables (1998) 2 Questions (2001) Sorry I didn't pay attention-but ??? (1997) Separate SSL Server (1997) Problem during evaluation of WebCatalog (1998) Listing Words Backwords (2001) itools webcat atartup (2000) Sending E-mail (1997) WebCat2: Found Items syntax, etc. (1997) Re:2nd WebCatalog2 Feature Request (1996) Vaporized orders... (2003) MacAuthorize order data fields WAS:How To question... (1997)