Log in
Model

AdaptGetShippingAddressPlugin

Magento\InventoryInStorePickupQuoteGraphQl\Model\Cart\GetShippingAddress\AdaptGetShippingAddressPlugin

What it does

This plugin adapts the GraphQL shipping address functionality to support in-store pickup locations.

When a customer provides a pickup_location_code in their GraphQL request, it automatically retrieves the store's address from the inventory source and sets it as the shipping address, while storing the pickup location code in the quote address extension attributes.

Public Methods

  • beforeExecute()
  • afterExecute()