@tsc_tech/medusa-plugin-product-variant-images
v0.0.2
Published
A starter for Medusa plugins.
Maintainers
Readme
Compatibility
This starter is compatible with versions >= 2.4.0 of @medusajs/medusa.
Installation
To install the @tsc_tech/medusa-plugin-product-variant-images, run the following command:
npm install @tsc_tech/medusa-plugin-product-variant-imagesOR
yarn add @tsc_tech/medusa-plugin-product-variant-imagesConfiguration
Step 1: Update Medusa Configuration Modify your medusa-config.ts to include the product variant images plugin:
module.exports = defineConfig({
plugins: [
{
resolve: "@tsc_tech/medusa-plugin-product-variant-images",
options: {},
},
],
})Step 2: Run Migrations
npx medusa db:migrateHow to Use
Adding a Product Variant Images via Admin Dashboard
Log in to the Medusa Admin panel.
Navigate to Products in the sidebar.
Open Product Detail page and navigate to Variant Images Section
From the menu on the top, Edit Media and add the media you want to display for the variant images and Save.
From the menu on the top, Edit Thumbnail and select the desired thumbnail and Save.
Community & Contributions
The community and core team are available in GitHub Discussions, where you can ask for support, discuss roadmap, and share ideas.
