The GoAI Smart Buy module integrates the SmartBuy Assistant into your Magento 2 store, enabling intelligent product recommendations based on customer queries. This guide provides instructions for installing the module, configuring its settings, and verifying its functionality.
You can install the module using one of the following methods:
Download the .zip
package from the official GitHub repository.
Unzip the downloaded package and upload the contents to the following path in your Magento 2 root:
app/code/GoAI/SmartBuy
From your terminal, run the following commands in your Magento root directory:
php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy -f php bin/magento cache:flush
Log in to the Magento Admin Panel.
Navigate to:Stores → Configuration → Advanced → Advanced
Ensure that GoAI_SmartBuy
is listed and enabled.
In your Magento root directory, add the module using Composer:
composer require goai/smart-buy
After installation completes, execute the following:
php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy -f php bin/magento cache:flush
Log in to the Magento Admin Panel.
Navigate to:Stores → Configuration → Advanced → Advanced
Confirm that GoAI_SmartBuy
appears in the list of installed modules.
Log in to the Magento Admin Panel.
Navigate to:Stores → Configuration
In the left-hand menu, locate the GoAI tab → Smart Buy
Field | Description | Example Value |
---|---|---|
Enable | Toggles the Smart Buy module (Yes/No). | Yes |
Script URL | The full URL of the Smart Buy script to be injected. | https://example.com/script.js |
The Script URL is typically generated from the Smart Buy admin interface and may include parameters such as
clientUid
,apiPoint
,buttonColor
,bgColor
, andposition
.
After completing the configuration, click Save Config.
Then navigate to:System → Cache Management
Click Flush Magento Cache to ensure changes are applied.
📦 https://github.com/goaiecommerce/SmartBuy
Open your Magento storefront.
Confirm the Smart Buy button or widget appears based on the configured Script URL
.
Interact with the assistant and verify that it responds with relevant product recommendations.
Ensure that all personalized suggestions render correctly and cart interactions are functional (if applicable).