Year Make Model Engine Professional Magento2.0 Installation

Home » Year Make Model Engine Professional Magento2.0 Installation

Buy Now

 Overview:

ymme-pro-magento2-image

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 Engine Professional Magento 2.0 Extension

Take a backup of the Magento files before replacing

Extract the files inside Magento Installation Root Magento_App_Root folder is same as your Magento 2.0 Installation directory

For installing module,initially we will create json,registration.php,module.xml files.

Composer.json is used for the configuration of magento2.0 module.

registration.php allows you to create modules in the app/code folder,we create the file instead of config.xml file which is now used for module configuration variables.

module.xml is kind of the entry point of module It’s the equivalent of app/etc/modules/[Namespace]_[Module].xml in magento 1.

Add composer.json , registration.php and module.xml files in your module by following path

/app/code/Namespace/Module/composer.json

/app/code/Namespace/Module/registration.php

/app/code/Namespace/Modulename/etc/module.xml

After Transferring files we have to register our module inapp/etc/config.xml

In the array module, add the element: ‘Namespace_Modulename => 1,

(OR)

Open Command line in folder root of magento and run commands magento setup:upgrade

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

Steps to be followed in admin panel to setup attributes

Step 1: Create Attribute

Stores -> Product->Add new Attributes

YMME-Pro-Magento-2-create attribute

YMME-Pro-Magento-2-create attribute

Enter Atttribute data as follows

Click Add attributes button

Example:Makes attribute for text field

YMME-Pro-Magento-2-Makes-attribute

YMME-Pro-Magento-2-Makes-attribute

Attribute code: Makes

Unique value: No
Values Required: Yes
Select all option yes for Use in quick search, Use in advanced search, Comparable on Front-end, Use In Search Results Layered Navigation, Allow HTML-tags on Front-end, Visible on Product View Page on Front-end, Used in product listing, Used for sorting in product listing

Similarly Create attributes  “v_models” , “years” and engines

Please make a note of the 3 Attribute Codes. It should be  “makes”, “v_models”, “years”,engines

Step 2: Assign attributes to Attribute Set

Create Attribute Set

Stores-> Attributes set

YMME-Pro-Magento-2-attribute set

YMME-Pro-Magento-2-attribute set

Then Click on Default. Note: You may choose a different Attribute set appropriately depending on which products you want to setup Year Make Model  Engine Search.

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.

YMME-Pro-Magento-2-attribute sets

YMME-Pro-Magento-2-attribute sets

Step 3: Add Products

Products->Catalog->Add product

YMME-Pro-Magento-2-product

YMME-Pro-Magento-2-product

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.

Step 4: Add a new page for YmmepSearch

Content-> Pages -> Add New Page

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}}

After placing the ymmep-search.phtml file in the respective page you can view the url http://<your website>/index.php/ymmepsearch

Step 5: Refresh Magento cache.

Admin Panel – System – Cache Management – Select all Check boxes – Flush Magento Cache

YMME-Pro-Magento-2-cache

YMME-Pro-Magento-2-cache

 

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

Please follow the instructions below 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 1
and change it to 0
Refresh the Cache in admin panel->System->Cache Management
Step 2: Remove the file ymmep-search.phtml in the following location.
app/code/Namespace/frontend/Modulename/view/frontend/templates/product/

Questions

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