Adding possibility to add images to the product variants.
Installation
yarn add medusa-plugin-variant-images
This plugin requires min version of packages:
"@medusajs/medusa": "^1.14.0",
"@medusajs/admin": "^7.0.0"
"medusa-react": "^9.0.4",
"@medusajs/ui": "^1.0.0",
"@medusajs/icons": "^1.0.0",
add to your plugins list
///...other plugins
{
resolve: 'medusa-plugin-variant-images',
options: {
enableUI: true,
},
},
After enabling this plugin, each image variant will contains images
field with array of images.