Vehicle Fits is an extension to add automotive features to your Magento or Prestashop shopping cart. We install either shopping cart for you, as well as install the Vehicle Fits extension itself. Once your shopping cart has the Vehicle Fits extension installed, you will have hundreds of automotive features including a year/make/model search. The year/make/model search can be customized in 50+ ways, including the ability to change the number, order, or names of the select box. For example if you want to add a select box called "engine", or remove the select box called "year" you can do so. You can have as few as two select boxes, or as many as you'd like. You can import your existing data, or use Vehicle Fits to create your own data using our vehicle databases.
If you are running v1.35 or less, you must export your current fitments to CSV or XML before installing this version.
- Install the Vehicle-Fits-Magento repository by dropping it in the Magento root.
- Flush Magento Cache Storage.
- Disable Magento 'compilation module' (a form of cache)
- Run SQL in phpMyAdmin
SET @@global.sql_mode= ”;
to disable Strict Mode in mySQL. [todo - fix queries such that this step is not needed #44]
If you're interested in running the unit tests that come with Vehicle Fits, simply download Composer and do the following:
cd app/code/local/Elite
composer install --dev
After you've installed composer, you may need to rename the phpunit.xml.dist
to phpunit.xml
and change the following configuration's to your specifications:
<php>
<env name="PHP_MAGE_PATH" value="/home/josh/www/magento"/>
<env name="PHP_TEMP_PATH" value="/tmp"/>
<env name="PHP_VAF_DB_USERNAME" value="root"/>
<env name="PHP_VAF_DB_PASSWORD" value=""/>
<env name="PHP_VAF_DB_NAME" value="magento"/>
</php>
After you've installed composer, and changed the phpunit.xml
if needed, you may run the following command:
#run all the unit tests for the Magento module
vendor/bin/phpunit
Vehicle Fits' documentation is accessible at our website at: http://vehiclefits.com/vf-documentation/index.htm
Vehicle Fits is an open source, community-driven project. If you'd like to contribute, please contact sales@vehiclefits.com for guidelines on how to contribute.
Every commit in this repository is licensed under OSL-3.0 see VF_LICENSE.txt