Magento Open Source: 2.3.5 - 2.4.6
Adobe Commerce: 2.3.5 - 2.4.6
- Update the “repositories” section of your sites “composer.json” file to include the repositories for the hawksearch modules:
"repositories": {
"0": {
"type": "composer",
"url": "https://repo.magento.com/"
},
"hawksearch.connector": {
"type": "git",
"url": "[email protected]:hawksearch/connector-magento-2.git"
},
"hawksearch.datafeed": {
"type": "git",
"url": "[email protected]:hawksearch/datafeed-magento-2.git"
}
}
OR by using composer commands directly:
composer config repositories.hawksearch.connector git [email protected]:hawksearch/connector-magento-2.git
composer config repositories.hawksearch.datafeed git [email protected]:hawksearch/datafeed-magento-2.git
- Use composer to install the module:
composer require --no-upate hawksearch/connector hawksearch/datafeed
composer update
- Complete your deployment process as usual (minimally "bin/magento setup:upgrade", see http://devdocs.magento.com/guides/v2.1/install-gde/install-quick-ref.html for reference).
- Login to your Magento Dashboard and configure the modules with instructions provided by your Hawksearch account manager.
- Open https://github.com/hawksearch/connector-magento-2 and https://github.com/hawksearch/datafeed-magento-2 in a browser.
- On each page, click the “Download zip” button to download the zip files.
- Create a directory named “HawkSearch” in the Magento “app/code” directory and unzip the downloaded files in that directory.
- Rename the unzipped directories to “Datafeed” and “Proxy” respectively .
- Ensure the files have appropriate file permissions for your installation (see http://devdocs.magento.com/guides/v2.1/install-gde/install-quick-ref.html for reference).
- While logged in as the Magento filesystem owner, run the following commands in a command shell from your Magento 2 root installation directory
bin/magento module:enable –clear-static-content HawkSearch_Connector HawkSearch_Datafeed
bin/magento setup:upgrade
bin/magento cache:clean
- Login to your Magento Dashboard and configure the modules with instructions provided by your Hawksearch account manager.