Skip to content

@W-21414441@ Bugfix - Fix adding to cart from a master product in the wishlist - #3732

Merged
vcua-mobify merged 2 commits into
prep-release-3.17.xfrom
vc/bugfix-wishlist-master-add-to-cart
Mar 11, 2026
Merged

@W-21414441@ Bugfix - Fix adding to cart from a master product in the wishlist#3732
vcua-mobify merged 2 commits into
prep-release-3.17.xfrom
vc/bugfix-wishlist-master-add-to-cart

Conversation

@vcua-mobify

@vcua-mobify vcua-mobify commented Mar 10, 2026

Copy link
Copy Markdown
Contributor

This PR fixes an add to cart bug in the wishlist when the product in the wishlist is a master.

The root cause of the problem was a function signature mismatch.
The ProductView component calls addToCart([{product, variant, quantity}]) (as seen here) , a singular array argument.

Meanwhile, wishlist-primary-action expects addToCart={(variant, quantity) => handleAddToCart(variant, quantity)}. Note the separate variant / quantity args. As a result, the entire array of [{product, variant, quantity}] would get passed into variant, leaving quantity undefined.

Test steps:

  • Start the app
  • Log in
  • Add a master product to the wishlist (ie. Cotton Turtleneck Sweater)
  • Go to the wishlist and verify the master product is present (You'll see a More Options rather than an Add to Cart button)
  • Click More Options
  • Select a variant and add to cart

@vcua-mobify
vcua-mobify requested a review from a team as a code owner March 10, 2026 17:42
@cc-prodsec

cc-prodsec commented Mar 10, 2026

Copy link
Copy Markdown
Collaborator

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@vcua-mobify
vcua-mobify merged commit ce1e3dc into prep-release-3.17.x Mar 11, 2026
73 of 74 checks passed
@vcua-mobify
vcua-mobify deleted the vc/bugfix-wishlist-master-add-to-cart branch March 11, 2026 17:01
vcua-mobify added a commit that referenced this pull request Mar 12, 2026
* W-2129587: removed wrapperStyle, add position fixed for LoadingSpinner to have full screen overlay

* bump version to preview.1

* @W-21414441@ Bugfix - Fix adding to cart from a master product in the wishlist (#3732)

* Fix add to cart bug and add e2e test

* Update CHANGELOG.md

* W-21432256 fix redirect payment methods status value during preview t… (#3734)

* W-21432256 fix redirect payment methods status value during preview testing

* @W-21551291: [1CC][PWA Kit] Custom billing address lost after OTP registration (#3741)

* @W-21551291: [1CC][PWA Kit] Custom billing address lost after OTP registration

Signed-off-by: d.phan <d.phan@salesforce.com>

* add changelog

Signed-off-by: d.phan <d.phan@salesforce.com>

* lint fix

Signed-off-by: d.phan <d.phan@salesforce.com>

* lint fix

Signed-off-by: d.phan <d.phan@salesforce.com>

---------

Signed-off-by: d.phan <d.phan@salesforce.com>

* clean up changelog

---------

Signed-off-by: nayanavishwa <nayana.vishwa@salesforce.com>
Signed-off-by: d.phan <d.phan@salesforce.com>
Co-authored-by: nayanavishwa <nayana.vishwa@salesforce.com>
Co-authored-by: amittapalli <amittapalli@yahoo.com>
Co-authored-by: Danny Phan <125327707+dannyphan2000@users.noreply.github.com>
vcua-mobify added a commit that referenced this pull request Mar 12, 2026
* W-2129587: removed wrapperStyle, add position fixed for LoadingSpinner to have full screen overlay

* bump version to preview.1

* @W-21414441@ Bugfix - Fix adding to cart from a master product in the wishlist (#3732)

* Fix add to cart bug and add e2e test

* Update CHANGELOG.md

* W-21432256 fix redirect payment methods status value during preview t… (#3734)

* W-21432256 fix redirect payment methods status value during preview testing

* @W-21551291: [1CC][PWA Kit] Custom billing address lost after OTP registration (#3741)

* @W-21551291: [1CC][PWA Kit] Custom billing address lost after OTP registration

Signed-off-by: d.phan <d.phan@salesforce.com>

* add changelog

Signed-off-by: d.phan <d.phan@salesforce.com>

* lint fix

Signed-off-by: d.phan <d.phan@salesforce.com>

* lint fix

Signed-off-by: d.phan <d.phan@salesforce.com>

---------

Signed-off-by: d.phan <d.phan@salesforce.com>

* clean up changelog

* bump versions

* Add missing overrides to extensible app (#3745)

* Add missing overrides to extensible app

* Update CHANGELOG.md

---------

Signed-off-by: nayanavishwa <nayana.vishwa@salesforce.com>
Signed-off-by: d.phan <d.phan@salesforce.com>
Co-authored-by: nayanavishwa <nayana.vishwa@salesforce.com>
Co-authored-by: amittapalli <amittapalli@yahoo.com>
Co-authored-by: Danny Phan <125327707+dannyphan2000@users.noreply.github.com>
vcua-mobify added a commit that referenced this pull request Mar 12, 2026
* W-2129587: removed wrapperStyle, add position fixed for LoadingSpinner to have full screen overlay

* bump version to preview.1

* @W-21414441@ Bugfix - Fix adding to cart from a master product in the wishlist (#3732)

* Fix add to cart bug and add e2e test

* Update CHANGELOG.md

* W-21432256 fix redirect payment methods status value during preview t… (#3734)

* W-21432256 fix redirect payment methods status value during preview testing

* @W-21551291: [1CC][PWA Kit] Custom billing address lost after OTP registration (#3741)

* @W-21551291: [1CC][PWA Kit] Custom billing address lost after OTP registration

Signed-off-by: d.phan <d.phan@salesforce.com>

* add changelog

Signed-off-by: d.phan <d.phan@salesforce.com>

* lint fix

Signed-off-by: d.phan <d.phan@salesforce.com>

* lint fix

Signed-off-by: d.phan <d.phan@salesforce.com>

---------

Signed-off-by: d.phan <d.phan@salesforce.com>

* clean up changelog

* bump versions

* Add missing overrides to extensible app (#3745)

* Add missing overrides to extensible app

* Update CHANGELOG.md

* Bump versions

---------

Signed-off-by: nayanavishwa <nayana.vishwa@salesforce.com>
Signed-off-by: d.phan <d.phan@salesforce.com>
Co-authored-by: nayanavishwa <nayana.vishwa@salesforce.com>
Co-authored-by: amittapalli <amittapalli@yahoo.com>
Co-authored-by: Danny Phan <125327707+dannyphan2000@users.noreply.github.com>
vcua-mobify added a commit that referenced this pull request Mar 13, 2026
* Bump versions

* @W-21414441@ Bump versions for 3.17.0-preview.1 (#3733)

* W-2129587: removed wrapperStyle, add position fixed for LoadingSpinner to have full screen overlay

* bump version to preview.1

* @W-21414441@ Bugfix - Fix adding to cart from a master product in the wishlist (#3732)

* Fix add to cart bug and add e2e test

* Update CHANGELOG.md

* W-21432256 fix redirect payment methods status value during preview t… (#3734)

* W-21432256 fix redirect payment methods status value during preview testing

* @W-21551291: [1CC][PWA Kit] Custom billing address lost after OTP registration (#3741)

* @W-21551291: [1CC][PWA Kit] Custom billing address lost after OTP registration

Signed-off-by: d.phan <d.phan@salesforce.com>

* add changelog

Signed-off-by: d.phan <d.phan@salesforce.com>

* lint fix

Signed-off-by: d.phan <d.phan@salesforce.com>

* lint fix

Signed-off-by: d.phan <d.phan@salesforce.com>

---------

Signed-off-by: d.phan <d.phan@salesforce.com>

* clean up changelog

---------

Signed-off-by: nayanavishwa <nayana.vishwa@salesforce.com>
Signed-off-by: d.phan <d.phan@salesforce.com>
Co-authored-by: nayanavishwa <nayana.vishwa@salesforce.com>
Co-authored-by: amittapalli <amittapalli@yahoo.com>
Co-authored-by: Danny Phan <125327707+dannyphan2000@users.noreply.github.com>

* @W-21414441@ Bump versions for 3.17.0-preview.12 (#3744)

* W-2129587: removed wrapperStyle, add position fixed for LoadingSpinner to have full screen overlay

* bump version to preview.1

* @W-21414441@ Bugfix - Fix adding to cart from a master product in the wishlist (#3732)

* Fix add to cart bug and add e2e test

* Update CHANGELOG.md

* W-21432256 fix redirect payment methods status value during preview t… (#3734)

* W-21432256 fix redirect payment methods status value during preview testing

* @W-21551291: [1CC][PWA Kit] Custom billing address lost after OTP registration (#3741)

* @W-21551291: [1CC][PWA Kit] Custom billing address lost after OTP registration

Signed-off-by: d.phan <d.phan@salesforce.com>

* add changelog

Signed-off-by: d.phan <d.phan@salesforce.com>

* lint fix

Signed-off-by: d.phan <d.phan@salesforce.com>

* lint fix

Signed-off-by: d.phan <d.phan@salesforce.com>

---------

Signed-off-by: d.phan <d.phan@salesforce.com>

* clean up changelog

* bump versions

* Add missing overrides to extensible app (#3745)

* Add missing overrides to extensible app

* Update CHANGELOG.md

---------

Signed-off-by: nayanavishwa <nayana.vishwa@salesforce.com>
Signed-off-by: d.phan <d.phan@salesforce.com>
Co-authored-by: nayanavishwa <nayana.vishwa@salesforce.com>
Co-authored-by: amittapalli <amittapalli@yahoo.com>
Co-authored-by: Danny Phan <125327707+dannyphan2000@users.noreply.github.com>

* @W-21414441@ PWA Kit Release 3.17.0 (#3746)

* W-2129587: removed wrapperStyle, add position fixed for LoadingSpinner to have full screen overlay

* bump version to preview.1

* @W-21414441@ Bugfix - Fix adding to cart from a master product in the wishlist (#3732)

* Fix add to cart bug and add e2e test

* Update CHANGELOG.md

* W-21432256 fix redirect payment methods status value during preview t… (#3734)

* W-21432256 fix redirect payment methods status value during preview testing

* @W-21551291: [1CC][PWA Kit] Custom billing address lost after OTP registration (#3741)

* @W-21551291: [1CC][PWA Kit] Custom billing address lost after OTP registration

Signed-off-by: d.phan <d.phan@salesforce.com>

* add changelog

Signed-off-by: d.phan <d.phan@salesforce.com>

* lint fix

Signed-off-by: d.phan <d.phan@salesforce.com>

* lint fix

Signed-off-by: d.phan <d.phan@salesforce.com>

---------

Signed-off-by: d.phan <d.phan@salesforce.com>

* clean up changelog

* bump versions

* Add missing overrides to extensible app (#3745)

* Add missing overrides to extensible app

* Update CHANGELOG.md

* Bump versions

---------

Signed-off-by: nayanavishwa <nayana.vishwa@salesforce.com>
Signed-off-by: d.phan <d.phan@salesforce.com>
Co-authored-by: nayanavishwa <nayana.vishwa@salesforce.com>
Co-authored-by: amittapalli <amittapalli@yahoo.com>
Co-authored-by: Danny Phan <125327707+dannyphan2000@users.noreply.github.com>

* Bump to next dev version

* Remove -dev in commerce sdk react 5.1.0 changelog

---------

Signed-off-by: nayanavishwa <nayana.vishwa@salesforce.com>
Signed-off-by: d.phan <d.phan@salesforce.com>
Signed-off-by: vcua-mobify <47404250+vcua-mobify@users.noreply.github.com>
Co-authored-by: nayanavishwa <nayana.vishwa@salesforce.com>
Co-authored-by: amittapalli <amittapalli@yahoo.com>
Co-authored-by: Danny Phan <125327707+dannyphan2000@users.noreply.github.com>
vcua-mobify added a commit that referenced this pull request Mar 13, 2026
* W-2129587: removed wrapperStyle, add position fixed for LoadingSpinner to have full screen overlay

* bump version to preview.1

* @W-21414441@ Bugfix - Fix adding to cart from a master product in the wishlist (#3732)

* Fix add to cart bug and add e2e test

* Update CHANGELOG.md

* W-21432256 fix redirect payment methods status value during preview t… (#3734)

* W-21432256 fix redirect payment methods status value during preview testing

* @W-21551291: [1CC][PWA Kit] Custom billing address lost after OTP registration (#3741)

* @W-21551291: [1CC][PWA Kit] Custom billing address lost after OTP registration

Signed-off-by: d.phan <d.phan@salesforce.com>

* add changelog

Signed-off-by: d.phan <d.phan@salesforce.com>

* lint fix

Signed-off-by: d.phan <d.phan@salesforce.com>

* lint fix

Signed-off-by: d.phan <d.phan@salesforce.com>

---------

Signed-off-by: d.phan <d.phan@salesforce.com>

* clean up changelog

* bump versions

* Add missing overrides to extensible app (#3745)

* Add missing overrides to extensible app

* Update CHANGELOG.md

* Bump versions

* @W-20784635@ Productize base paths (#3614)

* @W-20784722@ Move envBasePath into ssrParameters (#3590)

* Move envBasePath into ssrParameters

* Apply MRT restrictions on supported base paths

* Update changelogs

* one more changelog

* Update express.test.js

* Remove whitespace trimming

* Remove test base path

* Add comment

* @W-20784635@ Support adding base paths to shopper facing URLs (#3615)

* Add base path to react router routes

* Handle basename for urls that bypass react router

* Add a feature toggle for app base names

* Add tests

* Update config templates

* Rename getBasename to getRouterBasePath

* Update changelogs

* Test fixes

* Remove unused import and cleanup comments

* Apply suggestions

* Clean up redundant code

* Fix issues from merge conflict

* Update CHANGELOG.md

* [Storefront Preview] Address base path duplication for manually entered urls (#3666)

* Address base path duplication

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Apply suggestions

* Fix unwanted basePath removal if base path is a substring

* Lint

* Add console warn

* Update refresh component to avoid duplicate base paths

* Fix merge issue

* Add tests for coverage

* Squash changelogs

* Remove warning

---------

Signed-off-by: vcua-mobify <47404250+vcua-mobify@users.noreply.github.com>

* Bump version to 3.17.1-preview.0

* Update CHANGELOG.md

---------

Signed-off-by: nayanavishwa <nayana.vishwa@salesforce.com>
Signed-off-by: d.phan <d.phan@salesforce.com>
Signed-off-by: vcua-mobify <47404250+vcua-mobify@users.noreply.github.com>
Co-authored-by: nayanavishwa <nayana.vishwa@salesforce.com>
Co-authored-by: amittapalli <amittapalli@yahoo.com>
Co-authored-by: Danny Phan <125327707+dannyphan2000@users.noreply.github.com>
vcua-mobify added a commit that referenced this pull request Mar 20, 2026
* W-2129587: removed wrapperStyle, add position fixed for LoadingSpinner to have full screen overlay

* bump version to preview.1

* @W-21414441@ Bugfix - Fix adding to cart from a master product in the wishlist (#3732)

* Fix add to cart bug and add e2e test

* Update CHANGELOG.md

* W-21432256 fix redirect payment methods status value during preview t… (#3734)

* W-21432256 fix redirect payment methods status value during preview testing

* @W-21551291: [1CC][PWA Kit] Custom billing address lost after OTP registration (#3741)

* @W-21551291: [1CC][PWA Kit] Custom billing address lost after OTP registration

Signed-off-by: d.phan <d.phan@salesforce.com>

* add changelog

Signed-off-by: d.phan <d.phan@salesforce.com>

* lint fix

Signed-off-by: d.phan <d.phan@salesforce.com>

* lint fix

Signed-off-by: d.phan <d.phan@salesforce.com>

---------

Signed-off-by: d.phan <d.phan@salesforce.com>

* clean up changelog

* bump versions

* Add missing overrides to extensible app (#3745)

* Add missing overrides to extensible app

* Update CHANGELOG.md

* Bump versions

* @W-20784635@ Productize base paths (#3614)

* @W-20784722@ Move envBasePath into ssrParameters (#3590)

* Move envBasePath into ssrParameters

* Apply MRT restrictions on supported base paths

* Update changelogs

* one more changelog

* Update express.test.js

* Remove whitespace trimming

* Remove test base path

* Add comment

* @W-20784635@ Support adding base paths to shopper facing URLs (#3615)

* Add base path to react router routes

* Handle basename for urls that bypass react router

* Add a feature toggle for app base names

* Add tests

* Update config templates

* Rename getBasename to getRouterBasePath

* Update changelogs

* Test fixes

* Remove unused import and cleanup comments

* Apply suggestions

* Clean up redundant code

* Fix issues from merge conflict

* Update CHANGELOG.md

* [Storefront Preview] Address base path duplication for manually entered urls (#3666)

* Address base path duplication

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Apply suggestions

* Fix unwanted basePath removal if base path is a substring

* Lint

* Add console warn

* Update refresh component to avoid duplicate base paths

* Fix merge issue

* Add tests for coverage

* Squash changelogs

* Remove warning

---------

Signed-off-by: vcua-mobify <47404250+vcua-mobify@users.noreply.github.com>

* Bump version to 3.17.1-preview.0

* Update CHANGELOG.md

* @W-21671037@ Remove base path from /__pwa-kit requests if showBasePath is false (#3758)

* Remove base path from /__pwa-kit requests if showBasePath is false

* Update CHANGELOG.md

* Use a redirect so client side is able hydrate.

* Apply storefront preview component changes to deal with client-side single page navigation

* Update CHANGELOG.md

* Bump version to 3.17.1

---------

Signed-off-by: nayanavishwa <nayana.vishwa@salesforce.com>
Signed-off-by: d.phan <d.phan@salesforce.com>
Signed-off-by: vcua-mobify <47404250+vcua-mobify@users.noreply.github.com>
Co-authored-by: nayanavishwa <nayana.vishwa@salesforce.com>
Co-authored-by: amittapalli <amittapalli@yahoo.com>
Co-authored-by: Danny Phan <125327707+dannyphan2000@users.noreply.github.com>
vcua-mobify added a commit that referenced this pull request Mar 20, 2026
* Bump versions

* @W-21414441@ Bump versions for 3.17.0-preview.1 (#3733)

* W-2129587: removed wrapperStyle, add position fixed for LoadingSpinner to have full screen overlay

* bump version to preview.1

* @W-21414441@ Bugfix - Fix adding to cart from a master product in the wishlist (#3732)

* Fix add to cart bug and add e2e test

* Update CHANGELOG.md

* W-21432256 fix redirect payment methods status value during preview t… (#3734)

* W-21432256 fix redirect payment methods status value during preview testing

* @W-21551291: [1CC][PWA Kit] Custom billing address lost after OTP registration (#3741)

* @W-21551291: [1CC][PWA Kit] Custom billing address lost after OTP registration

Signed-off-by: d.phan <d.phan@salesforce.com>

* add changelog

Signed-off-by: d.phan <d.phan@salesforce.com>

* lint fix

Signed-off-by: d.phan <d.phan@salesforce.com>

* lint fix

Signed-off-by: d.phan <d.phan@salesforce.com>

---------

Signed-off-by: d.phan <d.phan@salesforce.com>

* clean up changelog

---------

Signed-off-by: nayanavishwa <nayana.vishwa@salesforce.com>
Signed-off-by: d.phan <d.phan@salesforce.com>
Co-authored-by: nayanavishwa <nayana.vishwa@salesforce.com>
Co-authored-by: amittapalli <amittapalli@yahoo.com>
Co-authored-by: Danny Phan <125327707+dannyphan2000@users.noreply.github.com>

* @W-21414441@ Bump versions for 3.17.0-preview.12 (#3744)

* W-2129587: removed wrapperStyle, add position fixed for LoadingSpinner to have full screen overlay

* bump version to preview.1

* @W-21414441@ Bugfix - Fix adding to cart from a master product in the wishlist (#3732)

* Fix add to cart bug and add e2e test

* Update CHANGELOG.md

* W-21432256 fix redirect payment methods status value during preview t… (#3734)

* W-21432256 fix redirect payment methods status value during preview testing

* @W-21551291: [1CC][PWA Kit] Custom billing address lost after OTP registration (#3741)

* @W-21551291: [1CC][PWA Kit] Custom billing address lost after OTP registration

Signed-off-by: d.phan <d.phan@salesforce.com>

* add changelog

Signed-off-by: d.phan <d.phan@salesforce.com>

* lint fix

Signed-off-by: d.phan <d.phan@salesforce.com>

* lint fix

Signed-off-by: d.phan <d.phan@salesforce.com>

---------

Signed-off-by: d.phan <d.phan@salesforce.com>

* clean up changelog

* bump versions

* Add missing overrides to extensible app (#3745)

* Add missing overrides to extensible app

* Update CHANGELOG.md

---------

Signed-off-by: nayanavishwa <nayana.vishwa@salesforce.com>
Signed-off-by: d.phan <d.phan@salesforce.com>
Co-authored-by: nayanavishwa <nayana.vishwa@salesforce.com>
Co-authored-by: amittapalli <amittapalli@yahoo.com>
Co-authored-by: Danny Phan <125327707+dannyphan2000@users.noreply.github.com>

* @W-21414441@ PWA Kit Release 3.17.0 (#3746)

* W-2129587: removed wrapperStyle, add position fixed for LoadingSpinner to have full screen overlay

* bump version to preview.1

* @W-21414441@ Bugfix - Fix adding to cart from a master product in the wishlist (#3732)

* Fix add to cart bug and add e2e test

* Update CHANGELOG.md

* W-21432256 fix redirect payment methods status value during preview t… (#3734)

* W-21432256 fix redirect payment methods status value during preview testing

* @W-21551291: [1CC][PWA Kit] Custom billing address lost after OTP registration (#3741)

* @W-21551291: [1CC][PWA Kit] Custom billing address lost after OTP registration

Signed-off-by: d.phan <d.phan@salesforce.com>

* add changelog

Signed-off-by: d.phan <d.phan@salesforce.com>

* lint fix

Signed-off-by: d.phan <d.phan@salesforce.com>

* lint fix

Signed-off-by: d.phan <d.phan@salesforce.com>

---------

Signed-off-by: d.phan <d.phan@salesforce.com>

* clean up changelog

* bump versions

* Add missing overrides to extensible app (#3745)

* Add missing overrides to extensible app

* Update CHANGELOG.md

* Bump versions

---------

Signed-off-by: nayanavishwa <nayana.vishwa@salesforce.com>
Signed-off-by: d.phan <d.phan@salesforce.com>
Co-authored-by: nayanavishwa <nayana.vishwa@salesforce.com>
Co-authored-by: amittapalli <amittapalli@yahoo.com>
Co-authored-by: Danny Phan <125327707+dannyphan2000@users.noreply.github.com>

* @W-21566314@ - Bump version for 3.17.1-preview.0 (#3749)

* W-2129587: removed wrapperStyle, add position fixed for LoadingSpinner to have full screen overlay

* bump version to preview.1

* @W-21414441@ Bugfix - Fix adding to cart from a master product in the wishlist (#3732)

* Fix add to cart bug and add e2e test

* Update CHANGELOG.md

* W-21432256 fix redirect payment methods status value during preview t… (#3734)

* W-21432256 fix redirect payment methods status value during preview testing

* @W-21551291: [1CC][PWA Kit] Custom billing address lost after OTP registration (#3741)

* @W-21551291: [1CC][PWA Kit] Custom billing address lost after OTP registration

Signed-off-by: d.phan <d.phan@salesforce.com>

* add changelog

Signed-off-by: d.phan <d.phan@salesforce.com>

* lint fix

Signed-off-by: d.phan <d.phan@salesforce.com>

* lint fix

Signed-off-by: d.phan <d.phan@salesforce.com>

---------

Signed-off-by: d.phan <d.phan@salesforce.com>

* clean up changelog

* bump versions

* Add missing overrides to extensible app (#3745)

* Add missing overrides to extensible app

* Update CHANGELOG.md

* Bump versions

* @W-20784635@ Productize base paths (#3614)

* @W-20784722@ Move envBasePath into ssrParameters (#3590)

* Move envBasePath into ssrParameters

* Apply MRT restrictions on supported base paths

* Update changelogs

* one more changelog

* Update express.test.js

* Remove whitespace trimming

* Remove test base path

* Add comment

* @W-20784635@ Support adding base paths to shopper facing URLs (#3615)

* Add base path to react router routes

* Handle basename for urls that bypass react router

* Add a feature toggle for app base names

* Add tests

* Update config templates

* Rename getBasename to getRouterBasePath

* Update changelogs

* Test fixes

* Remove unused import and cleanup comments

* Apply suggestions

* Clean up redundant code

* Fix issues from merge conflict

* Update CHANGELOG.md

* [Storefront Preview] Address base path duplication for manually entered urls (#3666)

* Address base path duplication

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Apply suggestions

* Fix unwanted basePath removal if base path is a substring

* Lint

* Add console warn

* Update refresh component to avoid duplicate base paths

* Fix merge issue

* Add tests for coverage

* Squash changelogs

* Remove warning

---------

Signed-off-by: vcua-mobify <47404250+vcua-mobify@users.noreply.github.com>

* Bump version to 3.17.1-preview.0

* Update CHANGELOG.md

---------

Signed-off-by: nayanavishwa <nayana.vishwa@salesforce.com>
Signed-off-by: d.phan <d.phan@salesforce.com>
Signed-off-by: vcua-mobify <47404250+vcua-mobify@users.noreply.github.com>
Co-authored-by: nayanavishwa <nayana.vishwa@salesforce.com>
Co-authored-by: amittapalli <amittapalli@yahoo.com>
Co-authored-by: Danny Phan <125327707+dannyphan2000@users.noreply.github.com>

* @W-21671037@ Release PWA Kit 3.17.1 (#3761)

* W-2129587: removed wrapperStyle, add position fixed for LoadingSpinner to have full screen overlay

* bump version to preview.1

* @W-21414441@ Bugfix - Fix adding to cart from a master product in the wishlist (#3732)

* Fix add to cart bug and add e2e test

* Update CHANGELOG.md

* W-21432256 fix redirect payment methods status value during preview t… (#3734)

* W-21432256 fix redirect payment methods status value during preview testing

* @W-21551291: [1CC][PWA Kit] Custom billing address lost after OTP registration (#3741)

* @W-21551291: [1CC][PWA Kit] Custom billing address lost after OTP registration

Signed-off-by: d.phan <d.phan@salesforce.com>

* add changelog

Signed-off-by: d.phan <d.phan@salesforce.com>

* lint fix

Signed-off-by: d.phan <d.phan@salesforce.com>

* lint fix

Signed-off-by: d.phan <d.phan@salesforce.com>

---------

Signed-off-by: d.phan <d.phan@salesforce.com>

* clean up changelog

* bump versions

* Add missing overrides to extensible app (#3745)

* Add missing overrides to extensible app

* Update CHANGELOG.md

* Bump versions

* @W-20784635@ Productize base paths (#3614)

* @W-20784722@ Move envBasePath into ssrParameters (#3590)

* Move envBasePath into ssrParameters

* Apply MRT restrictions on supported base paths

* Update changelogs

* one more changelog

* Update express.test.js

* Remove whitespace trimming

* Remove test base path

* Add comment

* @W-20784635@ Support adding base paths to shopper facing URLs (#3615)

* Add base path to react router routes

* Handle basename for urls that bypass react router

* Add a feature toggle for app base names

* Add tests

* Update config templates

* Rename getBasename to getRouterBasePath

* Update changelogs

* Test fixes

* Remove unused import and cleanup comments

* Apply suggestions

* Clean up redundant code

* Fix issues from merge conflict

* Update CHANGELOG.md

* [Storefront Preview] Address base path duplication for manually entered urls (#3666)

* Address base path duplication

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Apply suggestions

* Fix unwanted basePath removal if base path is a substring

* Lint

* Add console warn

* Update refresh component to avoid duplicate base paths

* Fix merge issue

* Add tests for coverage

* Squash changelogs

* Remove warning

---------

Signed-off-by: vcua-mobify <47404250+vcua-mobify@users.noreply.github.com>

* Bump version to 3.17.1-preview.0

* Update CHANGELOG.md

* @W-21671037@ Remove base path from /__pwa-kit requests if showBasePath is false (#3758)

* Remove base path from /__pwa-kit requests if showBasePath is false

* Update CHANGELOG.md

* Use a redirect so client side is able hydrate.

* Apply storefront preview component changes to deal with client-side single page navigation

* Update CHANGELOG.md

* Bump version to 3.17.1

---------

Signed-off-by: nayanavishwa <nayana.vishwa@salesforce.com>
Signed-off-by: d.phan <d.phan@salesforce.com>
Signed-off-by: vcua-mobify <47404250+vcua-mobify@users.noreply.github.com>
Co-authored-by: nayanavishwa <nayana.vishwa@salesforce.com>
Co-authored-by: amittapalli <amittapalli@yahoo.com>
Co-authored-by: Danny Phan <125327707+dannyphan2000@users.noreply.github.com>

* Update CHANGELOG.md

---------

Signed-off-by: nayanavishwa <nayana.vishwa@salesforce.com>
Signed-off-by: d.phan <d.phan@salesforce.com>
Signed-off-by: vcua-mobify <47404250+vcua-mobify@users.noreply.github.com>
Co-authored-by: nayanavishwa <nayana.vishwa@salesforce.com>
Co-authored-by: amittapalli <amittapalli@yahoo.com>
Co-authored-by: Danny Phan <125327707+dannyphan2000@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants