Brand
Enables creation, editing, and deletion of brands with product assignment capabilities and admin dashboard integration
Features
Brand Management
- Create Brands: Add new brands to your store
- Edit Brands: Update brand information
- Delete Brands: Remove brands when needed
- Product Assignment: Link products to specific brands
Admin Dashboard Integration
- Settings Access: Manage brands through the Admin panel’s Settings section
- RESTful API: Complete API endpoints for brand operations
- Product Workflow: Assign brands during product creation or editing
Installation
Install via npm or yarn:
npm install @tsc_tech/medusa-plugin-brand
Configuration
Update your medusa-config.ts with the plugin resolver:
module.exports = {
plugins: [
// ... other plugins
'@tsc_tech/medusa-plugin-brand',
],
}
Database Migration
Run migrations after installation:
npx medusa migrations run
Usage
Admin Panel
- Navigate to Settings in the Medusa Admin
- Find the Brand Management section
- Create, edit, or delete brands
Product Assignment
- Create or edit a product
- Select the brand from the available options
- Save the product
API Endpoints
The plugin provides RESTful API endpoints for:
- List all brands
- Get brand by ID
- Create new brand
- Update brand
- Delete brand
- Assign brand to product
- Get products by brand
Use Cases
- Brand Organization: Organize products by manufacturer or brand
- Brand Pages: Create dedicated brand landing pages
- Brand Filtering: Enable customers to filter products by brand
- Multi-Brand Stores: Manage multiple brands in one store
- Brand Analytics: Track performance by brand
Requirements
- Medusa v2.4.0 or higher
- Node.js compatible version
Core Functionality
- CRUD operations for brands
- Product-to-brand relationships
- Admin UI integration
- API-first design