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
De Hyvä-frontend metgezel van wimakeit/module-stock-status. Op een Hyvä storefront installeert u ook deze: hij plaatst de status daar waar een Hyvä-thema beschikbaarheid werkelijk toont, en verbindt de status met de manier waarop Hyvä een variantwissel aankondigt.
U installeert deze module bovenop de hoofdmodule — nooit in plaats ervan. De hoofdmodule bezit de regels, de indexer, de configuratie en de rendering; deze module bezit de Hyvä-plaatsing en de variant-bridge.
Voor wie
- Winkels op Hyvä Themes die eigen beschikbaarheidsstatussen willen op productpagina's en listings
- Multi-frontend setups waar Luma of Breeze en Hyvä naast elkaar bestaan over store views heen en zich gelijk moeten gedragen
- Hyvä-projecten die anders zelf moeten uitzoeken waar een Magento-block belandt in het producttemplate van Hyvä
Belangrijkste voordelen
- Waar klanten kijken — de Hyvä productpagina rendert haar informatiekolom vanuit een template dat kinderen bij naam opvraagt, dus een block dat enkel aan de layout is toegevoegd wordt nooit gevraagd en belandt onder de specificatietabel. Deze module verplaatst het naar een slot dat Hyvä echt rendert.
- Ook op listings — Hyvä tekent elke kaart via een eigen renderblock, buiten bereik van de plaatsing van de hoofdmodule. De status wordt verhangen zodat een kaarttemplate hem bij naam kan opvragen.
- Variantwissel die werkt — Hyvä kondigt een variantwissel aan via zijn Alpine-component, niet via de verborgen input die Luma bijhoudt. De bridge vertaalt het ene naar het andere, zodat een swatch kiezen label, kleur en icoon wisselt zonder round trip.
- Kaarten die eerlijk blijven — Hyvä cachet elke kaart een uur, met de sleutel enkel op het product. Deze module voegt een fingerprint van uw regels aan die sleutel toe, zodat een status herkleuren of een regel verwijderen listings niet op het antwoord van gisteren laat staan.
- Inert buiten Hyvä — alles is gebonden aan de eigen layout handle van Hyvä, dus deze package installeren verandert niets voor store views die nog op Luma of Breeze draaien.
- Geen Tailwind build — de status levert zijn eigen stylesheet vanuit de hoofdmodule, omdat een kleur per regel niet vooraf door een thema te compileren valt.
Compatibiliteit
- Magento 2.4.x / Mage-OS equivalent
- PHP 8.1, 8.2, 8.3, 8.4
- Vereist
wimakeit/module-stock-status1.0 of hoger (dit is een frontend-addon, geen zelfstandige status-engine) - Vereist de officiële Hyvä Themes basismodule (
hyva-themes/magento2-theme-module1.3+) - Een storefront-thema op basis van Hyvä
Installeer deze module via Composer. Zorg ervoor dat uw auth.json is geconfigureerd met uw Wimakeit-inloggegevens.
$ 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.
- Versie
- v1.2.3
- Ondersteuning
- 12 maanden
- Last updated
- 25 aug. 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ä
- Compatibel
- Pakket
-
wimakeit/module-stock-status-hyva
Compatibility checker
Pick your stack to see if this module fits.
Een bug gevonden? Laat het ons weten.
Een kort formulier opent in een nieuw tabblad — de modulenaam en uw taal zijn al ingevuld. Beschrijf wat u probeerde, wat misging, en wij komen binnen één werkdag bij u terug.
Een bug melden voor Advanced Stock Status HyvaHulp nodig?
Ons team helpt u graag met de integratie.