Log in
Model

AddStorePickupAttributesToOrder

Magento\InventoryInStorePickupSales\Model\Order\AddStorePickupAttributesToOrder

What it does

This class modifies order attributes for in-store pickup orders by changing the order status to 'Complete' when shipping is not required, and adds a timestamped order history comment notifying about the pickup.

Developers use this when processing orders that will be picked up at a physical store location rather than shipped.

Public Methods

  • execute()