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

Product on_hand scope does not take variants into account. #772

Closed
mabotelh opened this Issue Nov 16, 2011 · 0 comments

Comments

Projects
None yet
2 participants
@mabotelh

mabotelh commented Nov 16, 2011

When Spree::Config[:show_zero_stock_products] is false only products with on_hand > 0 are selected. Products with variants normally have on_hand set to 0, so these products are not selected.

radar added a commit that referenced this issue Nov 17, 2011

Merge pull request #775 from mabotelh/master
Addressing issue #772. It now relies on the variant's on_hand instead…

@radar radar closed this Dec 8, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment