Search by

zerofront / module-zero-quick-order

pasichnikroman

Zero for Magento Open Source: a quick order page: SKUs and quantities, a pasted list or a CSV file, straight into the cart.

Package info

github.com/zerofrontdev/module-zero-quick-order

Homepage

Type:magento2-module

pkg:composer/zerofront/module-zero-quick-order

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.3.3 2026-10-21 14:26 UTC

This package is auto-updated.

Last update: 2026-10-21 14:36:59 UTC


README

A /quickorder page for shoppers who know the SKUs: rows of SKU and quantity, a pasted list or a CSV file, one click into the cart.

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 require zerofront/module-zero-quick-order
bin/magento setup:upgrade
bin/magento setup:di:compile           # production mode
bin/magento setup:static-content:deploy # production mode
bin/magento cache:flush

Composer installs zerofront/module-zero-core with it.

Part of zerofront/zero, which installs the Zero theme and every Zero module at once.

Storefront

  • Rows: SKU and quantity, five to start with (configurable), "5 more rows" adds five (HTMX fragment). As a SKU is typed the row shows what it is — name, price, a note when it is out of stock or needs options (Controller\Product\Lookup).
  • A pasted list: one SKU per line, the quantity after a comma, a semicolon, a tab or a space; 24-MB01, 2, 24-UG06 1, 24-WB02.
  • A CSV file: SKU in the first column, quantity in the second, a header row skipped, comma, semicolon or tab delimited, up to 1 MB.
  • Add to Cart: one plain POST (Controller\Cart\Add). Everything that could go in goes in; what couldn't is listed by SKU with the reason (unknown, disabled, not in this website, out of stock, needs options — order a configurable product by its variant's SKU). The same SKU twice adds up; at most 200 lines per submit.
  • Links: My Account menu, and the footer links (switchable).

Nothing on the page needs JavaScript beyond the theme's htmx: the lookups and the extra rows are enhancements, the form posts without them.

Configuration

Stores > Configuration > Zero > Quick Order: Enabled, Rows Shown, Link in the Footer.

Tests

  • Test/Unit/Model/ParserTest.php: the three inputs and their merge.
  • dev/tests/zero-e2e/tests/quick-order.spec.ts: rows plus a pasted list into the cart, an unknown SKU reported, the SKU lookup.

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.