Bugfix/prevent error for product without inventory