Advanced Stock Status Hyva
v1.2.3
Advanced Stock Status Hyva
- Updates and support included for 12 months
- License key delivered immediately by email
- 30-day money-back guarantee
- Full documentation included
- Compatible with Hyvä themes
- Composer-ready installation
The Hyvä-frontend companion of wimakeit/module-stock-status. On a Hyvä storefront, install this one too: it puts the status where a Hyvä theme actually reads availability, and connects the status to Hyvä's own way of announcing a variant change.
You install this module in addition to the main module — never instead of it. The main module owns the rules, the indexer, the configuration and the rendering; this one owns the Hyvä placement and the variant bridge.
Who it's for
- Stores running Hyvä Themes that want custom availability statuses on product pages and listings
- Multi-frontend setups where Luma or Breeze and Hyvä coexist across store views and must behave the same
- Hyvä projects that would otherwise have to work out where a Magento block ends up in Hyvä's product template
Key benefits
- Lands where customers look — Hyvä's product page renders its information column from a template that asks for children by name, so a block simply added to the layout is never asked for and falls below the specification table. This module moves it into a slot Hyvä actually renders.
- Works on listings too — Hyvä draws each card through its own renderer block, out of reach of the base module's placement. The status is reparented so a card template can ask for it by name.
- Variant switching that works — Hyvä announces a variant change through its Alpine component, not through the hidden input Luma maintains. The bridge translates one into the other, so picking a swatch swaps the label, the colour and the icon with no round trip.
- Listing cards stay honest — Hyvä caches each card for an hour, keyed on the product alone. This module adds a fingerprint of your rules to that key, so recolouring a status or deleting a rule does not leave listings showing yesterday's answer.
- Inert on non-Hyvä store views — everything is bound to Hyvä's own layout handle, so installing this package changes nothing for the store views still on Luma or Breeze.
- No Tailwind build — the status ships its own stylesheet from the main module, because a per-rule colour is not something a theme can compile ahead of time.
Compatibility
- Magento 2.4.x / Mage-OS equivalent
- PHP 8.1, 8.2, 8.3, 8.4
- Requires
wimakeit/module-stock-status1.0 or later (this is a frontend addon, not a standalone status engine) - Requires the official Hyvä Themes base module (
hyva-themes/magento2-theme-module1.3+) - A Hyvä-based storefront theme
Install this module via Composer. Make sure your auth.json is configured with your Wimakeit credentials.
$ composer require wimakeit/module-stock-status-hyva:^1.2.3
$ bin/magento setup:upgrade
$ bin/magento setup:di:compile
Installation notes
The standard composer require + setup:upgrade + setup:di:compile flow applies. The points below cover what's specific to this module.
Required Wimakeit dependency
This module is a frontend addon for Hyvä. It cannot work on its own — install the main module alongside it:
| Package | Minimum | Role |
|---|---|---|
wimakeit/module-stock-status | 1.0 | owns the rules, the indexer, the configuration and the rendering |
wimakeit/module-stock-status-hyva | this module | Hyvä placement and the variant bridge |
Required third-party dependency
| Package | Minimum |
|---|---|
hyva-themes/magento2-theme-module | 1.3 |
Your storefront must run on a Hyvä-based theme. If your store is on Luma or Breeze, install only the main module and skip this one.
Configuration
There is no admin configuration specific to this module. Everything — the status attribute, the display mode, listings on or off — lives in the main module under Stores → Configuration → Wimakeit → Stock Status.
Where the status lands
By default the status is placed in product.info.additional, the one slot both Hyvä's own product template and the themes built on it render.
To put it somewhere more deliberate — under the price, beside the delivery promise — a theme calls it by name and reparents it:
<?= $block->getChildHtml('wimakeit.stock.status') ?>
<move element="wimakeit.stock.status" destination="product.info"/>
That <move> belongs in the theme's own hyva_catalog_product_view.xml. The hyva_ handle is added after the standard one, so a move written in catalog_product_view.xml is silently overridden by this package's — nothing warns, and the status stays at the bottom of the column.
Replacing the theme's own availability line
A theme that already prints availability should stand that line down where the status appears, or the page states availability twice. Mark it wm-stock-fallback and place it after the status; the main module's stylesheet does the rest, and only when Native Stock Information is set to Replace.
<?= $block->getChildHtml('wimakeit.stock.status') ?>
<p class="your-stock-line wm-stock-fallback"> ... </p>
A product no rule matches renders no status at all, the selector does not match, and your own line stays exactly as it was.
Listing cards
Hyvä caches each listing card for an hour, keyed on the product, the store and the customer group. This module adds a fingerprint of the rule table to that key, so an edited or deleted rule retires the affected cards instead of leaving them until the entry expires. Nothing to configure.
- Version
- v1.2.3
- Support
- 12 months
- Last updated
- Aug 25, 2026
- Magento
- Magento 2.4.4 Magento 2.4.5 Magento 2.4.6 Magento 2.4.7 Mage-OS 2.0 Mage-OS 2.1
- PHP
- PHP 8.1 PHP 8.2 PHP 8.3
- Hyvä
- Compatible
- Package
-
wimakeit/module-stock-status-hyva
Compatibility checker
Pick your stack to see if this module fits.
Found a bug? Tell us about it.
A short form opens in a new tab — the module name and your language are already filled in. Share what you tried, what went wrong, and we will get back to you within one business day.
Report a bug for Advanced Stock Status HyvaNeed help?
Our team is available to assist with integration.