Shout out to great input from our customers! So the default value of this configuration setting is to disable it. While this might come in handy for some, it might not be good for all. In case your MySQL connection runs into a timeout issue, our extension is able to automatically disconnect and then reconnect. There is also the possibility to add a negative ranking factor for products that are out of stock on search results pages. Like in the Magento 2 version, IntegerNet_Solr for Magento 1 offers switches to hide sold out products from search results, autosuggestions and category pages. Updates for IntegerNet_Solr for Magento 1 Out of stock products at bottom of the list Also, redirects to categories will only take place now if there is really only one matching category. We also improved some aspects of the autosuggest box in your store’s frontend, fixing translations and loading issues. For more information on events and how to use them to adjust search results, check out this blog post providing examples in Magento 1. If you are eager to twist IntegerNet_Solr around your finger and make it do things that the configuration alone wouldn’t let you, you will be happy to hear that we added new events in connection with product collection. We have also implemented a mechanism to make index run a lot smoother and not abort in case of a missing child product. If you are ready to update your store, IntegerNet_Solr is ready, too. With the recently released Magento 2.2 version, Magento reaches a new level of stability while at the same time creating some backward incompatibility issues. The first main change was the compatibility with Magento 2.2. In two releases in August, we made some changes that are important for IntegerNet_Solr’s future but have less visible impacts. That way customers who search for something they had seen at your store earlier will still have a chance to see the product while the available products dominate the list. 0.1, sold out products will be sorted at the very end of the list of potential matches. If you don’t like to handle your products so harshly, there is also a factor you can use to negatively affect the ranking of sold out products on search results pages. Sold out products at bottom of search results pages For autosuggest results, categories and search results pages, you get to choose separately if out of stock products shall be listed or not. IntegerNet_Solr can handle these for you. With an ever changing catalog, some products go out of stock unnoticed. So while you might want to have fuzzy product suggestions, your catalog makes it necessary to be a bit more strict when it comes to suggesting categories, e.g. So even when fuzzy search is active for search suggestions in general, you can now deactivate fuzzy search for category suggestions in the autosuggestions. In some places, fuzzy search can cause confusion. To do this, we can create a function in our block (here I have named it getProductChildData() but it doesn't matter what you call it obviously.Fuzzy product suggestions but clear category suggestions Now we need to populate our JS with some data about the children of the current product. "_/js/path/to/js/file":helper('Magento\Framework\Json\Helper\Data')->jsonEncode($block->getProductChildData($product->getId())) ?> So for example, our template might look like so: We are able to take advantage of Magento's native text/x-magento-init script type here to allow us to populate JS models and views. To get this functionality into the page will require JS. So for example, your xml might look like this: This block will need custom functionality so it will have to be created. Inside of this create a block of which will allow you to add a template into the page. So, the file name would be catalog_product_view_type_configurable.xml and it would be store in //view/frontend/layout. To begin with, create a layout file in your module of which targets the configurable product handle. This answer assumes that you know how to create a module in Magento 2 as it is out of the scope of the question.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |