{"id":1082,"date":"2016-07-22T11:45:38","date_gmt":"2016-07-22T11:45:38","guid":{"rendered":"http:\/\/mage-extensions-themes.com\/wiki\/?page_id=1082"},"modified":"2020-10-06T16:14:48","modified_gmt":"2020-10-06T16:14:48","slug":"year-make-model-professional-magento2-0-installation","status":"publish","type":"page","link":"https:\/\/global-ecommerce-services.com\/wiki\/year-make-model-professional-magento2-0-installation\/","title":{"rendered":"Year Make Model Professional for Magento 2 &#8211; Installation guide"},"content":{"rendered":"<div id=\"toc_container\" class=\"no_bullets\"><p class=\"toc_title\">Table of Contents<\/p><ul class=\"toc_list\"><li><a href=\"#Overview\"><span class=\"toc_number toc_depth_1\">1<\/span> Overview:<\/a><\/li><li><a href=\"#Extension_Installation\"><span class=\"toc_number toc_depth_1\">2<\/span> Extension Installation<\/a><\/li><li><a href=\"#ExtensionConfiguration\"><span class=\"toc_number toc_depth_1\">3<\/span> Extension\u00a0Configuration<\/a><ul><li><a href=\"#Step_1_Create_Attribute\"><span class=\"toc_number toc_depth_2\">3.1<\/span> Step 1: Create Attribute<\/a><\/li><li><a href=\"#Step_2_Assign_Attributes_to_Attribute_set\"><span class=\"toc_number toc_depth_2\">3.2<\/span> Step 2: Assign Attributes to Attribute set<\/a><\/li><li><a href=\"#Step_3_Add_year_make_model_data_in_products\"><span class=\"toc_number toc_depth_2\">3.3<\/span> Step 3: Add year make model data in products<\/a><\/li><li><a href=\"#Step_4AddCMS_page_and_CMS_block\"><span class=\"toc_number toc_depth_2\">3.4<\/span> Step 4:\u00a0Add\u00a0CMS page and CMS block<\/a><\/li><li><a href=\"#Step_5Refresh_Magento_cache\"><span class=\"toc_number toc_depth_2\">3.5<\/span> Step 5:\u00a0Refresh Magento cache<\/a><\/li><li><a href=\"#Step_6_Test_Year_Make_Model_search_function_in_store_frontendpage\"><span class=\"toc_number toc_depth_2\">3.6<\/span> Step 6 Test Year Make Model search function in store frontend\u00a0page<\/a><\/li><li><a href=\"#Additional_Information\"><span class=\"toc_number toc_depth_2\">3.7<\/span> Additional Information<\/a><\/li><\/ul><\/li><li><a href=\"#How_to_uninstall\"><span class=\"toc_number toc_depth_1\">4<\/span> How to uninstall<\/a><\/li><li><a href=\"#Questions\"><span class=\"toc_number toc_depth_1\">5<\/span> Questions<\/a><\/li><\/ul><\/div>\n<h2><span id=\"Overview\">Overview:<\/span><\/h2>\n<p>Year Make Model Professional\u00a0 Magento 2.0 Installation guide helps to install the powerful Ymm Pro in magento 2 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.<\/p>\n<h2><span id=\"Extension_Installation\">Extension Installation<\/span><\/h2>\n<p>1. Take a backup of the Magento files before replacing.<\/p>\n<p>2. Extract the files, inside the folder &#8220;magento_ce_2.x_ymm_pro_v2.0&#8221;<\/p>\n<p>3. Upload the &#8220;Globalecom&#8221; folder under app\/code on Magento root.<\/p>\n<p>4. Upload\u00a0ymm-search-results.phtml\u00a0file\u00a0under \u00a0vendor\/magento\/module-catalog\/view\/frontend\/templates\/product\u00a0folder<\/p>\n<p>5. Run below the commands on ssh<\/p>\n<p>php bin\/magento setup:upgrade<br \/>\nphp bin\/magento setup:di:compile<br \/>\nphp bin\/magento setup:static-content:deploy<\/p>\n<p>Now clear all caches and var\/generation folder.\u00a0Login to admin panel &gt; Stores &gt; Configuration &gt; Advanced Your module should be listed here now.<\/p>\n<p>(OR)<\/p>\n<p>Check module &#8216;Globalecom_Ymmp&#8217; =&gt; 1, is listed in app\/etc\/config.php file.<\/p>\n<h2><span id=\"ExtensionConfiguration\">Extension\u00a0Configuration<\/span><\/h2>\n<p>Steps to be followed in admin panel to setup attributes<\/p>\n<h3><span id=\"Step_1_Create_Attribute\"><strong>Step 1: Create Attribute<\/strong><\/span><\/h3>\n<p>Stores -&gt; Product-&gt;Add new Attributes<\/p>\n<div id=\"attachment_1084\" style=\"width: 910px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/mage-extensions-themes.com\/wiki\/wp-content\/uploads\/2016\/07\/create-attribute-1.png\"><img aria-describedby=\"caption-attachment-1084\" decoding=\"async\" loading=\"lazy\" class=\"css wp-image-1084 size-large\" title=\"css\" src=\"http:\/\/mage-extensions-themes.com\/wiki\/wp-content\/uploads\/2016\/07\/create-attribute-1-1024x576.png\" alt=\"ymm pro magento 2.0 create attribute\" width=\"900\" height=\"506\" srcset=\"https:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/create-attribute-1-1024x576.png 1024w, https:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/create-attribute-1-150x84.png 150w, https:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/create-attribute-1-300x169.png 300w, https:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/create-attribute-1.png 1366w\" sizes=\"(max-width: 900px) 100vw, 900px\" \/><\/a><p id=\"caption-attachment-1084\" class=\"wp-caption-text\"><b>Enter Attribute\u00a0data as follows<\/b><\/p><\/div>\n<p>Click Add attributes button<\/p>\n<p><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: 14px;\">Create attribute &#8220;makes&#8221;\u00a0 like below the screen,<\/span><\/span><\/p>\n<div id=\"attachment_1086\" style=\"width: 910px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/mage-extensions-themes.com\/wiki\/wp-content\/uploads\/2016\/07\/Makes-attribute-2.png\"><img aria-describedby=\"caption-attachment-1086\" decoding=\"async\" loading=\"lazy\" class=\"size-large wp-image-1086\" src=\"http:\/\/mage-extensions-themes.com\/wiki\/wp-content\/uploads\/2016\/07\/Makes-attribute-2-1024x576.png\" alt=\"YMM Pro magento 2.0 Makes attribute\" width=\"900\" height=\"506\" srcset=\"https:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/Makes-attribute-2-1024x576.png 1024w, https:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/Makes-attribute-2-150x84.png 150w, https:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/Makes-attribute-2-300x169.png 300w, https:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/Makes-attribute-2.png 1366w\" sizes=\"(max-width: 900px) 100vw, 900px\" \/><\/a><p id=\"caption-attachment-1086\" class=\"wp-caption-text\"><strong>Follow the instruction for create &#8220;makes&#8221; attribute code,\u00a0<\/strong><\/p><\/div>\n<p>Default Label: Make<br \/>\nAttribute code: makes<br \/>\nUse in quick search =&gt;Yes<br \/>\nSearch Weight =&gt; 1<br \/>\nVisible in Advanced Search =&gt;Yes<br \/>\nAllow HTML Tags on Storefront =&gt;Yes<br \/>\nVisible on Catalog Pages on Storefront =&gt;Yes<br \/>\nUsed in Product Listing =&gt; Yes<br \/>\nUsed for Sorting in Product Listing =&gt;Yes<\/p>\n<p style=\"line-height: 15.0pt; background: white; margin: 0in 0in 7.5pt 0in;\"><b><span style=\"font-size: 10.5pt; font-family: 'Arial','sans-serif'; color: #333333;\">Similarly Create attributes\u00a0 \u201cv_models\u201d and<span class=\"apple-converted-space\">\u00a0<\/span>\u201cyears\u201d<\/span><\/b><\/p>\n<p style=\"line-height: 15.0pt; background: white; margin: 0in 0in 7.5pt 0in;\">Please have\u00a0Attribute Label as\u00a0 you like.<\/p>\n<p style=\"line-height: 15.0pt; background: white; margin: 0in 0in 7.5pt 0in;\"><b><span style=\"font-size: 10.5pt; font-family: 'Arial','sans-serif'; color: #333333;\">Note:\u00a0<\/span><\/b><span style=\"font-size: 10.5pt; font-family: 'Arial','sans-serif'; color: #333333;\">Attribute codes<\/span><span style=\"font-size: 10.5pt; font-family: 'Arial','sans-serif'; color: #333333;\">\u00a0should be\u00a0 \u201cmakes\u201d, \u201cv_models\u201d,\u00a0\u201cyears\u201d. This is to avoid confusion with Magento system attribute called &#8216;model&#8217;.\u00a0<\/span><\/p>\n<h3><span id=\"Step_2_Assign_Attributes_to_Attribute_set\"><strong>Step 2: Assign Attributes to Attribute set<\/strong><\/span><\/h3>\n<p>Stores-&gt; Attributes set<\/p>\n<p>Then Click on Default.\u00a0Click the button Add New under Groups<\/p>\n<p>You can find a pop up Explore User Prompt. Please enter the group name\u00a0<strong>\u201cYearMakeModel\u201d<\/strong><\/p>\n<p>A group will be created at the end you can drag and drop to your respective location and save.<\/p>\n<p style=\"line-height: 15.0pt; background: white; margin: 0in 0in 7.5pt 0in;\"><a href=\"http:\/\/mage-extensions-themes.com\/wiki\/wp-content\/uploads\/2016\/07\/attribute-set-3.png\"><img decoding=\"async\" loading=\"lazy\" class=\"size-large wp-image-1087\" src=\"http:\/\/mage-extensions-themes.com\/wiki\/wp-content\/uploads\/2016\/07\/attribute-set-3-1024x576.png\" alt=\"YMM Pro magento 2.0 attribute set\" width=\"900\" height=\"506\" srcset=\"https:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/attribute-set-3-1024x576.png 1024w, https:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/attribute-set-3-150x84.png 150w, https:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/attribute-set-3-300x169.png 300w, https:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/attribute-set-3.png 1366w\" sizes=\"(max-width: 900px) 100vw, 900px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/mage-extensions-themes.com\/wiki\/wp-content\/uploads\/2016\/07\/assigned-attributes-4.png\"><img decoding=\"async\" loading=\"lazy\" class=\"size-large wp-image-1088\" src=\"http:\/\/mage-extensions-themes.com\/wiki\/wp-content\/uploads\/2016\/07\/assigned-attributes-4-1024x576.png\" alt=\"YMM Pro magento 2.0 Assigned attributes\" width=\"900\" height=\"506\" srcset=\"https:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/assigned-attributes-4-1024x576.png 1024w, https:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/assigned-attributes-4-150x84.png 150w, https:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/assigned-attributes-4-300x169.png 300w, https:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/assigned-attributes-4.png 1366w\" sizes=\"(max-width: 900px) 100vw, 900px\" \/><\/a><\/p>\n<h3><span id=\"Step_3_Add_year_make_model_data_in_products\">Step 3: Add year make model data in products<\/span><\/h3>\n<p style=\"line-height: 15.0pt; background: white; margin: 0in 0in 7.5pt 0in;\"><span style=\"font-size: 10.5pt; font-family: 'Arial','sans-serif'; color: #333333;\">As per the product fitment, you can add Year Make Model data in Admin<\/span><\/p>\n<p style=\"line-height: 15.0pt; background: white; margin: 0in 0in 7.5pt 0in;\"><span style=\"font-size: 10.5pt; font-family: 'Arial','sans-serif'; color: #333333;\">Admin &gt; Products &gt;Catalog &gt;Select product. Then scroll down to Year Make Model attribute section<\/span><\/p>\n<p><a href=\"http:\/\/mage-extensions-themes.com\/wiki\/wp-content\/uploads\/2016\/07\/assigned-products-5.png\"><img decoding=\"async\" loading=\"lazy\" class=\"size-large wp-image-1089\" src=\"http:\/\/mage-extensions-themes.com\/wiki\/wp-content\/uploads\/2016\/07\/assigned-products-5-1024x576.png\" alt=\"YMM Pro Magento 2.0 assigned products\" width=\"900\" height=\"506\" srcset=\"https:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/assigned-products-5-1024x576.png 1024w, https:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/assigned-products-5-150x84.png 150w, https:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/assigned-products-5-300x169.png 300w, https:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/assigned-products-5.png 1366w\" sizes=\"(max-width: 900px) 100vw, 900px\" \/><\/a><\/p>\n<p style=\"line-height: 15.0pt; background: white; margin: 0in 0in 7.5pt 0in;\">You can find a new tab\u00a0<strong><em>YearMakeModel<\/em><\/strong>\u00a0on the left side. Fill in all the required details and assign the product to a category as needed.<\/p>\n<p>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:<\/p>\n<p>Make= Acura,Audi<\/p>\n<p>Model= ILX,A4<\/p>\n<p>Year= 2016,2017<\/p>\n<h3><span id=\"Step_4AddCMS_page_and_CMS_block\"><strong>Step 4:\u00a0Add\u00a0CMS page and CMS block<\/strong><\/span><\/h3>\n<p>Content-&gt; Pages -&gt; Add New Page<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>YmmpSearch<\/strong><\/span><\/p>\n<p><strong>Page Title: Year Make Model Search<\/strong><br \/>\n<strong> Self URL: ymmpsearch<\/strong><br \/>\n<strong> Status: Enabled<\/strong><\/p>\n<p><span style=\"text-decoration: underline;\">Content:<\/span><\/p>\n<pre><strong>\u00a0{{block class=\"Magento\\Framework\\View\\Element\\Template\" name=\"catalog.product.ymmpsearch\" template=\"Globalecom_Ymmp::product\/ymmp-search.phtml}}<\/strong><\/pre>\n<p>Similarly Add CMS block. Set the block content is same as above. This cms block can be called anywhere in the page (Left side bar or Main content page or right side bar as per your requirement)<\/p>\n<p><span style=\"text-decoration: underline;\">YmmpSearch results (Optional)<\/span><\/p>\n<p>Page Title: Year Make Model search results<br \/>\nSelf URL: ymm-search-results<br \/>\nStatus: Enabled<\/p>\n<p><span style=\"text-decoration: underline;\">Content:<\/span><\/p>\n<pre>{{block class=\"Magento\\Catalog\\Block\\Product\\ListProduct\" name=\"category.products.list\" as=\"product_list\" template=\"Magento_Catalog::product\/ymm-search-results.phtml\"}}\r\n<\/pre>\n<p>Note: URL should be ymm-search-results<\/p>\n<h3><span id=\"Step_5Refresh_Magento_cache\">Step 5:\u00a0Refresh Magento cache<a href=\"http:\/\/mage-extensions-themes.com\/wiki\/wp-content\/uploads\/2016\/07\/cache-6.png\"><img decoding=\"async\" loading=\"lazy\" class=\"size-large wp-image-1090\" src=\"http:\/\/mage-extensions-themes.com\/wiki\/wp-content\/uploads\/2016\/07\/cache-6-1024x576.png\" alt=\"YMM Pro Magento 2.0 cache\" width=\"900\" height=\"506\" srcset=\"https:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/cache-6-1024x576.png 1024w, https:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/cache-6-150x84.png 150w, https:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/cache-6-300x169.png 300w, https:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/cache-6.png 1366w\" sizes=\"(max-width: 900px) 100vw, 900px\" \/><\/a><\/span><\/h3>\n<h3><span id=\"Step_6_Test_Year_Make_Model_search_function_in_store_frontendpage\"><strong>Step 6 Test Year Make Model search function in store frontend\u00a0page<\/strong><\/span><\/h3>\n<p>You can view the cms page url\u00a0<a href=\"http:\/\/mage-extensions-themes.com\/magento-wiki\/index.php\/TireSearch\">http:\/\/<\/a>&lt;your website&gt;\/ymmpsearch<\/p>\n<p>Example screenshot is given below. View will vary based on your website theme<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"size-large wp-image-1090\" src=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/year-make-model-search-by-globalecom.png\" alt=\"year_make_model.png\" width=\"900\" height=\"506\" \/><\/p>\n<h3><span id=\"Additional_Information\">Additional Information<\/span><\/h3>\n<p><span style=\"text-decoration: underline;\"><strong>How to manage the year make model data in phpmyadmin<\/strong><\/span><\/p>\n<p>Make model correlation is maintained in database table and this contains universal data information, For example Civic is model of Honda. You do not need to manage this information in Magento catalog each time when you add products. 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.<\/p>\n<p>Please use the csv file\u00a0which is contained in the package itself\u00a0to import the year, make and model data on master table.<\/p>\n<p><span style=\"text-decoration: underline;\"><strong> Steps for\u00a0inserting ymm data into\u00a0master table:-<\/strong><\/span><\/p>\n<p>Step 1: Please Login Cpanel access<br \/>\nStep 2: Click phpMyadmin icon under the databases section.<br \/>\nStep 3: Choose your site database then you can see &#8220;year_make_model_master&#8221; table.<br \/>\nPlease see the screen for master table<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"size-large wp-image-1090\" src=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/year_make_model.png\" alt=\"year_make_model.png\" width=\"900\" height=\"506\" \/><\/p>\n<h2><span id=\"How_to_uninstall\">How to uninstall<\/span><\/h2>\n<p>Please follow the instructions for how to uninstall Year Make Model Professional Extension and remove from your website.<br \/>\n<strong>Step 1:<\/strong> Go to the location app\/etc\/config.xml<br \/>\nFind the line of code &#8216;Globalecom_Ymmp&#8217; =&gt; 1,<br \/>\nand change it to &#8216;Globalecom_Ymmp&#8217; =&gt; 0,<\/p>\n<p><strong>Step 2:<\/strong> Remove the &#8220;Globalecom&#8221; folder under app\/code on Magento root.<\/p>\n<p><strong>Step 3:<\/strong> Remove the file ymm-search-results.phtml in the following location.<\/p>\n<p>Vendor\/magento\/module-catalog\/view\/frontend\/templates\/product folder<\/p>\n<p><strong>Step 4:<\/strong> Refresh the Cache in admin panel -&gt;System-&gt;Cache Management<\/p>\n<h2><span id=\"Questions\">Questions<\/span><\/h2>\n<p>If you have any questions or issues, please contact technical support team via <a href=\"http:\/\/mage-extensions-themes.com\/support\/\" target=\"_blank\">http:\/\/mage-extensions-themes.com\/support\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Table of Contents1 Overview:2 Extension Installation3 Extension\u00a0Configuration3.1 Step 1: Create Attribute3.2 Step 2: Assign Attributes to Attribute set3.3 Step 3: Add year make model data in products3.4 Step 4:\u00a0Add\u00a0CMS page and CMS block3.5 Step 5:\u00a0Refresh Magento cache3.6 Step 6 Test Year Make Model search function in store frontend\u00a0page3.7 Additional Information4 How to uninstall5 Questions Overview: ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/global-ecommerce-services.com\/wiki\/year-make-model-professional-magento2-0-installation\/\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"","meta":[],"categories":[5],"tags":[16,15,14],"_links":{"self":[{"href":"https:\/\/global-ecommerce-services.com\/wiki\/wp-json\/wp\/v2\/pages\/1082"}],"collection":[{"href":"https:\/\/global-ecommerce-services.com\/wiki\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/global-ecommerce-services.com\/wiki\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/global-ecommerce-services.com\/wiki\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/global-ecommerce-services.com\/wiki\/wp-json\/wp\/v2\/comments?post=1082"}],"version-history":[{"count":45,"href":"https:\/\/global-ecommerce-services.com\/wiki\/wp-json\/wp\/v2\/pages\/1082\/revisions"}],"predecessor-version":[{"id":1538,"href":"https:\/\/global-ecommerce-services.com\/wiki\/wp-json\/wp\/v2\/pages\/1082\/revisions\/1538"}],"wp:attachment":[{"href":"https:\/\/global-ecommerce-services.com\/wiki\/wp-json\/wp\/v2\/media?parent=1082"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/global-ecommerce-services.com\/wiki\/wp-json\/wp\/v2\/categories?post=1082"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/global-ecommerce-services.com\/wiki\/wp-json\/wp\/v2\/tags?post=1082"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}