Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(payment): PI-2771 Rename region for product item. #2531

Merged
merged 1 commit into from
Jan 4, 2025
Merged

Conversation

bc-phargelm
Copy link
Contributor

@bc-phargelm bc-phargelm commented Jan 3, 2025

What?

Follow up PR for #2530.
In the previous PR, I added new regions to several shared product components. During testing, it was noticed that these components are injected not only on category pages but also on the product view page (as a list of related products at the bottom). The problem is that the product view page already has a region with the same name. Thus, injecting components with the same region name leads to the multiplication of an existing banner intended for the product details page. This fix is intended to rename the regions introduced in #2530 to avoid unexpected behavior. The old names are not used by any store yet, as they were merged recently.

Requirements

  • CHANGELOG.md entry added (required for code changes only)

Tickets / Documentation

Add links to any relevant tickets and documentation.

Screenshots (if appropriate)

Attach images or add image links here.

See related bcapp PR for use cases: https://github.com/bigcommerce/bigcommerce/pull/61296

@bc-phargelm bc-phargelm merged commit 209d37b into master Jan 4, 2025
2 checks passed
@bc-phargelm bc-phargelm deleted the PI-2771a branch January 4, 2025 15:44
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.

4 participants