Installation Guide
This comprehensive guide walks you through the installation and initial setup of the FEL AI Product Advisor plugin for your Shopware 6 store.
Prerequisites
System Requirements
Before installing the FEL AI Product Advisor, ensure your system meets these requirements:
- Shopware Version: 6.6.3 or higher (6.7.x recommended)
- PHP: 8.2 or higher
- MySQL: 5.7 or higher
- Required Plugin: FEL OAI Assistants Manager (must be installed first)
OpenAI Account Setup
You'll need an active OpenAI account with:
- API Access: Active OpenAI API key
- API Key: Obtain from OpenAI Platform
- Supported Models: GPT-4o-mini, GPT-4o, GPT-5-mini, and all current reasoning models
- Configured Assistant: At least one OpenAI Assistant created
The plugin supports all current OpenAI models including GPT-4o-mini, GPT-5-mini, and reasoning models. Mini models offer excellent performance at very affordable costs. Premium models provide advanced capabilities but require monitoring token usage.
Dependency: FEL OAI Assistants Manager
The FEL AI Product Advisor requires the FEL OAI Assistants Manager base plugin to be installed and configured first. This base plugin handles all OpenAI API communication.
Verify Base Plugin Installation
- Navigate to Settings → System → Plugins
- Search for "FEL OAI Assistants Manager"
- Ensure it's installed and activated
- Click on the three dots (...) → Configuration
- Verify that a valid OpenAI API key is entered
- Test the connection using the "API Test" button
Installation Steps
Step 1: Install the Plugin
Via Command Line (Recommended)
# Navigate to your Shopware root directory
cd /path/to/your/shopware
# Extract plugin to plugins directory
cd custom/plugins/
# Refresh plugin list
bin/console plugin:refresh
# Install and activate the plugin
bin/console plugin:install FelAIProductAdvisor --activate
# Clear cache
bin/console cache:clear
Via Shopware Administration
- Log in to your Shopware Administration
- Navigate to Extensions → My Extensions
- Click Upload extension
- Upload the plugin ZIP file
- Click Install after upload completes
- Activate the plugin by clicking the toggle switch
Step 2: Compile Assets
After installation, you must compile the Shopware assets to include the plugin's frontend components.
# Compile Administration (if you'll configure the plugin)
bin/build-administration.sh
# Compile Storefront (required for chatbot display)
bin/build-storefront.sh
Skipping asset compilation will result in the chatbot not displaying correctly or not appearing at all.
Verification
Verify Plugin Installation
- Navigate to Settings → System → Plugins
- Verify "FEL AI Product Advisor" is listed and activated
- Check the plugin version (should be 2.0.0 or higher)
Verify CMS Element Availability
To confirm the installation was successful:
- Navigate to Content → Shopping Experiences
- Edit an existing page or create a new one
- In the CMS layout editor, look for the "KI Produktberater" (AI Product Advisor) element
- The element should be available in the "Commerce" category
If you can see the "KI Produktberater" element in the CMS editor, your installation was successful!
Post-Installation Configuration
After successful installation, no additional API configuration is needed at the plugin level. The FEL AI Product Advisor uses the API settings from the base plugin (FEL OAI Assistants Manager).
Optional: Plugin Settings
You can access optional plugin settings:
- Navigate to Settings → System → Plugins
- Find "FEL AI Product Advisor"
- Click the three dots (...) → Configuration
Available global settings include:
| Setting | Description | Default |
|---|---|---|
| Plugin aktivieren | Enable/disable the chatbot globally | ✅ Enabled |
| Nur für authentifizierte Nutzer | Restrict chatbot to logged-in customers | ❌ Disabled |
| Kundengruppen | Limit access to specific customer groups | All |
| Maximale Eingabelänge | Maximum characters per customer message | 400 |
| Suchergebnis-Limit | Maximum products in internal searches | 8 |
| Max. Beschreibungslänge | Product description character limit | 500 |
| Max. Produkte im Chat | Number of products displayed directly | 4 |
Most configuration happens at the CMS element level when you add the chatbot to a page. This allows you to create different chatbots for different pages with unique settings.
Troubleshooting Installation Issues
Plugin Not Appearing in Administration
Possible Solutions:
- ✅ Clear cache:
bin/console cache:clear - ✅ Refresh plugin list:
bin/console plugin:refresh - ✅ Clear browser cache (Ctrl + F5)
- ✅ Check Shopware logs:
var/log/prod-*.log
CMS Element Not Available
Possible Solutions:
- ✅ Verify plugin is activated (Settings → Plugins)
- ✅ Rebuild storefront assets:
bin/build-storefront.sh - ✅ Clear cache:
bin/console cache:clear - ✅ Check browser console for JavaScript errors (F12)
- ✅ Verify Shopware version compatibility (6.6.3+)
Checkboxes Not Visible in Configuration (Shopware 6.7)
Solution:
The plugin uses modern Shopware 6.7 type="bool" fields. If checkboxes don't appear:
# Rebuild administration
bin/build-administration.sh
# Clear cache
bin/console cache:clear
Asset Compilation Errors
If you encounter errors during asset compilation:
# Clear all caches first
rm -rf var/cache/*
# Try compiling again
bin/build-storefront.sh
Connection Issues with Base Plugin
Verify:
- ✅ FEL OAI Assistants Manager is installed and activated
- ✅ OpenAI API key is configured in base plugin
- ✅ API connection test passes (click "API Test" button)
- ✅ OpenAI account has sufficient credits
- ✅ Server can reach
https://api.openai.com
The FEL AI Product Advisor cannot function without the FEL OAI Assistants Manager base plugin properly configured.
Next Steps
Now that you've successfully installed the FEL AI Product Advisor, proceed with:
- Configuration - Set up your plugin settings and API configuration
- Creating Your First Advisor - Add the chatbot to a CMS page
- Design Customization - Choose from 6 professional themes
- Best Practices - Learn how to optimize your chatbot for best results
You're now ready to create your first AI-powered product advisor. Head to the Creating a Product Advisor guide to get started!
Need Help?
If you continue to experience issues:
- Email:info@5-elements-design.de
- Include: Shopware version, PHP version, error messages, and steps to reproduce
- Logs: Check
var/log/prod-*.logfor detailed error information