Download the PHP package fixstacks/module-zero-store-pickup without Composer
On this page you can find all versions of the php package fixstacks/module-zero-store-pickup. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fixstacks/module-zero-store-pickup
More information about fixstacks/module-zero-store-pickup
Files in fixstacks/module-zero-store-pickup
Package module-zero-store-pickup
Short Description Zero for Magento Open Source: Magento's In-Store Pickup in Zero Checkout, only stores that can take the whole cart, and a store locator page with maps on demand.
License OSL-3.0 AFL-3.0
Homepage https://fixstacks.com/zero
Informations about the package module-zero-store-pickup
Zero_StorePickup
Magento's In-Store Pickup in Zero Checkout, and a store locator page.
Magento Open Source has pickup locations (MSI) and an In-Store Pickup delivery method, but its checkout step is a Knockout component, so it doesn't run in Zero Checkout. This module adds the missing storefront, on Magento's own data and rules.
Install
Requires Magento Open Source 2.4.7–2.4.9 and PHP 8.2–8.4 with the GD extension built with WebP (php -r 'var_dump(function_exists("imagewebp"));' says true; Magento's own PHP requirements cover the rest). Without WebP in GD, Zero skips its WebP image copies and serves the originals.
Composer installs zerofront/module-zero-core, zerofront/module-zero-checkout with it.
Part of zerofront/zero, which installs the Zero theme and every Zero module at once.
The stores
A store is an MSI source used as a pickup location: Stores > Inventory > Sources > a source > "Use as Pickup Location", with its frontend name, its address, coordinates, phone, email, and the frontend description (shown as the opening hours). The website sees the stores of its stock.
In Zero Checkout
With In-Store Pickup Delivery picked (Sales > Delivery Methods > In-Store
Pickup Delivery), a panel after the shipping methods (Zero Checkout's
zero.checkout.shipping.after, shown by CSS :has()) lists the stores that
have everything in the cart in stock, as Magento's own rate requires. Radio
buttons in the checkout form, no script.
Placing the order (Model\PlaceOrder\PickupValidator): without a store the
order is refused with a message. The store is looked up again by its code
and must still have the cart. The shipping address becomes the store's
(Magento's ToQuoteAddress, keeping the customer's name, phone and email,
and the pickup location code on the address), which is what Magento's
In-Store Pickup checks on the quote; the address the customer typed stays
the billing address. Magento then keeps the store on the order
(inventory_pickup_location_order), and the admin's order page offers
"Notify Order is Ready for Pickup".
The store locator
/storelocator: every store of the website with its address, hours, phone
and email, Directions (Google Maps) and Open in OpenStreetMap; a search by
city, postcode or street (a plain GET form). Under each store a "Map" in a
<details>: OpenStreetMap's embed loads only when it is opened. The footer
links to it ("Our stores") where the website has stores.
The page is cached like any page: after editing a store, clean the page cache.
Settings
Stores > Configuration > Zero > Store Pickup: the locator page on or off, its title, and the maps. The delivery method's own settings (title, name, price) are Magento's.
Demo
bin/magento zero:demo:store usa (Zero_DemoStores, store.json pickup)
creates Night Shift Club's two New York stores, a stock of their own for
the usa website and their stock of every product, and switches In-Store
Pickup on there. Note: a second source turns Magento's inventory into
multi-source mode for the whole installation (the product form shows
sources instead of one quantity).
Tests
dev/tests/zero-e2e/tests/store-pickup.spec.ts: the locator (stores,
search, a map only when opened) and an order picked up in store, refused
without a store.
License
OSL-3.0 or AFL-3.0, your choice: see NOTICE.md.
Zero is made by Fixstacks in partnership with Vilmate, a software development company. Documentation: https://zerofront.dev/docs. Demo store: https://demo.zerofront.dev.
All versions of module-zero-store-pickup with dependencies
magento/framework Version 103.0.*
magento/module-backend Version *
magento/module-checkout Version *
magento/module-config Version *
magento/module-csp Version *
magento/module-directory Version *
magento/module-inventory-in-store-pickup-api Version *
magento/module-inventory-in-store-pickup-quote Version *
magento/module-inventory-in-store-pickup-shipping-api Version *
magento/module-inventory-sales-api Version *
magento/module-quote Version *
magento/module-store Version *
fixstacks/module-zero-core Version ^1.3
fixstacks/module-zero-checkout Version ^1.3