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

Prevent heading from displaying when no price ranges are available #1545

Merged
merged 5 commits into from Jul 23, 2019
Merged

Prevent heading from displaying when no price ranges are available #1545

merged 5 commits into from Jul 23, 2019

Conversation

AlbertJBurton
Copy link
Contributor

What?

It is possible for a category to have an insufficient number of items to generate price ranges. If the theme is customized to display the "Shop by Price" sidebar and the category does not generate a price range, only the heading is displayed. This change ensures there are price ranges available before displaying the heading and price ranges.

Tickets / Documentation

N/A

Screenshots (if appropriate)

Example of heading displayed with no price ranges.

image

It is possible for a category to have an insufficient number of items to generate price ranges. If the theme is customized to display the "Shop by Price" sidebar and the category does not generate a price range, only the heading is displayed.
@bigbot
Copy link

bigbot commented Jul 19, 2019

Autotagging @bigcommerce/storefront-team @davidchin

@bookernath
Copy link
Contributor

This looks good, can you rebase to resolve the conflict with CHANGELOG.md?

Thanks again for your contribution.

@bookernath bookernath merged commit 1c7ee65 into bigcommerce:master Jul 23, 2019
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.

None yet

3 participants