Dieses Kapitel führt Sie durch die Installation des ShopBite Plugins in Ihrem Shopware 6-System.
# Plugin über Composer installieren
composer require shopbite-de/shopware-plugin
# Plugin aktivieren
bin/console plugin:install --activate ShopBite
# Cache leeren
bin/console cache:clear
# Plugin herunterladen
wget https://github.com/shopbite-de/shopware-plugin/releases/latest/download/shopbite-plugin.zip
unzip shopbite-plugin.zip -d custom/plugins/ShopBite
# Plugin installieren und aktivieren
bin/console plugin:refresh
bin/console plugin:install --activate ShopBite
# Datenbank-Migrationen ausführen
bin/console database:migrate --all ShopBite
# Cache leeren
bin/console cache:clear
# Composer-Methode (empfohlen)
composer require shopbite-de/shopware-plugin
# Manuelle Methode
wget https://github.com/shopbite-de/shopware-plugin/releases/latest/download/shopbite-plugin.zip
unzip shopbite-plugin.zip -d custom/plugins/ShopBite
# Plugin-List aktualisieren
bin/console plugin:refresh
# Plugin installieren
bin/console plugin:install ShopBite
# Plugin aktivieren
bin/console plugin:activate ShopBite
# Status prüfen
bin/console plugin:list | grep ShopBite
# Migrationen ausführen
bin/console database:migrate --all ShopBite
# Migrationen prüfen
bin/console database:migrate:status
# Cache leeren
bin/console cache:clear
# Theme-Cache aktualisieren
bin/console theme:compile
# Administration-Cache aktualisieren
bin/console administration:build
# Verzeichnisberechtigungen setzen
sudo chown -R www-data:www-data custom/plugins/ShopBite
sudo chmod -R 755 custom/plugins/ShopBite
# Cache-Berechtigungen
sudo chmod -R 777 var/cache
# API-Integration erstellen
bin/console integration:create:admin --name="ShopBite Storefront" --description="API-Zugang für ShopBite Storefront"
# Berechtigungen setzen
bin/console acl:role:create --name="ShopBite API Role" --description="API-Rolle für ShopBite"
bin/console acl:role:assign --name="ShopBite API Role" --resource="order:read,order:write,product:read"
# Plugin-Status anzeigen
bin/console plugin:list | grep ShopBite
# Plugin-Details anzeigen
bin/console plugin:info ShopBite
# Tabellen prüfen
mysql -u shopware -p shopware -e "SHOW TABLES LIKE 'shopbite_%';"
# Daten prüfen
mysql -u shopware -p shopware -e "SELECT * FROM shopbite_business_hour LIMIT 5;"
# API-Test (ersetzen Sie die URL und den Token)
curl -X GET "https://Ihre-Shopware-Domain.de/store-api/shopbite/business-hour" \
-H "Authorization: Bearer IhrAPIToken" \
-H "sw-access-key: IhrAccessKey"
Symptome:
Lösungen:
# Cache leeren
bin/console cache:clear
# Plugin-List aktualisieren
bin/console plugin:refresh
# Berechtigungen prüfen
sudo chown -R www-data:www-data custom/plugins/ShopBite
Symptome:
Lösungen:
# Migrationen manuell ausführen
bin/console database:migrate --all ShopBite --force
# Datenbank-Berechtigungen prüfen
mysql -u root -p
GRANT ALL PRIVILEGES ON shopware.* TO 'shopware'@'localhost';
FLUSH PRIVILEGES;
Symptome:
Lösungen:
# Routen-Cache leeren
bin/console router:cache:warmup
# Plugin neu aktivieren
bin/console plugin:deactivate ShopBite
bin/console plugin:activate ShopBite
# API-Berechtigungen prüfen
bin/console acl:role:list
Symptome:
Lösungen:
# Composer-Cache leeren
composer clear-cache
# Packagist aktualisieren
composer update
# Manuelle Installation
wget https://github.com/shopbite-de/shopware-plugin/releases/latest/download/shopbite-plugin.zip
# Plugin deaktivieren
bin/console plugin:deactivate ShopBite
# Plugin deinstallieren
bin/console plugin:uninstall ShopBite
# Daten bereinigen (optional)
bin/console plugin:uninstall ShopBite --keep-user-data=false
# Plugin-Verzeichnis entfernen
rm -rf custom/plugins/ShopBite
# Cache leeren
bin/console cache:clear
# Datenbank bereinigen (optional)
mysql -u shopware -p shopware -e "DROP TABLE IF EXISTS shopbite_business_hour, shopbite_holiday;"