cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2 Home page with advance search ( language , Brand )

Magento 2 Home page with advance search ( language , Brand )

Hii, actually am new to magento , can we make a home page as search page with filter like brand and language ( like brand select and language select ) inside page product list based on the search result if the language is arabic and brand is abc inside product list based on that ., is that possible is magento 2 ? 

2 REPLIES 2

Re: Magento 2 Home page with advance search ( language , Brand )

Yes, it is possible to create a home page with an advanced search feature in Magento 2 that includes filters for brand and language. Here are the general steps you can follow to achieve this:

  1. Create a custom CMS page for your home page. You can do this by going to Content > Pages in the Magento admin panel and clicking on the "Add New Page" button.

  2. Create a custom template for your home page that includes the advanced search form and filters for brand and language. You can do this by creating a new .phtml file in your theme's directory and adding the necessary code for the search form and filters.

  3. Modify the CMS page you created in step 1 to use the custom template you created in step 2. To do this, edit the page in the Magento admin panel and select the custom template in the "Design" tab.

  4. Create a custom module that modifies the search results based on the selected brand and language filters. This can be done using Magento's built-in catalog search functionality and custom code to filter the results based on the selected brand and language.

  5. Configure the search form to submit to the custom search results page you created in step 4.

By following these steps, you can create a home page in Magento 2 that includes an advanced search feature with filters for brand and language. Keep in mind that this is a complex task that may require advanced development skills, so you may want to consult with a Magento developer or agency for assistance.
DO HELP iNCREASE MY KUDOS IF THIS POST HELPED


Re: Magento 2 Home page with advance search ( language , Brand )

Yes, it is possible to create a home page with an advanced search feature in Magento 2 that includes filters for brand and language. Here are the steps to achieve this:

  1. Create a custom CMS page: Go to the Magento admin panel and navigate to Content > Pages. Create a new page and set the page layout to "1 column" or "2 columns with left or right bar". This will be your home page.

  2. Add a search form: Using the CMS editor, add a search form to the page that allows customers to enter their search query. You can use Magento's built-in search form template or create a custom search form using HTML and CSS.

  3. Add brand and language filters: Using Magento's layered navigation feature, you can add filters for brand and language to the search results page. To do this, you will need to create attributes for brand and language, and assign them to your products. Then, you can enable layered navigation in your Magento theme and configure the filters to display on the search results page.

  4. Customize the product list: You can customize the product list on the search results page to display products based on the selected brand and language filters. This can be done using Magento's product collection API or by creating a custom module that modifies the product list.

Overall, creating a home page with advanced search and filters in Magento 2 requires some customization work, but it is certainly possible. With the right tools and knowledge, you can create a powerful search experience that meets the needs of your customers.