There are eCommerce stores which sell a wide variety of products like food, personal care, electronics, and so on. On those stores, visitors want to be able to search by a specific category. This can be achieved by adding a new feature: search by department or category. In this quick tutorial I will explain the base concept of how to do it using Solr search engine as an example.
Assuming you already use Solr search server on your eCommerce site, first step should be checking if there is a category_ids field in Solr index. Category_ids should exist in Solr index in order to be able to filter by category_id.
To check if the field exists, call this url: http://localhost:8983/solr/collection1/select?q=*%3A*&wt=json&indent=true.
You can see category_ids in the response below:
Magento 2 leverages the enormous power of CSS pre-processing (via Less) to make theme customization intuitive and easily maintainable through features like variables, mixins, and imports. Less compilation is a fundamental part of M2’s static content deployment and development tools, streamlining the theming process and ensuring that frontend developers can focus on their code, not compiling their final CSS.
The conventions and structures the native Less implementation use are smartly architected and designed to allow flexible and unobtrusive customizations. But along with the power comes the simple fact that there are many different ways to skin a given problem, and some techniques are better than others. If you spend a great…
Use caching, load balancing, and order processing to protect your site from the “thundering herd”
After we published the 100. Feature Release for the Magento 1 version we also provide a new version for Magento 2.Renamed Config Commands
Magento 2.2 comes with a new config:set command. This conflicts with the n98-magerun2 config:set command. We decided to rename our command to be compatible with Magento 2.2. The commands have a new namespace.
As in a previous post announced, we deliver a major break in this new version. That’s why we increase the major version number to 2.
config:set -> config:store:set
config:get -> config:store:get
config:delete -> config:store:delete
Magento 2.2 comes with updated 3rd party dependencies. This means that n98-magerun2 has to deal with old dependencies for old and new dependencies, because we deliver one phar file for every store.
One of the main issues was the new…
Von Magento wurde angekündigt, für Version 2 der beliebten E-Commerce Plattform den Weg zur Progressiven Web App zu gehen. Seitdem gibt es im Magento Forum eine Diskussion darüber, welches Frontend-Framework es werden soll. Lasst uns…
The buzz these days is all about design systems, but design system by itself is not enough to ensure consistency through all designs. When working with design systems, the main challenges are ongoing maintenance and informing everyone about the changes.
For a long time, there wasn’t a thorough solution for designers who design in Sketch which would provide easy access to the latest styles and propagate changed assets to team members. Yeah, we had the ability to share symbols via plugins for a while (Craft’s Library), but there were too many problems, and sharing library is too important to rely on a third-party plugin.Welcome Sketch Libraries
Sketch just made public the Sketch 47, and we finally have a document with symbols which can be used across other documents, so let’s see how to use libraries in Sketch.
1. Create a Sketch document with at least one symbol and save your document in Dropbox, Box, Sync or…
Now is the time for technology providers and merchants alike to seize the opportunity
Yes, you read right. We published our 100. release containing new features!
After the first release on 1. August 2012 we constantly published new commands, improvements and bugfixes for you – the Magento Community.
With a very small set of commands we started this project.
Today we ship 124 commands within the n98-magerun.phar file. The file size of the n98-magerun.phar file grows from ~127 KByte to 4,6 MByte.
The first release was not extendable. No module or plugin system was available. Today we have a log of agencies, hosting companies which are very happy with programming interface. An incomplete list of 3rd party extensions related to n98-magerun can be found…
At Shop.org, Munchkin’s Jonathan Bradbury revealed the baby lifestyle brand’s digital strategy for success
We are happy to anounce 4 Inchooers will be attending this year’s Meet Magento Romania – a two-day conference that will be held in beautiful Cluj, the unofficial capital of Transylvania, on 16th and 17th October. Our delegates Ivana, Andreja, Ivan and Goran (who we’re proud to present as a speaker) are excited because this is their first Magento event.
Regardless of the expertise, each attendee will be able to choose among various lectures. Agenda consists of the Main/Development and Business track, and covers interesting topics from technical guidelines, security, community and future of Magento to business aspects of eCommerce such as legal challenges and digital marketing.…
How merchants and businesses are delighting customers with content
Here are the leading Solution Partner contributors for the first round
A few weeks ago, a llama posed a seemingly simple question: “Does anyone know the details of canonical URLs and pagination?”. But here’s the thing about llamas – we don’t do well with non-definitive answers. Thus began the digging and twists and turns into the rabbit hole of canonical tags and Magento’s native capabilities.
Here is what we know to be true:
With a site full of content, products, and categories, it’s pretty common for the same content to be on multiple URLs. That’s where Canonical Tags (rel=”canonical”) come in. This tag tells Google what your preferred URL is so that search results will be more likely to show that URL in SERPs. Without using canonical tags in these instances, you can…
The deadline to submit your Imagine 2018 speaking proposal is Friday, October 13
The popular podcasters talk to Magento
Get to market fast with the Magento Commerce Cloud and powerful built-in B2B functionality
Contribute to Magento Commerce 2.2 and earn a limited edition T-shirt