WarehouseEntityLifecycleSubscriber

Extends \Shopware\Plugins\ViisonCommon\Classes\Subscribers\Base

package

Default

Methods

getSubscribedEvents

getSubscribedEvents() : array
static

Response

array

Recalculates the minimum online stock limit of all related article details in case that a warehouse entity has been deleted.

onPostRemoveWarehouse() 

Checks the updated warehouse for a changed 'stockAvailableForSale' and, if the stockAvailableForSale has changed, recalculates the minimum online stock limit of all related article details.

onPostUpdateWarehouse(\Enlight_Event_EventArgs $args) 

Arguments

$args

\Enlight_Event_EventArgs