How to resolve the "Please select brand attribute in Stores → Configuration → Amasty Extensions → Improved Layered Navigation: Brands." frontend error?

How to resolve the "Please select brand attribute in Stores → Configuration → Amasty Extensions → Improved Layered Navigation: Brands." frontend error?

The message “Please select brand attribute in Stores → Configuration → Amasty Extensions → Improved Layered Navigation: Brands” appearing on your All Brands Page indicates that additional configuration is required to display the brands on the storefront. To fix this issue, kindly follow the step-by-step guide provided below.



First of all, make sure to define the Brand Attribute at Amasty → Improved Layered Navigation: Brands → Configuration. You can specify any existing product attribute or create a new one.



Secondly, it is important to assign at least one product to the attribute used for brands to make the brand appear on the All Brands Page. 

To assign a product to a brand, open the product settings at Catalog → Products → [Your Product] and define the necessary attribute option.



There is an alternative way to display brands on the All Brands Page without assigning products to it. To do so, navigate to the page configuration at Content → Elements → Pages → All Brands Page. In the Content tab, modify the Amasty Brand List widget to let it display the brands with no products assigned. 



Once done, make sure to update the Magento files using the below commands to ensure the changes take effect:

  1.       php bin/magento setup:static-content:deploy
  2.       php bin/magento cache:flush

Upon successful completion of the configuration steps, your All Brands page should resemble the following:



      • Related Articles

      • How to add brands to your e-store?

        There are 3 crucial steps to be followed for adding the brand to the e-store: Step 1. A new attribute should be created in Product → Attributes. Step 2. The attribute should be added to the products. Step 3. It is necessary to set the created ...
      • Improved Layered Navigation/Shop By Brand API

        API functionality for Improved Layered Navigation and Shop By Brand is added by its submodule Improved Layered Navigation Pages (shop-by-page). Amasty\ShopbyPage\Api\PageRepositoryInterface - class for pages: POST /V1/amasty_shopbypage/page, ...
      • How to set custom sorting on brand pages?

        Brand pages are essentially the Default category filtered by the 'brand' attribute. Therefore, any sorting logic assigned to the Default category in default Magento also applies to Amasty brand pages. To confirm or modify the sorting order for the ...
      • How to disable/delete a brand?

        As brands are attribute options, you will need to delete the option from the Brands attribute. For that, please go to Stores → Attributes → Products and select the attribute that is set as brand in the general extension configurations. In the ...
      • How to fix the "Unable to apply data patch Amasty\ShopbyBase\Setup\Patch\Data\AnchorRootCategories..." error?

        According to the Shop by Brand code base, the extension checks the root categories on the Magento instance and makes them anchored. Due to some instance-specific factors, the process may fail resulting in the following error while running the bin ...