The store will not work correctly when cookies are disabled.
We use cookies to make your experience better.To comply with the new e-Privacy directive, we need to ask for your consent to set the cookies. Learn more.
In this post we will continue with the system.xml configuration file in Magento 2 and have a look on the field's option <source_model>. By default, in Magento 2 there are several out of box Source Models that we can use but also we can create our custom one. Let's do it!
One of the many configuration fields you can add in Magento 2 configuration is the image file upload. This field needs a bit of extra code as a backend model and some other options have to be defined. Let's see together how we can add an Image Upload field.
Do you consider more user friendly to open all category filters by default in layered navigation so your customers can have a better and quicker overview of all the filter values at once? if yes, then here you are.