Year Make Model Engine Professional Magento2.0 Installation

Overview:

Year Make Model Engine Professional Magento 2.0 Installation guide helps to install the powerful Ymme Pro in magento 2.0 edition. The goal of this product is to implement search function where a visitor may select the Year, Make, model and engine 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_ymme_pro_v2.0”

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

4. Upload the ymme-search-results.phtml  file in 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_Ymmep’ => 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 create 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” , “years” and “engines”

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

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 “YearMakeModelEngine”

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 engine data to products:-

Products->Catalog->Add product

YMM Pro Magento 2.0 assigned products

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

Note: makes, v_models , years and engines 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=2015,2016

Engine=2.4L,2.0L

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

Content-> Pages -> Add New Page

YmmepSearch:-

Page Title: Ymmepsearch
Self URL: ymmepsearch
Status: Enabled

Content:

{{block class="Magento\Framework\View\Element\Template" name="catalog.product.ymmepsearch" template="Globalecom_Ymmep::product/ymmep-search.phtml}}

YmmpSearch results:-

Page Title: Ymme search results
Self URL: ymme-search-results
Status: Enabled

Content:

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

Note: URL should be ymme-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/ymmepsearch

year_make_model.png

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

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

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

Steps for inserting ymme 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_engine_master” table.
Please see the screen for master table

year_make_model_engine.png

 How to uninstall the Year Make Model Engine Professional Magento 2.0 extension

Please follow the instructions for how to uninstall Year Make Model Engine Professional Extension and remove from your website.

Step 1: Go to the location app/etc/config.xml
Find the line of code ‘Globalecom_Ymmep’ => 1,
and change it to ‘Globalecom_Ymmep’ => 0,

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

Step 3: Remove the file ymme-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/