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 error when listing products without price #2605

Conversation

jhawthorn
Copy link
Contributor

I don't know why anyone would enable Spree::Config.show_products_without_price = true, but it's an option that we have.

With this option enabled, the product listing page would error when encountering a product with no price (or no price in the current currency). This commit hides the price when this is the case.

@jhawthorn jhawthorn merged commit 4dce0a9 into solidusio:master Mar 1, 2018
@jhawthorn jhawthorn added this to the 2.5.0 milestone Mar 8, 2018
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

2 participants