我需要在 Magento 2 的产品页面_prepareLayout
前后获得一个块render
(例如,用于更改 head 块中的标题)。我尝试了该controller_action_layout_render_before
活动,但它在产品页面上不起作用。
问问题
256 次
我需要在 Magento 2 的产品页面_prepareLayout
前后获得一个块render
(例如,用于更改 head 块中的标题)。我尝试了该controller_action_layout_render_before
活动,但它在产品页面上不起作用。