Shopware hook LegacyStructConverter 问题
Shopware hook LegacyStructConverter problems
我正在尝试为 LegacyStructConverter 的 public 方法 convertListProductStruct 订阅挂钩。
路径\Shopware\Components\Compatibility\LegacyStructConverter
我的代码:
$this->subscribeEvent(
'LegacyStructConverter::convertListProductStruct::after',
'afterListProductStruct'
);
但是事件没有出现:(我做错了什么?
LegacyStructConverter 不可连接。
请参阅:https://developers.shopware.com/developers-guide/shopware-5-core-service-extensions/
我正在尝试为 LegacyStructConverter 的 public 方法 convertListProductStruct 订阅挂钩。
路径\Shopware\Components\Compatibility\LegacyStructConverter
我的代码:
$this->subscribeEvent(
'LegacyStructConverter::convertListProductStruct::after',
'afterListProductStruct'
);
但是事件没有出现:(我做错了什么?
LegacyStructConverter 不可连接。 请参阅:https://developers.shopware.com/developers-guide/shopware-5-core-service-extensions/