Download the PHP package zerofront/module-zero-stock-alert without Composer
On this page you can find all versions of the php package zerofront/module-zero-stock-alert. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zerofront/module-zero-stock-alert
More information about zerofront/module-zero-stock-alert
Files in zerofront/module-zero-stock-alert
Package module-zero-stock-alert
Short Description Zero for Magento Open Source: "Tell me when it's back" on sold-out products, for any visitor, and one email when it is.
License OSL-3.0 AFL-3.0
Homepage https://zerofront.dev
Informations about the package module-zero-stock-alert
Zero_StockAlert
"Tell me when it's back" for sold-out products, for any visitor (no account needed), and one email when it is.
- Product page (Magento's
alert.urlsplace, by the price): a sold-out simple product asks for an email; a configurable product with sold-out variants asks which one ("M / Blue": every variant, Magento's own lists leave sold-out ones out) and an email. Posted with HTMX, the answer in the form's place; an address already waiting is told so. A honeypot field turns bots away; one address can wait for 50 products at most. - The email (cron every 15 minutes,
zero_stock_alert_send; now:bin/magento zero:stock-alert:send): once the product waited for is in stock, each address gets one email in the store view it asked in: the product (the configurable one for a variant, the variant named), photo, price, a link to it, and "Didn't ask for it?" (cancels). Template "Back in Stock" (Marketing > Email Templates to customize), sender per store. - Reports > Products > Stock Alerts: products by how many wait for them, notified so far, waiting since, in stock now: what to restock first.
Settings: Stores > Configuration > Zero > Stock Alerts (on/off, sender,
template). Table zero_stock_alert (waiting / sent / cancelled).
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 with it.
Part of zerofront/zero, which installs the Zero theme and every Zero module at once.
Tests
dev/tests/zero-e2e/tests/stock-alert.spec.ts (on the sold-out products in
ZERO_SOLD_OUT_PRODUCTS), stock-alert-admin.spec.ts (the report).
Disabling or removing
Its data lives in its own tables (zero_stock_alert). With the module's code still in
place, bin/magento module:disable Zero_StockAlert followed by setup:upgrade
drops those tables (Magento's declarative schema), and enabling the module
again brings them back empty. To keep the data, switch the feature off in
Stores > Configuration where it has a setting, or back up first:
bin/magento setup:upgrade --safe-mode=1 dumps the data before anything is
dropped (--data-restore=1 puts it back). Deleting the module's code instead
leaves the tables in place.
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-stock-alert with dependencies
magento/framework Version 103.0.*
magento/module-backend Version *
magento/module-catalog Version *
magento/module-catalog-inventory Version *
magento/module-config Version *
magento/module-configurable-product Version *
magento/module-cron Version *
magento/module-customer Version *
magento/module-email Version *
magento/module-reports Version *
magento/module-store Version *
zerofront/module-zero-core Version ^1.3