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

fix(storefront): strf-10130 Fix 404s on pagination in brands/categories #1004

Merged
merged 1 commit into from
Oct 18, 2022

Conversation

jordanarldt
Copy link
Contributor

@jordanarldt jordanarldt commented Oct 17, 2022

What?

Add some logic to exclude the page query parameter from the initial request to BCApp from Stencil CLI.

This will allow us to avoid receiving a 404 on the first request to BCApp, which will allow Stencil to gather the front-matter data, parse it, and then send another BCApp request with the appropriate information regarding the category/brands pages.

Tickets / Documentation

Screenshots (if appropriate)

Original Behavior:
image

After fix:
image

image

cc @bigcommerce/storefront-team

@jordanarldt jordanarldt force-pushed the STRF-10130 branch 2 times, most recently from e987b15 to a24d256 Compare October 18, 2022 17:54
@jordanarldt jordanarldt changed the title fix(storefront): strf-10130 Add header for initial page requests fix(storefront): strf-10130 Fix 404s on pagination in brands/categories Oct 18, 2022
@jordanarldt jordanarldt merged commit 870b262 into bigcommerce:master Oct 18, 2022
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.

2 participants