Skip to content

Repository files navigation

Spare Parts for Magento 2

Spare Parts is a free Magento 2 module that lets you attach spare/repair parts to a product, show them in a block on the product page, and browse them on their own dedicated storefront page.

Built by BroSolutions, Magento experts since 2015.


Features

  • "Show Spare Parts" toggle + product picker on the product edit page (own "Spare Parts" tab)
  • "Spare Parts" block on the product page, showing the parts linked to that product
  • Standalone storefront listing page at /replacement-parts with layered navigation
  • REST endpoint (GET /V1/replacement-parts) to fetch the parts linked to a product
  • Configurable item limit, in-stock-only filter, and "View all" link threshold

Installation

Install via Composer:

composer require brosolutions/spare-parts
bin/magento module:enable BroSolutions_SpareParts
bin/magento setup:upgrade

Usage

On any product's edit page, open the Spare Parts tab, turn on Show Spare Parts, and pick the products that are spare/repair parts for it. They'll appear in a "Spare Parts" block on that product's page.

The full list is also browsable on its own page:

/replacement-parts

Enable/disable, the item limit, and display options live at:

Stores → Configuration → Bro Solutions → Spare Parts

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.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages