This chapter guides you through the installation of the ShopBite Plugin in your Shopware 6 system.
# Install plugin via Composer
composer require shopbite-de/shopware-plugin
# Activate plugin
bin/console plugin:install --activate ShopBite
# Clear cache
bin/console cache:clear
# Download plugin
wget https://github.com/shopbite-de/shopware-plugin/releases/latest/download/shopbite-plugin.zip
unzip shopbite-plugin.zip -d custom/plugins/ShopBite
# Install and activate plugin
bin/console plugin:refresh
bin/console plugin:install --activate ShopBite
# Run database migrations
bin/console database:migrate --all ShopBite
# Clear cache
bin/console cache:clear
# Composer method (recommended)
composer require shopbite-de/shopware-plugin
# Manual method
wget https://github.com/shopbite-de/shopware-plugin/releases/latest/download/shopbite-plugin.zip
unzip shopbite-plugin.zip -d custom/plugins/ShopBite
# Update plugin list
bin/console plugin:refresh
# Install plugin
bin/console plugin:install ShopBite
# Activate plugin
bin/console plugin:activate ShopBite
# Check status
bin/console plugin:list | grep ShopBite
# Run migrations
bin/console database:migrate --all ShopBite
# Check migrations
bin/console database:migrate:status
# Clear cache
bin/console cache:clear
# Update theme cache
bin/console theme:compile
# Update administration cache
bin/console administration:build
# Set directory permissions
sudo chown -R www-data:www-data custom/plugins/ShopBite
sudo chmod -R 755 custom/plugins/ShopBite
# Cache permissions
sudo chmod -R 777 var/cache
# Create API integration
bin/console integration:create:admin --name="ShopBite Storefront" --description="API access for ShopBite Storefront"
# Set permissions
bin/console acl:role:create --name="ShopBite API Role" --description="API role for ShopBite"
bin/console acl:role:assign --name="ShopBite API Role" --resource="order:read,order:write,product:read"
# Show plugin status
bin/console plugin:list | grep ShopBite
# Show plugin details
bin/console plugin:info ShopBite
# Check tables
mysql -u shopware -p shopware -e "SHOW TABLES LIKE 'shopbite_%';"
# Check data
mysql -u shopware -p shopware -e "SELECT * FROM shopbite_business_hour LIMIT 5;"
# API test (replace URL and token)
curl -X GET "https://Your-Shopware-Domain.de/store-api/shopbite/business-hour" \
-H "Authorization: Bearer YourAPIToken" \
-H "sw-access-key: YourAccessKey"
Symptoms:
Solutions:
# Clear cache
bin/console cache:clear
# Update plugin list
bin/console plugin:refresh
# Check permissions
sudo chown -R www-data:www-data custom/plugins/ShopBite
Symptoms:
Solutions:
# Run migrations manually
bin/console database:migrate --all ShopBite --force
# Check database permissions
mysql -u root -p
GRANT ALL PRIVILEGES ON shopware.* TO 'shopware'@'localhost';
FLUSH PRIVILEGES;
Symptoms:
Solutions:
# Clear route cache
bin/console router:cache:warmup
# Re-activate plugin
bin/console plugin:deactivate ShopBite
bin/console plugin:activate ShopBite
# Check API permissions
bin/console acl:role:list
Symptoms:
Solutions:
# Clear Composer cache
composer clear-cache
# Update Packagist
composer update
# Manual installation
wget https://github.com/shopbite-de/shopware-plugin/releases/latest/download/shopbite-plugin.zip
# Deactivate plugin
bin/console plugin:deactivate ShopBite
# Uninstall plugin
bin/console plugin:uninstall ShopBite
# Clean data (optional)
bin/console plugin:uninstall ShopBite --keep-user-data=false
# Remove plugin directory
rm -rf custom/plugins/ShopBite
# Clear cache
bin/console cache:clear
# Clean database (optional)
mysql -u shopware -p shopware -e "DROP TABLE IF EXISTS shopbite_business_hour, shopbite_holiday;"