Skip to content

csaeum/WSCPluginSWSyncVariantPositions

Repository files navigation

WSC Sync Variant Positions

English | Français

Shopware 6 PHP License Maintained


⭐ Lizenz & Unterstützung

Made with ❤️ by WSC - Web SEO Consulting

Dieses Projekt ist kostenlos und Open Source unter der GPL-3.0-or-later Lizenz.


💖 Unterstütze meine Arbeit

Wenn dir dieses Projekt geholfen hat:

GitHub Sponsors Buy Me a Coffee PayPal


🔧 Weitere Shopware Plugins

Plugin Beschreibung
WSCPluginSWSyncVariantPositions Varianten-Positionen synchronisieren

GitHub followers GitHub stars


Was macht dieses Plugin?

Synchronisiert die Positionen der Varianten-Auswahl (product_configurator_setting.position) mit den Eigenschaftswert-Positionen aus property_group_option_translation.position in Shopware 6.

Das Problem

Beim Import von Eigenschaften (Properties) oder bei manueller Pflege werden die Positionen in der Tabelle property_group_option_translation gespeichert. Nach dem Generieren der Varianten werden diese Positionen jedoch nicht automatisch auf die Configurator-Einstellungen (product_configurator_setting) übertragen, die die Reihenfolge der Variantenauswahl am Produkt steuern.

Die Lösung

Dieses Plugin bietet drei Wege zur Synchronisation:

  1. 🖥️ Admin Interface - Manuelle Synchronisation über das Shopware Admin Panel
  2. ⚡ CLI Command - Schnelle Ausführung über die Konsole
  3. 🔄 Scheduled Task - Automatische Hintergrund-Synchronisation

Features

Drei Synchronisations-Methoden

  • Admin UI mit Live-Statistiken
  • CLI-Command für Automatisierung
  • Scheduled Task für regelmäßige Sync

Flexible Optionen

  • Dry-Run Vorschau
  • Produkt-spezifischer Sync via UUID-Filter
  • Konfigurierbare Batch-Größe

Performance-Optimiert

  • Batch-Processing (500 Einträge/Batch)
  • Nur geänderte Positionen werden aktualisiert
  • Effiziente SQL-Queries

Multi-Language

  • Deutsch, Englisch, Französisch
  • Vollständig übersetzt (Admin UI + CLI)

Produktionsbereit

  • Umfangreiches Error-Handling
  • Logging für Scheduled Tasks
  • Rückwärtskompatibel mit CLI

Schnellstart

Über Shopware Admin

  1. SettingsVarianten Position Sync
  2. Dry-Run aktivieren für Vorschau
  3. Optional: Produkt-ID eingeben für spezifisches Produkt
  4. Synchronisieren klicken

Über CLI

# Vorschau (empfohlen für ersten Test)
bin/console wsc:sync-variant-positions --dry-run

# Alle Produkte synchronisieren
bin/console wsc:sync-variant-positions

# Nur ein Produkt
bin/console wsc:sync-variant-positions --product-id=018d9a5c3a4b70b8a8f8c2e8e8f8e8f8

# Mit ausführlicher Ausgabe
bin/console wsc:sync-variant-positions --dry-run -v

Automatische Synchronisation

  1. EinstellungenSystemPluginsWSC Sync Variant Positions
  2. "Geplante Synchronisation aktivieren" einschalten
  3. Intervall einstellen (Standard: 3600 Sekunden = 1 Stunde)
  4. Speichern

Dokumentation

Support & Beiträge

Pull Requests sind willkommen! Bitte öffne zuerst ein Issue, um größere Änderungen zu besprechen.

Changelog

Siehe CHANGELOG.md für alle Änderungen.

Lizenz & Credits

Made with ❤️ by WSC - Web SEO Consulting

Dieses Projekt ist kostenlos und Open Source unter der GPL-3.0-or-later Lizenz.

Wenn dir dieses Projekt geholfen hat, freue ich mich über deine Unterstützung:

GitHub Sponsors Buy Me a Coffee PayPal


WSC - Web SEO Consulting www.web-seo-consulting.eu

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •