Traditional Magento 2 search works reasonably well when customers know the exact product name. It becomes harder when they describe a problem, a situation or a related term instead. Aura of Clarity extends Magento 2 product search with semantic search,…
Fixing Call to undefined method Interceptor::getCollectionClone() (Magento 2)
If you receive the error Error: Call to undefined method Magento\CatalogSearch\Model\ResourceModel\Fulltext\Collection\Interceptor::getCollectionClone() in /vendor/mageplaza/layered-navigation-m2/Model/Layer/Filter/Price.php:179 , the wrong search engine may be configured. For example, Elasticsearch may be running on the server while Magento is configured to use OpenSearch. Check the Magento…
Installing or using Magento 2.4 without Elasticsearch or OpenSearch?
Want to use Magento 2.4 or later but cannot install Elasticsearch or OpenSearch on your server? Or perhaps your host charges too much to configure and operate them? One possible workaround is to replace them with the traditional direct MySQL…
Displaying the search form (form.mini.phtml) in a template (Magento 2)
Use the following code to display the search form form.mini.phtml inside any Magento 2 template.
|
1 |
$this->getLayout()->createBlock('core/template')->setTemplate('catalogsearch/form.mini.phtml')->toHtml(); |