Socket
Socket
Sign inDemoInstall

medusa-plugin-category-images

Package Overview
Dependencies
4
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    medusa-plugin-category-images

Plugin for adding images and thumbnail to categories


Version published
Weekly downloads
149
increased by12.88%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Medusa-Plugin-Category-Images

Adding possibility to add images to the product categories.

Getting started

Installation

yarn add medusa-plugin-category-images

Usage

Configuration

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 medusa-config.js

add to your plugins list

///...other plugins
  {
    resolve: 'medusa-plugin-category-images',
    options: {
      enableUI: true,
    },
  },

Update database schema

Run the following command from the root of the project to udpate database with a new table required for storing product category

npx medusa migrations run

How to get images from category

After enabling this plugin, each category will contains images and thumbnail fields.

Keywords

FAQs

Last updated on 09 Feb 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc