brosolutions / spare-parts-hyva
Hyvä Theme compatibility for brosolutions/spare-parts: restyles the product-page Spare Parts block with Tailwind markup and a no-JS Add to Cart form.
Package info
github.com/brosolutions/SparePartsHyva
Language:HTML
Type:magento2-module
pkg:composer/brosolutions/spare-parts-hyva
Requires
- php: >=7.4
- brosolutions/spare-parts: >=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-05 00:08:46 UTC
README
Spare Parts Hyvä is a free Magento 2 module that makes brosolutions/spare-parts look and behave
correctly on a Hyvä Theme storefront - restyling its product-page "Replacement parts" block with
native Tailwind markup instead of unstyled Luma HTML.
Built by BroSolutions, Magento experts since 2015.
Features
- Replaces the product-page "Replacement parts" block's Luma-only markup with a Tailwind card
grid, using Hyvä's own
.card/.card-interactivecomponents - Renders spare-part 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
- Add to Cart works with a plain HTML form post - no dependency on jQuery/RequireJS, which Hyvä doesn't ship
- No configuration needed - install alongside both modules and it applies automatically
- The full per-product listing page (
/replacement-parts/index/index/product_id/<id>/) already works on Hyvä out of the box without this module, since it reuses Magento's own category and layered-navigation templates - this module only covers the product-page block
Installation
Requires both brosolutions/spare-parts and a Hyvä Theme installation
(hyva-themes/magento2-theme-module).
composer require brosolutions/spare-parts-hyva bin/magento module:enable BroSolutions_SparePartsHyva bin/magento setup:upgrade
Usage
Nothing to configure. Once installed on a Hyvä storefront, a product's "Replacement parts" block renders as a proper Tailwind-styled card grid, each part with working Add to Cart.
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.