brosolutions / discontinued-products-hyva
Hyvä Theme compatibility for brosolutions/discontinued-products: repositions the discontinued-product notice next to Add to Cart and restyles the Replacement Products block with Tailwind markup.
Package info
github.com/brosolutions/DiscontinuedProductsHyva
Language:HTML
Type:magento2-module
pkg:composer/brosolutions/discontinued-products-hyva
Requires
- php: >=7.4
- brosolutions/discontinued-products: >=1.0.0
- hyva-themes/magento2-theme-module: >=1.3.0
- magento/framework: >=100.0.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-09-04 16:17:50 UTC
README
Discontinued Products Hyvä is a free Magento 2 module that makes brosolutions/discontinued-products look and behave correctly on a Hyvä Theme storefront - repositioning its notice next to the product summary and restyling its "Replacement Products" block with native Tailwind markup instead of unstyled Luma HTML.
Built by BroSolutions, Magento experts since 2015.
Features
- Moves the "discontinued" notice from the bottom of the page (where it silently ends up under Hyvä's deeper block nesting) to sit right above the product summary card
- Replaces the "Replacement Products" block's Luma-only markup with a Tailwind card grid, using Hyvä's own
.card/.card-interactivecomponents - Renders replacement product images with Hyvä's own lightweight image template instead of the default responsive-wrapper one, which otherwise overflows narrower grid cards with a hardcoded pixel width
- No configuration needed - install alongside both modules and it applies automatically
- Everything else (blocking purchase, the redirect, the Quick Order integration) is theme-independent and already works without this module; this one is purely presentational
Installation
Requires both brosolutions/discontinued-products and a Hyvä Theme installation (hyva-themes/magento2-theme-module).
composer require brosolutions/discontinued-products-hyva bin/magento module:enable BroSolutions_DiscontinuedProductsHyva bin/magento setup:upgrade
Usage
Nothing to configure. Once installed on a Hyvä storefront, a discontinued product's page shows the configured message right above the price/Add to Cart card, and its replacement suggestions render as a proper Tailwind-styled card grid instead of plain text.
Feedback & Contributions
Feel free to open issues or submit pull requests.
Need customizations or help with your Magento store?
Contact BroSolutions or visit brosolutions.net
License
This module is open-source and free to use under the MIT license.