Introduction
The Magento 2 Smart Compare extension by FMEextensions enhances the default comparison functionality in Magento, making it more user-friendly and visually appealing. This extension allows products to be added to the compare list without reloading the page and shows the selected items in the comparison tray at the bottom of the same page.
Key Features
- Adds products to the compare list without page reloads
- Displays the added products in the comparison tray at the bottom of the page
- Customizable comparison layout to match your store's theme
- Supports comparing multiple attributes such as price, size, color, etc.
- Quick add-to-cart option directly from the comparison table
Compatibility
This extension is compatible with the following Magento versions.
- 2.1.x
- 2.2.x
- 2.3.x
- 2.4.1, 2.4.2, 2.4.3, 2.4.4, 2.4.5, 2.4.6, 2.4.7
Installation Guide
Download Smart Compare from your account dashboard. Now you have the following 2 methods to install the extension.
Method 1
- Unzip fme_ajaxcompare-x.x.x.zip to a local folder.
- Make folder FME into your_magento_directory/app/code/ (if you don't find code folder within app folder, please create it first).
- Create the following folders (as mentioned in step 2):
- app/code/FME
- app/code/FME/AjaxCompare
- Copy all the contents from fme_ajaxcompare-x.x.x to newly created AjaxCompare folder.
- Now open console or shell.
- Go to your Magento directory and run the following commands:
- php bin/magento module:enable FME_AjaxCompare
- php bin/magento setup:upgrade
- php bin/magento setup:static-content:deploy -f (-f may not work in Magento versions less than 2.2.x.)
- chmod command for var/ pub/static and generated/ folders
- Reload the Magento admin and you will see FME Extensions on the left side menu of your admin panel.
Method 2
- Unzip fme_ajaxcompare-x.x.x.zip to a local folder.
- Make folder FME into your_magento_directory/app/code/ (if you don't find code folder within app folder, please create it first).
- Create the following folders (as mentioned in step 2):
- app/code/FME
- app/code/FME/AjaxCompare
- Copy all the contents from fme_ajaxcompare-x.x.x to newly created AjaxCompare folder.
- Go to your_magento_directory/app/etc/
- Open config.php file in etc folder
- Add the following line in $modules array at the end ‘FME_AjaxCompare’=>1,
- Now open console or shell.
- Go to your Magento directory and run the below commands
- php bin/magento setup:upgrade
- php bin/magento setup:static-content:deploy -f (-f may not work in Magento versions less than 2.2.x.)
- chmod command for var/ pub/static and generated/ folders
- Reload the Magento admin and you will see FME Extensions on the left side menu of your admin panel.