Adds an In-Store Pickup shipping method. At checkout the shopper chooses it, then picks one of your stores. The same store list feeds the store locator on the Contact page.
In-Store Pickup is an ordinary shipping carrier, so it appears in the shipping-method list like any other.
When the order is placed with it, the order’s shipping address becomes the store’s address, with the shopper as recipient. Invoices and shipments then point at the store.
The shopper’s own address stays on the cart, so shipping rates and tax are still calculated from it.
If the shopper picked a store but then chose another shipping method, the store choice is ignored.
The store’s name and address are read from configuration when shown, so editing a store also updates how past orders display it.
The merchant switches pickup on, sets title, name and price, and adds stores in an editor that fits all fields.
The storefront sees pickup on and its title.
Choose pickup
The shopper enters an address; shipping methods include pickup.
They choose pickup and a store; the storefront stores the code on the cart.
The cart returns the full store address; clearing the code removes the choice.
Place the order
If the order uses the pickup method and has a code, the code is copied to the order and the shipping address becomes the store's (store name as company, shopper as recipient).
If the order uses another method, or is virtual, a code on the cart is ignored.
After the order
The customer's order shows the pickup store.
Changing a store's address later updates how past orders display it.
Store locator
A stores page lists the same stores with coordinates for a map.
Yes/No. Offers "In-Store Pickup" as a shipping method and enables the storefront store picker.
Title carriers/magenx_storepickup/title
In-Store Pickup
Store view
Text. Carrier heading shown to the shopper.
Method Name carriers/magenx_storepickup/name
In-Store Pickup
Store view
Text. Method label shown next to the title.
Store Locations carriers/magenx_storepickup/locations
empty
Store view
Text. Physical stores customers can collect from. "Code" must be a unique, stable identifier (e.g. "berlin-mitte"). Latitude/Longitude are optional and used for the map on the Contact page.
storePickupLocations needs no sign-in, so guests can pick up too. setStorePickupLocationOnCart only accepts a configured store code; pass an empty code to clear it.
The merchant's physical stores that offer in-store pickup, configured under Stores → Configuration → Sales → Shipping Methods → In-Store Pickup. Never cached: the answer is private to the signed-in customer.
Argument
Type
Description
enabled_only
Boolean = true
Kept for forward compatibility; every configured location is currently returned.