Skip to content

Shoppingfeed ​

Shoppingfeed is used as an order connector. The reviewed source establishes order import, accept/acknowledge actions, cancellation/refusal helpers, and shipment feedback; it does not establish a product-catalog sync.

Source blocker

At commit 42116ebc0ba509bce9cc6651a55ecefd9a5fdb38, menzzo:erp:shopping-feed:sync:sales calls dd($orders) immediately after fetching orders. That debug statement stops execution before mapping and persistence. Treat the import flow as blocked until the deployed revision is checked and the statement is removed or intentionally retained.

Entry point ​

text
menzzo:erp:shopping-feed:sync:sales --storeId=<shoppingfeed-store-id>

The command first checks mz.sale->canImportSales(), requires --storeId, selects the Shoppingfeed account, fetches unacknowledged orders from store/{storeId}/order?acknowledgment=unacknowledged, and is intended to map and persist new sales. Existing sales are skipped by provider order id and source.

The service then accepts and acknowledges imported orders. The source also exposes cancel/refuse endpoints for supported order actions.

Shipment feedback ​

When a Shoppingfeed sale is shipped, the service posts the tracking number, tracking link, and carrier to the Shoppingfeed order/ship endpoint. The default carrier is GEODIS unless a sale-product carrier is available. The local sale/shipment state is still the source of truth for Logidav.

What remains unknown ​

  • Whether the debug statement is present in the deployed application.
  • Which store ids, schedules, and credentials are active.
  • Whether catalog exports are handled elsewhere; no catalog publisher was found in the reviewed command/service pair.
  • Whether accept/acknowledge and shipment calls have been read back successfully.

Source locations ​

  • src/ErpBundle/Command/ShoppingFeed/Sync/SaleCommand.php — command guard, store selection, fetch, and current debug stop.
  • src/ErpBundle/Services/ShoppingFeed/ShoppingFeedService.php — API endpoints, sale mapping, acceptance, acknowledgement, and shipment feedback.

Internal developer documentation for Menzzo systems.