The premium add-on gives customers a self-service page on the storefront where they can view active alerts and manage them without contacting the store. The page is accessible from the customer account area once the add-on is installed.
How it works for the customer
- A signed-in customer opens the stock alert page. Alerts linked to their account email are displayed automatically in the My Stock Alerts section.
- If the customer registered alerts with a different email address, they can enter that email to request verification.
- A one-time verification code is sent to the entered email address.
- After entering the correct code, alerts for that email appear in a separate Verified Guest Alerts section.
- From either section, the customer can remove alerts or add in-stock items directly to cart.
Customer-facing page features
| Feature | Description |
|---|---|
| My Stock Alerts | Shows all active alerts linked to the signed-in account email automatically. |
| Verify Another Email | Lets the customer securely access guest alerts registered with a different email address via OTP. |
| Verified Guest Alerts | Shows alerts for any guest email verified during the current browser session. |
| Alert row details | Displays product image, name, model, price, selected option text, requested quantity, date added, and stock state. |
| Add to Cart | Shown when the product is purchasable directly. Redirects to the product page if required options are unselected. |
| Remove Alert | Removes the subscription immediately, with session-aware authorization checks. |
Stock state on the alert page
The alert page does not rely only on the raw product quantity. It evaluates each alert using the same rule logic configured in the main extension — including rule quantity thresholds, optional stock-status validation, manual selection mode, and option-specific availability. This keeps the storefront view consistent with what the notification system actually uses.
The premium page reuses the main extension alert data and email template system. No parallel alert table is created. The page route is
index.php?route=extension/module/stock_alertsand it is linked from the customer account page automatically via OCMOD when the add-on is installed.