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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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.


Vilmate

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

PHP Build Version
Package Version
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package fixstacks/module-zero-store-pickup contains the following files

Loading the files please wait ...