Table of Contents
Overview 
Installation Steps for Tire Search Extension
1. Take a backup of the Magento files before replacing
2. Extract the files inside Magento Installation Root Magento_App_Root folder is same as your Magento Installation directory
3. 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 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
Click the button “Add New Attribute”
Attribute code: width
Unique value: No
Values Required: Yes
Catalog Input Type for Store Owner: Text Field
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 Manage Label/ Options: Width
Similarly Create attributes for “ratio”, “diameter”, “manufacture”.
Please make a note of the Attribute Code. It should be (width,ratio,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
Catalog -> Attributes -> Manage AttributeSet
Click on Default
Click the button Add New under Groups
You can find a pop up Explore User Prompt. Please enter the group name “Tire Search”
A group will be created at the end you can drag and drop to your respective location.
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
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 page for TireSearch
CMS -> Manage Pages -> Add New Page
Page Title: TireSearch
Self URL: tiresearch
Status: Enabled
Content: {{block type=”core/template” template=”catalog/product/tire-search.phtml”}}
After placing the tire-search.phtml file in the respective page you can view the url http://<your website>/index.php/tiresearch
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/Ts/controllers/TiresearchController.php file (Step 1: Screen 2)
Magento_App_Root>/app/design/frontend/base or (Your Theme Folder)/default/template/catalog/product/tire-search.phtml
Changes required in TiresearchController.php
$widthattribute_code=”width”;
$ratioattribute_code=”ratio”;
$diameter_attribute_code=”diameter”;
$manufacturer_attribute_code=”manufacture”;
To make the search display in your leftbar/rightbar, follow steps (a) and (b) described below:
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_tire-search” template=”catalog/product/tire-search.phtml” before=”-“/>
c) If the magento version is 1.4, 1.5, 1.6 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
#widthdiv select { width: 150px; }
#ratiodiv select { width: 150px; }
#diameterdiv select { width: 150px; }
#manufacturerdiv select { width: 150px; }
Step 5: Refresh Magento cache.
Admin Panel – System – Cache Management – Select all Check boxes – Flush Magento Cache
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/modules/Globalecom_Ts.xml.
Find the line of code true
and change it to false
Refresh the Cache in admin panel->System->Cache Management
Step 2: Remove the file tire-search.phtml in the following location.
app/design/frontend/base/default/template/catalog/product/
This path maybe vary as per the website theme/template used.
app/design/frontend/default//template/catalog/product
Step 3: Please disable or delete the Tire Search CMS Page or Tire Search Static Block in your admin panel.
If you have any questions or issues, please contact technical support team via https://mage-extensions-themes.com/support.html