Medusa plugins
B

Bundled products

Plugin for bundled products.

Need customizations for this plugin?

Get in touch
npm install medusa-bundled-products
Category
other
Built by
abdullah-afzal
Type
unknown
Last updated
1 month ago
Monthly downloads
37

✨ Features

  • Create bundled products with linked products
  • Set custom pricing for bundles
  • Integrates seamlessly with Medusa’s core product and variant models
  • Supports cart and order handling for bundles
  • Easily extendable for storefront display

πŸ”„ Compatibility

  • Medusa version: >= 2.4.0

πŸ“¦ Installation

  1. Install the plugin:

    npm install medusa-bundled-products
    # or
    yarn add medusa-bundled-products
  2. Add it to your :

    module.exports = defineConfig({
    // ...
    plugins: [
    {
    resolve: "medusa-bundled-products",
    options: {
    // Optional configuration
    },
    },
    ],
    });
  3. Run Migrations:

    npx medusa db:migrate

πŸš€ API Endpoints

Admin Endpoints

  • β†’ Create a bundled product
  • β†’ List all bundled products

Storefront Endpoints

  • β†’ Get a specific bundled product
  • β†’ Add a bundle to a cart
  • β†’ Remove a bundle from a cart

πŸ›’ Cart Behavior

This plugin ensures bundles are treated as a single unit in the cart:

  • Adding/removing updates all associated items together
  • Pricing and inventory are handled accurately for all bundle components

πŸ’‘ Proposals, Bugs, Improvements

If you have ideas, feature requests, or bug reports, please open an issue.


πŸ’Ό Pro Version

A Pro version is available under a commercial license β€” contact me for details.


πŸ“œ License

Β© 2024 abdullah-afzal β€” All rights reserved.