Brand Model Search Magento2 Installation

Home » Brand Model Search Magento2 Installation


Helps the customer to search and choose the required product by brand and a nested search inside the chosen brand

How to Install Brand Model Search Magento 2 Installation

Step 1: Upload Extension files using Filezilla to app/code folder

1. Take a backup of the Magento files before replacing.

2. Extract the files, inside the folder “Brand model search _magento 2”

3. Upload the “Globalecom” folder under app/code on Magento root.

Example: app/code/Globalecom/Brandmodel

4. Upload brand_model.phtml file under  vendor/magento/module-catalog/view/frontend/templates/product folder

5. Run below the commands on ssh

Step 2: Enable Extension 

Connect via SSH using putty and run the commands below

php bin/magento module:enable <module_name>
php bin/magento module:enable Globalecom_Brandmodel
Step 3: Refresh Cache
php bin/magento cache:clean

Step 4: Run setup upgrade command

 php bin/magento setup:upgrade
Step 5: Run compile
php bin/magento setup:di:compile
Step 6: Run Content deploy (Optional)
php bin/magento setup:static-content:deploy
Step 7: Test Extension in front end and Admin



Steps to be followed in admin panel to setup attributes(multiselect or dropdown)

Step 1: Create Attribute

Stores -> Product->Add new Attributes


Enter Atttribute data as follows

Click Add attributes button

Create attribute “brands”  like below the



Follow the instruction for create “d_brands” attribute code, 


Default Label: brands
Attribute code: d_brands
Use in quick search =>Yes
Search Weight => 1
Visible in Advanced Search =>Yes
Allow HTML Tags on Storefront =>Yes
Visible on Catalog Pages on Storefront =>Yes
Used in Product Listing => Yes
Used for Sorting in Product Listing =>Yes

Similarly Create attributes  “d_models” 

Note:- It should be  “d_brands”, “d_models

Step 2: Assign attributes to Attribute Set

Then  Click the button Add New Groups .Please enter the group name “Brandmodel”

A group will be created at the end you can drag and drop to your respective location and save.




Step 3: Add Brand  model data to products:-

Products->Catalog->Add productpic5

You can find a new tab Brands Models on the left side. Fill in all the required details and assign the product to a category as needed.

Note: d_brands, d_models and years can take multiple values if the product has several vehicle fitments. Please select multiple format. For Example:

Brands= Abble,sony

Model= ipad,digital camera

Step 4: Add a new page for Brand model 

Content-> Pages -> Add New Page


Brand model :-

Page Title: Brand model 
Self URL: brand_model_multiselect
Status: Enabled


{{block class="Magento\Framework\View\Element\Template" name="catalog.product.Brandmodelsearch" template="Globalecom_Brandmodel::product/brand_model.phtml"}}

Note: URL should be brand_model_multiselect

Step 5: Refresh Magento cache.


Tool frontend screen:-

You can view the cms page url http://<your website>/brand_model_multiselect


How to manage the Brand model data in phpmyadmin:-

We are maintaining the master table for make model correlation.So while assigning the brand and model values for the products, please ensure that, these values are present in the master table brand_model_master in php my admin.

Please use the csv file which is contained in the package itself to import the brand and model data on master table.

Steps for inserting ymm data into master table:-

Step 1: Please Login Cpanel access
Step 2: Click phpMyadmin icon under the databases section.It will be taken to database details.
Step 3: Choose your site database then you can see “year_make_model_master” table.

 How to uninstall the Brand Model Search Magento 2 Installation

Please follow the instructions for how to uninstall Year Make Model Professional Extension and remove from your website.
Step 1: Go to the location app/etc/config.xml
Find the line of code ‘Globalecom_Brandmodel’ => 1,
and change it to ‘Globalecom_Brandmodel’ => 0,

Step 2: Remove the “Globalecom” folder under app/code on Magento root.

Step 3: Remove the file brand_model.phtml in the following location.

Vendor/magento/module-catalog/view/frontend/templates/product folder

Step 4: Refresh the Cache in admin panel ->System->Cache Management


If you have any questions or issues, please contact technical support team via