changed spree count_on_hand var to total_on_hand for current version of spree