How to enable configurable swatches option on catalog search?
I don't know why, the configurable swatches color is not showing on catalog search, but its working fine on Product list pages.
Configurable Swatches color not showing on catalog search product list.
in catalogsearch result.phtml, I'm including the product list template to the result.phtml. But configurable swatches option still not showing on catalogsearch product list.
<div class="search results"> <?php if ($messages = $block->getNoteMessages()): ?> <div class="message notice"> <div> <?php foreach ($messages as $message): ?> <?= /* @escapeNotVerified */ $message ?><br/> <?php endforeach; ?> </div> </div> <?php endif; ?> <?= $block->getProductListHtml() ?> </div>