spree/spree — Issue #772: Product on_hand scope does not take variants into account.
Author: mabotelh
Created: 2011-11-16 16:04:55+00:00
State: open

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.