Magento2 how I am supposed to override renderer.phtml
of module swatches?
I have already tried Magento_Swatches::product/listing/renderer.phtml
, but doesn't seem to be working?
Any advice will be appreciated.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityPlease make sure you have added your file in this location
app/design/frontend/Vendor/Theme/Magento_Swatches/templates/product/listing/renderer.phtml
This should work.
But you can override from your custom module. Need create Module with sequence Magento_Swatches and create file in similar location app/code/Namespace/Module/view/templates/product/listing/renderer.phtml
app/design/frontend/Vendor/Theme/Magento_Swatches/templates/product/listing/renderer.phtml
then it should work. Please confirm