hlxsites / vg-volvotrucks-us

Franklin site for https://www.volvotrucks.us/
https://www.volvotrucks.us/
Apache License 2.0
2 stars 5 forks source link

Bug: Configurator issues with Canadian postcodes #624

Closed ZoeBeykirch closed 2 months ago

ZoeBeykirch commented 2 months ago

Issue Type

Bug

Summary

In both the US and CA sites, the configurator does not accept submissions when a Canadian postal code is entered.

Priority

Blocker

Description

There is a critical issue when a user tries to submit a form on the configurator using a Canadian postal code, and both the US and CA sites do not accept submissions when a postal code is entered. Ryan has checked on the Salesforce Account Engagement side and confirmed this is a website issue and the form should be able to accept the zipcode.

Affected Device Classes

Desktop, Tablet, Mobile

Affected Browsers/Devices and Versions

All browsers and devices

Steps to Reproduce

  1. Navigate to https://www.volvotrucks.us/truck-builder and https://www.volvotrucks.ca/en-ca/truck-builder and https://www.volvotrucks.ca/fr-ca/truck-builder
  2. Go through all steps of the configurator to get to the summary page
  3. Click the cta to "submit your build"
  4. Fill out the information in the "tell us about yourself form" and try using a Canadian zip code (EX: L5N0B3)
  5. See the error for "Invalid Zip Code" that does not allow the user to submit the form

Expected Results

Website should recognize Canadian zip codes on the US and Canadian configurators. A Canadian postal code is a six-character string that forms part of a postal address in Canada. Canada's postal codes are alphanumeric. They are in the format A9A 9A9, where A is a letter and 9 is a digit, with a space separating the third and fourth characters. There are no 5-digit zip codes in Canada. Zip codes are set by the US Postal Service, which doesn't serve Canada. Canada Post instead uses 6-character postal codes, which alternate: letter-number-letter number-letter-number

Actual Results/Attachment

Image

ZoeBeykirch commented 2 months ago

Closing ticket as Dev team confirmed this bug will need to be fixed on Rapid Images side and no website changes will be required.