Storefront-Zuordnung pro Bestellung #29
Labels
No labels
API
Artikel
B2B
B2C
Bestandssync
Bestellungen
DACH
DocType
Dokumentation
Grundgerüst
Import
Kategorien
Kunden
Lager
Mapping
Mehrsprachigkeit
Performance
Preise
Push
Scheduler
Schweiz
Steuern
Storefront
Sync
Varianten
Verbindung
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Frappe-Projekte/ecommerce_integrations#29
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Beim Bestellungsimport die Bestellung dem richtigen Storefront zuordnen:
Shopware StorefrontDocType ermittelnGeschlossen ohne neuen Code
Alle fünf Punkte aus dem Issue-Text sind bereits durch #27 vollständig umgesetzt (und in #28s vollem
import_orders()-Lauf erneut live mitgetestet), geprüft direkt im aktuellenecommerce_integrations/shopware6/api/order.py:order_data.get("salesChannelId")in_create_sales_order()._resolve_storefront()— Lookup übershopware_account+sales_channel_id+is_active.so.company = storefront.company,so.selling_price_list = storefront.price_list,storefront.warehousewird jeder Bestellposition mitgegeben.so.company._OrderSkip("skipped_no_storefront", ...)— wird vonimport_orders()s Exception-Handler perfrappe.log_error()protokolliert (bewusst nicht wieskipped_cancelledausgenommen) und übersprungen.Marcels Fork geprüft: sein
Shopware Setting.sales_channels-Child-Table (doctype/shopware_setting/shopware_setting.py) löst ein anderes Problem — Multi-Channel-Branding/Sichtbarkeit bei einer Company, nicht unser Multi-Company-pro-Storefront-Modell, dasShopware Storefront(#7) für den DACH-Anwendungsfall bereits abdeckt. Kein zusätzlicher Design-Fund, nichts zu übernehmen.#27s eigene Doku hatte #29 bewusst offen gelassen ("stays open for review even though the basic lookup already runs here") statt es stillschweigend als erledigt anzunehmen — dieser Issue schließt diese Lücke jetzt explizit, mit tatsächlicher Prüfung statt Annahme.
Details: docs/architecture.md#issue-29