SalesforceCommerceCloud / pwa-kit

React-based JavaScript frontend framework to create a progressive web app (PWA) storefront for Salesforce B2C Commerce.
https://developer.salesforce.com/docs/commerce/pwa-kit-managed-runtime/guide/pwa-kit-overview.html
BSD 3-Clause "New" or "Revised" License
283 stars 130 forks source link

Merge Store Locator into v4/template-retail-react-app branch (@W-16258936) #1922

Closed jeremy-jung1 closed 2 months ago

jeremy-jung1 commented 2 months ago

Description

This PR creates the Store Locator feature for the template retail react app. The store locator is available in the app via a Modal, which is accessible by the Store Icon on the top right of the app in the header, and via a page, which is available by going to the Store Locator at the footer of the Home page or typing /store-locator after the app URL.

The store locator also has a feature flag to account for merchants that sell only online.

This PR is a culmination of PRs previously approved:

Types of Changes

Breaking changes include:

  • Removing a public function or component or prop
  • Adding a required argument to a function
  • Changing the data type of a function parameter or return value
  • Adding a new peer dependency to package.json

Changes

How to Test-Drive This PR

Checklists

General

Accessibility Compliance

You must check off all items in one of the follow two lists:

or...

Localization