Fix: [ bug #1774 ] PHP Fatal error when creating a contract with Product module not enabled

Fix: [ bug #1774 ] PHP Fatal error when creating a contract with Product module not enabled