Open ZoeBeykirch opened 7 months ago
@shirin27 Please add this to the list of tickets to be refined.
@ZoeBeykirch according to the code at the side of RapidImages, there’s support for translations.
My proposed solution was to depend on the page's metadata (actually site-wide). Support for this is already present for Volvo Trucks. The corresponding code will be rolled out with the helix-v5 upgrade, but we can expedite it.
I’ve checked the code I mentioned, and it doesn’t change the contents of the Truck Configurator.
A while back, Kalle wrote to me:
Not sure if we'll be able to test anyway without a test site set up for the configurator For now we will use a query parameter to force the market
I’ll send Kalle a message
@cogniSyb Thank you! Please include @amglebihan in your communications with Kalle too if he hasn't already been involved yet.
Spike has been created after conversation with Rapid Images on what will need to be done differently than the USA website: https://github.com/hlxsites/vg-macktrucks-com/issues/790
@ZoeBeykirch @Kannan-CM I created two pages where the configurator is set up: one for the Anthem truck and one for the Granite series truck. However, I simply copied the content from macktrucks.com, so the content and metadata will need to be updated. Additionally, Kalle will be adding an option in the configurator to set the emission level within the powertrain section. No action is required on our part, but we won't be able to test it until Kalle completes the task.
Metadata has been updated
Description
For this ticket we will test only the Mexico market configurator.
Leveraging the work that has been done for the USA Mack truck configurator and the recent spike investigation, this ticket is a placeholder to visualize the work to be done by the Dev team for the Latin America market sites configurator launch for Anthem and Granite models.
Acceptance Criteria for Front End
Notes
How to test the Latin America market: If your page has a meta tag in the header with name "locale" and a value corresponding to one of the latin markets, the configurator will load Spanish localized data. You can also override it using the query parameter ?market=la Adding a query parameter ?el=euro3 will filter based on the euro3 emission standard. Other supported values are euro5 or ghg. The parameters will be cleared after they are applied. You can add this to any links into the configurator where you want to show content based on an emission level.
Main Links:
Example of adding locale and emissions:
The bundles needed to link are called:
Some features to test:
These are the remaining changes Rapid Images should finish by August 27th:
These things are not yet included and coming soon:
Old Acceptance Criteria