Year Make Model Professional Magento2.0 Installation

Home » Year Make Model Professional Magento2.0 Installation

Overview:

Year Make Model Professional  Magento 2.0 Installation guide helps to install the powerful Ymm Pro in magento 2.0 edition. The goal of this product is to implement search function where a visitor may select the Year, Make, and model of their vehicle(s) using simple drop-downs and then view a list of the vehicles or parts or accessories which will fit their vehicle.

Video Tutorial

Please watch this Video tutorial to know how to perform the installation.

Watch Video Tutorial

How to Install Year Make Model Professional Magento 2.0 Extension

Steps:-

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

2. Extract the files, inside the folder “magento_ce_2.x_ymm_pro_v2.0”

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

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

5. Run below the commands on ssh

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

Now clear all caches and var/generation folder. Login to admin panel > Stores > Configuration > Advanced Your module should be listed here now.

(OR)

Check module ‘Globalecom_Ymmp’ => 1, is listed in app/etc/config.php file.

Steps to be followed in admin panel to setup attributes

Step 1: Create Attribute

Stores -> Product->Add new Attributes

ymm pro magento 2.0 create attribute

Enter Atttribute data as follows

Click Add attributes button

Create attribute “makes”  like below the screen,

YMM Pro magento 2.0 Makes attribute

Follow the instruction for create “makes” attribute code, 

Default Label: Make
Attribute code: makes
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  “v_models” and “years”

Note:- It should be  “makes”, “v_models”, “years”

Step 2: Assign attributes to Attribute Set

Stores-> Attributes set

Then Click on Default. Click the button Add New under Groups

You can find a pop up Explore User Prompt. Please enter the group name “YearMakeModel”

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

YMM Pro magento 2.0 attribute set

 

YMM Pro magento 2.0 Assigned attributes

Step 3: Add year make model data to products:-

Products->Catalog->Add product

YMM Pro Magento 2.0 assigned products

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

Note: makes, v_models and years can take multiple values if the product has several vehicle fitments. Please enter values in comma separated format. For Example:

Make= Acura,Audi

Model= ILX,A4

Year= 2016,2017

Step 4: Add a new page for YmmpSearch and YmmpSearch results

Content-> Pages -> Add New Page

YmmpSearch:-

Page Title: Ymmpsearch
Self URL: ymmpsearch
Status: Enabled

Content:

 {{block class="Magento\Framework\View\Element\Template" name="catalog.product.ymmpsearch" template="Globalecom_Ymmp::product/ymmp-search.phtml}}

YmmpSearch results:-

Page Title: Ymm search results
Self URL: ymm-search-results
Status: Enabled

Content:

{{block class="Magento\Catalog\Block\Product\ListProduct" name="category.products.list" as="product_list" template="Magento_Catalog::product/ymm-search-results.phtml"}}

Note: URL should be ymm-search-results

Step 5: Refresh Magento cache.

YMM Pro Magento 2.0 cache

 

 

Tool frontend screen:-

You can view the cms page url http://<your website>/index.php/ymmpsearch

year_make_model.png

How to manage the year make model data in phpmyadmin:-

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

Please use the csv file which is contained in the package itself to import the year,make 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.
Please see the screen for master table

year_make_model.png

 How to uninstall the Year Make Model Professional Magento 2.0 extension

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_Ymmp’ => 1,
and change it to ‘Globalecom_Ymmp’ => 0,

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

Step 3: Remove the file ymm-search-results.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

Questions

If you have any questions or issues, please contact technical support team via http://mage-extensions-themes.com/support/