add get product and default inactiv state when adding a product, get type in editing mode enabled