Nosto/nosto-magento

Category tagging is not rendered on Product detail page

supercid opened this issue · 0 comments

Magento version(s) used: 3.11.3
Extension version(s) affected: All

Description
Add category tagging also on product detail page.

How to reproduce
Go to any PDP and check the tagging. Should have also the category

Possible Solution
1.) Add category block (https://github.com/Nosto/nosto-magento/blob/master/app/design/frontend/base/default/layout/nostotagging.xml#L80) to product handle (https://github.com/Nosto/nosto-magento/blob/master/app/design/frontend/base/default/layout/nostotagging.xml#L93-L95) as well

2.) Add null check before calling builder: https://github.com/Nosto/nosto-magento/blob/master/app/code/community/Nosto/Tagging/Block/Category.php#L73