Installation Guide
This guide will walk you through the process of installing and setting up the FelAIProductAdvisor plugin for your Shopware store.
System Requirements
Before installing FelAIProductAdvisor, ensure your system meets the following requirements:
- Shopware 6.5.x or higher
- PHP 8.0 or higher
- MySQL 5.7 or higher
- Active OpenAI account with API key
- Installed and configured FelOAIAssistantsManager plugin (base plugin)
Prerequisites
Before installing FelAIProductAdvisor, make sure that the base plugin FelOAIAssistantsManager is already installed and configured. FelAIProductAdvisor builds on this base plugin and uses its functions for OpenAI integration.
Checking the Base Plugin Configuration
- Navigate to Settings > System > Plugins
- Search for "FelOAIAssistantsManager" and click on "Configure"
- Ensure that a valid OpenAI API key is entered
- Check if the desired AI models are activated (recommended: GPT-4o-mini for good value for money)
Installation Methods
Method 1: Installation via Shopware Store (Recommended)
- Log in to your Shopware Administration
- Navigate to Extensions > My Extensions
- Search for "FelAIProductAdvisor" or "AI Product Advisor"
- Click Install
- Activate the plugin by clicking the toggle switch
Method 2: Manual Installation
If you prefer to install the plugin manually:
- Download the plugin ZIP file from your account or the provided source
- Extract the ZIP file
- Copy the extracted folder to the
custom/plugins
directory of your Shopware installation - Run the following commands in your Shopware root directory:
bin/console plugin:refresh
bin/console plugin:install --activate FelAIProductAdvisor
bin/console cache:clear
Post-Installation Steps
After installing the plugin, you need to complete a few additional steps:
1. Clear Cache
Clear the Shopware cache to ensure all plugin components are properly loaded:
bin/console cache:clear
2. Rebuild Storefront Assets
Compile the storefront assets to include the plugin's CSS and JavaScript files:
./bin/build-storefront.sh
3. Verify Installation
To verify that the plugin is installed correctly:
- Navigate to the Shopware Administration
- Go to Content > Shopping Experiences
- Edit any CMS page or create a new one
- Check if the "FEL AI Product Advisor" element is available in the elements list
Initial Configuration
After installation, you don't need to configure separate API keys for FelAIProductAdvisor, as these are taken from the base plugin FelOAIAssistantsManager.
The main configuration of the product advisor happens when you add it as a CMS element to your pages. Each instance of the product advisor can be configured individually with different settings.
Troubleshooting
If you encounter issues during installation:
Plugin Not Appearing
- Clear your browser cache
- Run
bin/console cache:clear
from your Shopware root directory - Check the Shopware logs for any error messages
CMS Element Not Available
- Make sure the plugin is activated
- Rebuild the storefront assets
- Check if there are any JavaScript errors in the browser console
Connection Issues
- Verify that the OpenAI API key in the base plugin is valid
- Check if your server can connect to the OpenAI API
- Ensure your OpenAI account has sufficient credits
Next Steps
Once you've successfully installed FelAIProductAdvisor, you can proceed to:
For more detailed information about using the plugin, refer to the other sections of this documentation.