Vulnerability in EPiServer.Forms
I have a requirement where I need to restrict user to select single warehouse for same market (in all the products/variations he/she creates), But if user changes the Market then he/she can select same or other Warehouse for first time, but after that same validation for that market also. how to achieve this?
I tried to override save method of Mediachase.Commerce.InventoryService.InventoryServiceProvider but could not achieve as there is no example for same & this class has some restrictions also.
You can intercept IInventoryService instead of trying to override InventoryServiceProvider. InventoryServiceProvider is an implementation detail and should not be depended on