Year Make Model Engine Professional Installation

Home » Year Make Model Engine Professional Installation

Overview

Enhance your web site with this simple and powerful extension to search vehicle using drop-downs to select Year,Make,Model and Engine.

Note: Before you installing the YMME Professional Extension files in your server,

In your phpmyadmin, Please check the Variables in your database, In that increase the size of “max_allowed_packet” variable from 1,048,576 to 32,048,576.

Then, You can start the installation of YMME Professional extension.

Video Tutorial

Are you familiar with Magento extension installation? If so, you can quickly watch this Video tutorial to perform the installation.

Watch Video Tutorial

Installation Steps for Year Make Model Engine Professional Extension

1. Take a backup of the Magento files before replacing

2. Extract the files, inside “YMM_Professional_Updated” folder

3. Magento Installation Root Magento_App_Root folder is same as your Magento Installation directory

4. Folder structure for default theme \Magento_App_Root\app\design\frontend\default\<default>\template Where <default> folder is based on default theme. Please copy the template folder into your specific theme folder

Note:
For Magento 1.3.x, the template folder structure is Magento_App_Root/app/design/frontend/default/default/template/catalog/product

For Magento 1.4.x, 1.5.x, 1.6.x, 1.7.x, 1.8.x, 1.9.x and 2.0.x the template folder structure would be Magento_App_Root/app/design/frontend/base/default/template/catalog/product

Steps to be followed in admin panel to setup attributes

Step 1: Create Attribute Catalog -> Attributes -> Manage Attribute

ymme-pro-1

 

 

 

Click the button “Add New Attribute”

ymme-pro-2

 

 

 

Attribute code: year
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 make, v_model, engine.

Please make a note of the Attribute Code. It should be (year,make,v_model,engine)

Step 2: Create Attribute Set

Catalog -> Attributes -> Manage AttributeSet

ymme-pro-3

Click on Default

ymme-pro-4

 

 

 

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

 

And kindly drag and drop the attributes under Unassigned Attributes under the group you have created.

Step 3: Add Products

Catalog -> Manage Products -> Add Product

ymme-pro-6

 

You can find a new tab YearMakeModelEngine added. Fill in all the required details and assign the product to a category.(Follow the require steps to add products in order to make the product display in client panel).

Step 4: Add a new page for YmmeSearch

CMS -> Manage Pages -> Add New Page

Page Title: YmmeSearch
Self URL: ymmesearch
Status: Enabled

Content:
{{block type="catalog/product_list" template="catalog/product/ymme-search.phtml"}}

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

Optional:
If you use a different Attribute code when creating the attributes, you need to change in the following lines in
<Magento_App_Root>/app/code/local/Globalecom/Ymme/controllers/YmmesearchController.php file
<Magento_App_Root>/app/design/frontend/base or (Your Theme Folder)/default/template/catalog/product/ymme-search.phtml

(Step 1: Screen 2)
Changes required in YmmesearchController.php and ymme-search.phtml and ymme-search-sidebar.phtml
$makeattribute_code=”make”;
$modelattribute_code=”v_model”;
$yearattribute_code=”year”;
$engineattribute_code=”engine”;

b) Find the following text “<reference name=”right”>” for right bar. Place the below code inside your reference for the “right”. Similar procedure can be followed for “left” in catalog.xml file

<block type=”catalog/product” name=”product_ymme-search-sidebar” template=”catalog/product/ymme-search-sidebar.phtml” before=”-“/>

c) How to change style and width of Year Make Model Engine drop down field?

If the magento version is 1.4 edit style.css with this code. Add this code atlast in style.css
If the magento version is 1.3 edit boxes.css with this code. Add this code atlast in boxes.css

#makediv select { width: 150px; }
#modeldiv select { width: 150px; }
#yeardiv select { width: 150px; }
#enginediv select { width: 150px; }

Step 5: Refresh Magento cache.
Admin Panel – System – Cache Management – Select all Check boxes – Flush Magento Cache

ymme-pro-7

 

 

 

Note:
For Importing Master Records of Year Make Model Engine, Please install the YMME Data Importer in your site

Please click below link for installation and instructions to use of YMME Data Importer.

http://mage-extensions-themes.com/wiki/ymme-data-importer/

Steps to Uninstall the Year Make Model Engine Professional Extension

Step 1: Go to the location app/etc/modules/Globalecom_Ymme.xml file
Find the line of code <active>true</active>
and change it to
<active>false</active>

Refresh the Cache in admin panel->System->Cache Management

Step 2: Rename the files ymme-search.phtml and ymme-search-sidebar.phtml in the following location
app/design/frontend/base/default/template/catalog/product.

If there is Theme template folder then please follow this location
app/design/frontend/default/<Your Theme Folder>/template/catalog/product

Step 3: Please Disable or Delete the YMME Search CMS Page or YMME Search Static Block in your admin panel.

Questions

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