{"id":1256,"date":"2017-10-10T12:05:49","date_gmt":"2017-10-10T12:05:49","guid":{"rendered":"http:\/\/global-ecommerce-services.com\/wiki\/?page_id=1256"},"modified":"2017-10-12T06:38:08","modified_gmt":"2017-10-12T06:38:08","slug":"product-selector-magento-2-installation","status":"publish","type":"page","link":"http:\/\/global-ecommerce-services.com\/wiki\/product-selector-magento-2-installation\/","title":{"rendered":"Product Selector Magento 2 Installation"},"content":{"rendered":"<p><a href=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/product-selector_2%20mag2.png\"> <img decoding=\"async\" src=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/product-selector_2%20mag2.png\" alt=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/product-selector_2%20mag2.png\" width=\"50%\" height=\"50%\" border=\"0\" \/> <\/a><\/p>\n<p><strong><u>Overview<\/u><\/strong><\/p>\n<p>Product Selector Magento 2 Extension allows your users to search the vehicle parts filtered more thoroughly based on Category,Sub Category,Make,Model and year using\u00a0dropdowns\u00a0to your site.it is a fast way to find the product with our specifications.So it is one of the needful\u00a0<span id=\"GingerWidget-correction-0\" class=\"correction alternate\">extensions<\/span>\u00a0for\u00a0<span id=\"GingerWidget-correction-1\" class=\"correction alternate\">Magento<\/span>\u00a0store.<\/p>\n<p><strong><u>Video Tutorial<\/u><\/strong><\/p>\n<p>Are you familiar with Magento extension installation? If so, you can quickly watch this Video tutorial to perform the installation.<\/p>\n<p><a href=\"http:\/\/global-ecommerce-services.com\/wiki\/magento-2-product-selector-video-tutorial\/\"><strong>Watch Video Tutorial<\/strong><\/a><\/p>\n<p><strong>Installation Steps for Product Selector Extension<\/strong><\/p>\n<ol>\n<li>Take a backup of the Magento files before replacing<\/li>\n<li>Extract the files inside Magento Installation Root Magento_App_Root folder is same as your Magento 2.0 Installation directory<\/li>\n<li>For installing module,initially we will create<strong>json,registration.php,module.xml<\/strong>files.<\/li>\n<\/ol>\n<p><strong>Composer.json<\/strong>\u00a0is used for the configuration of magento2.0 module.<\/p>\n<p><strong>registration.php<\/strong>\u00a0allows 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.<\/p>\n<p><strong>module.xml\u00a0<\/strong>is kind of the entry point of module It\u2019s the equivalent of app\/etc\/modules\/[Namespace]_[Module].xml in magento 1.<\/p>\n<p>Add composer.json , registration.php and module.xml files in your module by following path<strong>\u00a0<\/strong><\/p>\n<p><strong>\/app\/code\/Namespace\/Module\/composer.json\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/strong><\/p>\n<p><strong>\/app\/code\/Namespace\/Module\/registration.php<\/strong><\/p>\n<p>\/<strong>app\/code\/Namespace\/Modulename\/etc\/module.xml<\/strong><\/p>\n<ol start=\"4\">\n<li>After Transferring files we have to register our module in<strong>app\/etc\/config.xml\u00a0<\/strong>In the array module, add the element: \u2018Namespace_Modulename =&gt; 1<\/li>\n<\/ol>\n<p>(OR)<\/p>\n<p>Open Command line in folder root of magento and run commands magento setup:upgradeNow 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><strong>Steps to be followed in admin panel to setup attributes<\/strong><\/p>\n<p><strong><u>Step 1:<\/u><u>\u00a0Create Attribute:<\/u><\/strong><\/p>\n<p>Stores -&gt; Product<\/p>\n<p><a href=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/ps_1.png\"> <img decoding=\"async\" src=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/ps_1.png\" alt=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/ps_1.png\" width=\"100%\" height=\"100%\" border=\"0\" \/> <\/a><\/p>\n<p>Then click the button \u201cAdd New Attribute\u201d<\/p>\n<p><a href=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/ps_2.png\"> <img decoding=\"async\" src=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/ps_2.png\" alt=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/ps_2.png\" width=\"100%\" height=\"100%\" border=\"0\" \/> <\/a> <a href=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/ps_3.png\"> <img decoding=\"async\" src=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/ps_3.png\" alt=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/ps_3.png\" width=\"100%\" height=\"100%\" border=\"0\" \/> <\/a> <a href=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/ps_4.png\"> <img decoding=\"async\" src=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/ps_4.png\" alt=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/ps_4.png\" width=\"100%\" height=\"100%\" border=\"0\" \/><\/a>Attribute code:<span style=\"box-sizing: border-box;\"><span class=\"apple-converted-space\">\u00a0<\/span><\/span><b style=\"box-sizing: border-box;\">ps_year<\/b><\/p>\n<p style=\"line-height: 15.0pt; background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px; margin: 0in 0in 7.5pt 0in;\"><span style=\"box-sizing: border-box;\"><span style=\"font-family: 'Arial','sans-serif'; color: #333333;\">Unique value: No<br style=\"box-sizing: border-box;\" \/> Values Required: Yes<br style=\"box-sizing: border-box;\" \/> 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<\/span><\/span><\/p>\n<p style=\"line-height: 15.0pt; background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px; margin: 0in 0in 7.5pt 0in;\"><b style=\"box-sizing: border-box;\"><span style=\"box-sizing: border-box;\"><span style=\"font-family: 'Arial','sans-serif'; color: #333333;\">Similarly Create attributes\u00a0 \u201cps_make\u201d and<span class=\"apple-converted-space\">\u00a0<\/span>\u201cps_model\u201d<\/span><\/span><\/b><\/p>\n<p style=\"line-height: 15.0pt; background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px; margin: 0in 0in 7.5pt 0in;\"><b style=\"box-sizing: border-box;\"><span style=\"box-sizing: border-box;\"><span style=\"font-family: 'Arial','sans-serif'; color: #333333;\">Please make a note of the 3 Attribute Codes. It should be\u00a0 \u201cps_make\u201d, \u201cps_model\u201d,\u00a0\u201cps_year\u201d<\/span> <\/span><\/b><\/p>\n<p style=\"line-height: 15.0pt; background: white; margin: 0in 0in 7.5pt 0in;\"><strong><u><span style=\"font-size: 14.0pt; font-family: 'Arial','sans-serif'; color: #333333; background: white;\">Step 2:<\/span><\/u><span style=\"box-sizing: border-box;\"><span class=\"apple-converted-space\"><u><span style=\"font-size: 14.0pt; font-family: 'Arial','sans-serif'; color: #333333; background: white;\">\u00a0<\/span><\/u><\/span><\/span><span style=\"box-sizing: border-box;\"><u><span style=\"font-size: 14.0pt; font-family: 'Arial','sans-serif'; color: #333333; background: white;\">Assign attributes to Attribute Set:<\/span><\/u><\/span><\/strong><u><\/u><\/p>\n<p style=\"line-height: 15.0pt; background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px; margin: 0in 0in 7.5pt 0in;\"><span style=\"box-sizing: border-box;\"><span style=\"font-family: 'Arial','sans-serif'; color: black;\">Create Attribute Set<\/span><\/span><\/p>\n<p style=\"line-height: 15.0pt; background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px; margin: 0in 0in 7.5pt 0in;\"><span style=\"box-sizing: border-box;\"><span style=\"font-family: 'Arial','sans-serif'; color: black;\">Stores-&gt; Attributes set<\/span><\/span><\/p>\n<p style=\"line-height: 15.0pt; background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px; margin: 0in 0in 7.5pt 0in;\">\n<p><a href=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/ps_5.png\"> <img decoding=\"async\" src=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/ps_5.png\" alt=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/ps_5.png\" width=\"100%\" height=\"100%\" border=\"0\" \/> <\/a><\/p>\n<p>Click on Default or any other attribute set as you need<\/p>\n<p>Note: You may choose a different Attribute set appropriately depending on which products you want to setup product selector \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>\u201cProductselector\u201d<\/strong><\/p>\n<p>A group will be created at the end you can drag and drop to your respective location.<\/p>\n<p><a href=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/ps_6.png\"> <img decoding=\"async\" src=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/ps_6.png\" alt=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/ps_6.png\" width=\"100%\" height=\"100%\" border=\"0\" \/><\/a><strong><u><span style=\"font-size: 14.0pt; font-family: 'Arial','sans-serif'; color: #333333;\">Step<\/span><\/u><span style=\"box-sizing: border-box;\"><span class=\"apple-converted-space\"><u><span style=\"font-size: 14.0pt; font-family: 'Arial','sans-serif'; color: #333333;\">\u00a0<\/span><\/u><\/span><\/span><span style=\"box-sizing: border-box;\"><u><span style=\"font-size: 14.0pt; font-family: 'Arial','sans-serif'; color: #333333;\">3<\/span><\/u><\/span><span style=\"box-sizing: border-box;\"><u><span style=\"font-size: 14.0pt; font-family: 'Arial','sans-serif'; color: #333333;\">: Add Products:<\/span><\/u><\/span><\/strong><\/p>\n<p style=\"line-height: 15.0pt; background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; word-spacing: 0px; margin: 0in 0in 7.5pt 0in;\"><span style=\"box-sizing: border-box;\"><span style=\"font-family: 'Arial','sans-serif'; color: #333333;\">Products-&gt;Catalog-&gt;Add product<\/span><\/span><\/p>\n<p><a href=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/ps_7.png\"> <img decoding=\"async\" src=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/ps_7.png\" alt=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/ps_7.png\" width=\"100%\" height=\"100%\" border=\"0\" \/> <\/a><\/p>\n<p>You can find a new tab\u00a0\u201c<em><strong>Productselector\u201d\u00a0 <\/strong><\/em>on the left side. Fill in all the required details and assign the product to a category as needed.<\/p>\n<p>Note: <strong>\u201cps_make\u201d, \u201cps_model\u201d,\u00a0\u201cps_year\u201d<\/strong> \u00a0can take multiple values if the product has several vehicle fitments. Please enter values in comma separated format. For Example:<\/p>\n<p>Make=Audi, Toyota, Ford<\/p>\n<p>Model=Accord, Camry, Focus<\/p>\n<p>Year=2006,2007,2008,2009,2010,2011,2012,2013,2014<\/p>\n<p><strong><u>Step 4:<\/u><u>\u00a0Add a new page for YmmpSearch:<\/u><\/strong><\/p>\n<p>Content-&gt; Pages-&gt; Add New Page<\/p>\n<p>Page Title:\u00a0Product Selector<br \/>\nSelf URL: product-selector<br \/>\nStatus: Enabled<\/p>\n<p><a href=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/ps_8.png\"> <img decoding=\"async\" src=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/ps_8.png\" alt=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/ps_8.png\" width=\"100%\" height=\"100%\" border=\"0\" \/><\/a><strong>Content:<\/strong><\/p>\n<p>{{block class=&#8221;Magento\\Framework\\View\\Element\\Template&#8221; name=&#8221;catalog.product.categorysearch&#8221; template=&#8221;Globalecom_Ps::product\/category-search.phtml}}<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/ps_9.png\"> <img decoding=\"async\" src=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/ps_9.png\" alt=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/ps_9.png\" width=\"100%\" height=\"100%\" border=\"0\" \/> <\/a><\/p>\n<p><strong><u>Step 5:<\/u><u>\u00a0Assigning\u00a0Magento Category and Sub Category:<\/u><\/strong><\/p>\n<p>Category drop down will show 1st level of categories what are in magento admin setup.Sub category drop down will load 2nd level of categories based on chosen category from category drop down.<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/ps_12.png\"> <img decoding=\"async\" src=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/ps_12.png\" alt=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/ps_12.png\" width=\"100%\" height=\"100%\" border=\"0\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong><u>Step 6:<\/u><u>\u00a0Refresh Magento cache:<\/u><\/strong><\/p>\n<p><a href=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/ps_10.png\"> <img decoding=\"async\" src=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/ps_10.png\" alt=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/ps_10.png\" width=\"100%\" height=\"100%\" border=\"0\" \/><\/a><\/p>\n<p>Now the front end shows like below the screen,<\/p>\n<p><a href=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/ps_11.png\"> <img decoding=\"async\" src=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/ps_11.png\" alt=\"http:\/\/global-ecommerce-services.com\/wiki\/wp-content\/uploads\/2016\/07\/ps_11.png\" width=\"100%\" height=\"100%\" border=\"0\" \/><\/a><\/p>\n<p><strong><u>How to uninstall the Product Selector extension<\/u><\/strong><\/p>\n<p>Please follow the instructions below to uninstall Product Selector extension and remove from your website.<br \/>\n<strong>Step 1:<\/strong>\u00a0Go to the location\u00a0<strong>app\/etc\/config.xml<\/strong><br \/>\nFind the module Globalecom_Ps =&gt; 1<br \/>\nand change it to\u00a0<strong>0<\/strong><br \/>\nRefresh the Cache in admin panel<strong>-&gt;System-&gt;Cache Management<\/strong><br \/>\n<strong>Step 2:\u00a0<\/strong>Remove the file category-search.phtml in the following location.<br \/>\n<strong>app\/code\/Namespace\/frontend\/Modulename\/view\/frontend\/templates\/product\/<\/strong><\/p>\n<p><strong><u>\u00a0Questions<\/u><\/strong><\/p>\n<p>If you have any questions or issues, please contact technical support team via\u00a0<a href=\"http:\/\/mage-extensions-themes.com\/support\/\">http:\/\/mage-extensions-themes.com\/support\/<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview Product Selector Magento 2 Extension allows your users to search the vehicle parts filtered more thoroughly based on Category,Sub Category,Make,Model and year using\u00a0dropdowns\u00a0to your site.it is a\u2026<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-1256","page","type-page","status-publish","hentry","category-installation"],"_links":{"self":[{"href":"http:\/\/global-ecommerce-services.com\/wiki\/wp-json\/wp\/v2\/pages\/1256","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/global-ecommerce-services.com\/wiki\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/global-ecommerce-services.com\/wiki\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/global-ecommerce-services.com\/wiki\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/global-ecommerce-services.com\/wiki\/wp-json\/wp\/v2\/comments?post=1256"}],"version-history":[{"count":19,"href":"http:\/\/global-ecommerce-services.com\/wiki\/wp-json\/wp\/v2\/pages\/1256\/revisions"}],"predecessor-version":[{"id":1280,"href":"http:\/\/global-ecommerce-services.com\/wiki\/wp-json\/wp\/v2\/pages\/1256\/revisions\/1280"}],"wp:attachment":[{"href":"http:\/\/global-ecommerce-services.com\/wiki\/wp-json\/wp\/v2\/media?parent=1256"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/global-ecommerce-services.com\/wiki\/wp-json\/wp\/v2\/categories?post=1256"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/global-ecommerce-services.com\/wiki\/wp-json\/wp\/v2\/tags?post=1256"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}