0

我正在尝试为 LegacyStructConverter 的公共方法 convertListProductStruct 订阅挂钩。
路径 \Shopware\Components\Compatibility\LegacyStructConverter

我的代码:

$this->subscribeEvent(
            'LegacyStructConverter::convertListProductStruct::after',
            'afterListProductStruct'
    );

但是事件没有出现:(我做错了什么?

4

1 回答 1

3

LegacyStructConverter 不可挂钩。请参阅:https ://developers.shopware.com/developers-guide/shopware-5-core-service-extensions/

于 2015-08-22T08:56:00.993 回答