shopjs/shop.js

Billing information form

Opened this issue · 0 comments

The current form requires a few changes. We should ask for country and state/province information first, so our validators for addresses can be geo-sensitive. We currently only follow the American standard.

This is functionally the same form as #239 with a few words changed to make it clear it's for Billing, not Shipping.

Tasks:

  • Create Country and Locale information collectors
  • Create Address information collectors; address, zip code/region code, etc, based on Locale info
  • Validate Address information based upon Country/Locale standards
  • Create 'same as Shipping address' checkbox
  • Make 'same as Shipping address' checkbox populate data from the billing address

Acceptance Criteria:

  • Can enter country and locale
  • Can enter address information
  • Address information is validated upon locale standards; test United States, Canada, UK
  • Can click 'same as billing' checkbox
  • 'Same as Shipping' checkbox populates from Shipping form created in #239