Table of Contents
Overview
This Tire Search Magento 2 Installation guide helps you to install this module in your magento 2 website. This extension helps the website customers to search the tires quickly using input parameters are to select the width, height, diameter, Manufacturer, Type and Season. Then find desired products of their interest to order.
How to Install Tire Search Extension ( Magento 2 )
Instructions to upload extension package
1.It is recommended to take a backup of the Magento files before replacing
2. Unzip the extension package in your PC. Then upload the folder to your website in Magento 2 Installation directory as shown below:
3. Login to SSH and open Command line (using putty or similar tool)
4. Go to magento installation folder (usually this is public_html) and run commands below:
a) Enable module:
php bin/magento module:enable Globalecom_Ts
b) Run upgrade:
php bin/magento setup:upgrade
c) Run compilation:
php bin/magento setup:di:compile
d) Deploy static content: (optional)
php bin/magento setup:static-content:deploy
Instructions to setup attributes in admin panel
Step 1: Create Attribute
Stores -> Product->Add new Attributes
Enter Atttribute data as follows
Click Add attributes button
Example:width attribute for text field
Attribute code: width
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 “manufacture”
Example:Ratio attribute for dropdown
Attribute code: v_ratio
Catalog Input Type for Store Owner:dropdown
Unique value: No
Values Required: No
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
Use In Results Layered Navigation as filterable with results
Similarly Create attributes Diameter.
Please make a note of the Attribute Code. It should be (width,v_ratio,v_diameter,manufacture)
Attribute code: passenger
Unique value: No
Values Required: Yes
Catalog Input Type for Store Owner: Yes/No
Select all option Yes for Use in quick search, Use in advanced search, Comparable on Front-end, Use In Search Results Layered Navigation, Visible on Product View Page on Front-end, Used in product listing, Used for sorting in product listing Similarly Create attributes for “truck”, “minivan”, “summer”, “winter”, “allseason”.
Please make a note of the Attribute Code. It should be (passenger, truck, minivan, summer, winter, allseason)
Step 2:
Create Attribute Set
Stores-> Attributes set
Click on Default
Click the button Add New under Groups
You can find a pop up Explore User Prompt. Please enter the group name “TireSearch”
A group will be created at the end you can drag and drop to your respective location.
Step 3: Add Products
Products->Catalog->Add product
You can find a new tab Tire Search 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 CMS page for Tire Search feature
Content-> Pages -> Add New Page
Page Title: Tire Search
Self URL: tiresearch
Status: Enabled
Content:
{{block class=”Magento\Framework\View\
After placing the tire-search.phtml file in the respective page you can view the url http://<your website>/index.php/tiresearch
Step 5: Refresh Magento cache.
Admin Panel – System – Cache Management – Select all Check boxes – Flush Magento Cache
Step 6: Test the CMS page.
http://<your website>/index.php/tiresearch
Need Support or Questions
If you have any questions or need to solve issues, please contact our technical support team via http://mage-extensions-themes.com/support/
Support levels: Ticket system, Skype, Phone and Email
How to uninstall the Tire Search extension
Please follow the instructions below to uninstall Tire Search 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 tire-search.phtml in the following location.
app/code/Namespace/frontend/Modulename/view/frontend/templates/product/