New answers tagged

0

Found the answer to my question myself. Attribute storefront "Used in Product listing" had to be set Yes So $this->escapeHtml($selection->getAttributeText('pattern')) does work


0

It worked. actually I need to defined plugin in di.xml file in etc folder, not in etc/frontend/di.xml


0

yes,you overrided correctly. please make sure you are working on correct file. I mean please check in vendor changes reflecting on frontend or not as per your need. if yes then it should also work in your theme. Make sure you cleared cache after override and given proper permission to file as per your server required.


Top 50 recent answers are included