BackendPluginManagerSubscriber

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

package

Default

Methods

getSubscribedEvents

getSubscribedEvents() 
static
override

Checks the response for results as well as the request for a Pickware category and, if both are set, applies the category filter on the results. Finally the filtered results are assigned to the view and the number of total results is set to the count of the returned results.

onAfterStoreListingAction(\Enlight_Hook_HookArgs $args) 

Arguments

$args

\Enlight_Hook_HookArgs

Checks the request for a 'pickwareCategory' filter element and, if found, removes it from the request to prevent errors in the original implementation. Finally the value of the 'pickwareCategory' filter is saved as a request attribute for later use.

onBeforeStoreListingAction(\Enlight_Hook_HookArgs $args) 

Arguments

$args

\Enlight_Hook_HookArgs

Constants

The key used for storing/retrieving the custom pickware category filter in request attributes;

CATEGORY

The whitelist of Pickware core plugins Pickware WMS and Pickware POS.

PLUGINS

The whitelist of payment provider plugins.

PROVIDERS

The whitelist of processes plugins.

PROCESSES

A general blacklist of plugins that should never be listed.

BLACKLIST