Плагины Medusa
B
Bundled products
Plugin for bundled products.
✨ 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
-
Install the plugin:
npm install medusa-bundled-products# oryarn add medusa-bundled-products -
Add it to your :
module.exports = defineConfig({// ...plugins: [{resolve: "medusa-bundled-products",options: {// Optional configuration},},],}); -
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.