Magento 2 module to connect with DMP Recommendation engine
Thank you for trying the FPT Recommendation module! This module will improve your sales significantly. More deals are facilitated when visitor are served with relevant offers and additional cross-and-upsell recommendations., (*1)
You can install the reference module in any of the following ways:, (*2)
<your Magento install dir>/app/code/<VendorName>/<ModuleName>
directory.composer require
.Any Magento module requires a particular directory structure under <your Magento install dir>/app/code
. The structure starts with:, (*3)
<VendorName>/<ModuleName>
The reference module requires the following structure:, (*4)
FPTCorp/Recommendation
To add the module to your Magento installation:, (*5)
root
user or the web server user).Enter the following commands in the order shown:, (*6)
cd <your Magento install dir>/app/code mkdir -p FPTCorp/Recommendation
Go to the reference module GitHub., (*7)
.zip
file you downloaded to your Magento server's <magento install dir>/app/code/FPTCorp/Recommendation
directory.Enter the following commands in the order shown:, (*8)
unzip fptcorp_recommendation-master.zip mv fptcorp_recommendation-master/* . rm -rf fptcorp_recommendation-master rm -f fptcorp_recommendation-master.zip
Open <your Magento install dir>/app/etc/config.php
in a text editor., (*9)
Add the following anywhere under: 'modules' => array (
:, (*10)
'FPTCorp_Recommendation' => 1
Save your changes and exit the text editor., (*11)
Enter the following command in the order show, (*12)
cd <your Magento install dir> composer require fptcorp/recommendation bin/magento setup:upgrade bin/magento cache:flush
root
privileges.Enter the following commands in the order shown to clear the Magento cache:, (*13)
cd <your Magento install dir>/var rm -rf cache page_cache
If you're currently logged in to the Magento Admin, log out., (*14)
If FPTCORP tab displays you successfully installed the reference module!, (*15)
To use the module you should register with us https://dashboard.knowlead.io/signup After signup an email will be sent to you with siteId and API_key to enable the module. Go to the FPTCorp tab, enter the siteId and API_key as in the email. Save the config., (*16)
From the command line enter the following in the order show, (*17)
cd <your Magento install dir> bin/magento cache:flush
To see the reference module at work., (*18)
After visitor use the system for a while a list of recommended products displays. That's it! You're done!, (*19)