Laddawn.com : FOB / VIA Change Popup

Overview:  The visual design can be found at: https://laddawn1.atlassian.net/wiki/display/web/2b.+Shipping+and+packaging+-+IN+PROGRESS  about half way down after (Design 3).  We’ve added to the design so read below.

Processing:

Get the list of VIA codes as SystemTable objects TIER = VIA, Select item based on Bundle ShipVia. Display the description in the box and use ID as the value.

The Shipping Paid By (FOB) hard code the options below:

  • Laddawn (prepaid) – value: PPD
  • Add shipping charges to my invoice. – P&A
  • Billto Customer will pay the carrier directly – 3PB
  • Shipto Customer will pay the carrier directly – COL
  • Someone Else – 3PB
    • We as an IT Deprt are adding this option to accommodate what needs to happen
    • The option text for this one will be
      • A Third Party (Collect)

The last 3 need to show an entry form where the customer can specify:

  • Account Number
  • Freight Payer Name
  • Freight Payer Address 1
  • Freight Payer Address 2
  • City
  • State
  • Zip

 

City and State are not entry fields.  When they enter the zip code back fill these 2 fields with the result of UtilityService.LocationFromZip.  If LocationFromZip returns multiple records, display a dropdown box for City allowing the user the choose from the city’s the zip code applies to.

When the user clicks OK:

  • Call ShoppingCart.ValidateShippingInfo if that returns an error cancel the OK.
  • If no error then Set the Bundle’s FOB (CheckoutSingleBundleModel.ShippingPaidBy) and VIA (CheckoutSingleBundleModel.ShippingVia)