pwa-kit icon indicating copy to clipboard operation
pwa-kit copied to clipboard

V2 Storefront Preview add siteId query parameter to shopper context calls (@W-15976653@)

Open adamraya opened this issue 8 months ago • 0 comments

Description

The PR adds the siteId defined in getConfig to the window.STOREFRONT_PREVIEW global for later use in the Storefront Preview Shopper Context Calls.

Types of Changes

  • [ ] Bug fix (non-breaking change that fixes an issue)
  • [ ] New feature (non-breaking change that adds functionality)
  • [ ] Documentation update
  • [ ] Breaking change (could cause existing functionality to not work as expected)
  • [ ] Other changes (non-breaking changes that does not fit any of the above)

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

  • (change1)

How to Test-Drive This PR

  • (step1)

Checklists

General

  • [ ] Changes are covered by test cases
  • [ ] CHANGELOG.md updated with a short description of changes (not required for documentation updates)

Accessibility Compliance

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

  • [ ] There are no changes to UI

or...

Localization

  • [ ] Changes include a UI text update in the Retail React App (which requires translation)

adamraya avatar Jul 03 '24 16:07 adamraya