Image 1 of 1

Simplified Collections Plugin

Product information

By Vendure Community

This plugin allows you to maintain a two way relation between products and collections, allowing a simplified way to manage collections.

npm install vendure-simplified-collections-plugin
Integration type
Community
Category
Other
Latest version
1.3.0
Last published
Nov 26, 2023
Downloads in past month
217

Vendure Simplified Collections Plugin

This vendure plugin allows you to maintain a two way relation between products and collections. Vendure by default only allows you to manage relations between your inventory and collections from the side of collections only. It complements this feature by giving you a variety of ways to manage the inventory contents of your collections through CollectionFilters(there are 4 types by default, but like everything else in vendure, you can add your own custom CollectionFilter). Once you integrate this plugin into your vendure store, you will only be able to use the productIdCollectionFilter in the collections detail page. But this won’t affect your existing collections’ inventories. Still, for better experience it would be best if no relation exists between products and collections prior to the integration of this plugin.

Getting started

Add the plugin to your config:

import { SimplifiedCollectionsPlugin } from 'vendure-simplified-collections-plugin';
import { compileUiExtensions } from '@vendure/ui-devkit/compiler';
plugins: [
      ...
      SimplifiedCollectionsPlugin,
      ...
      AdminUiPlugin.init({
        ...
        app: compileUiExtensions({
          ...
          extensions: [SimplifiedCollectionsPlugin.uiExtensions],
          ...
        }),
        ...
      }),
      ...
    ]

Then run db migrations.

yarn migration:generate simplified-collections
yarn migartion run

Product Detail Page

product-page

Collection Detail Page

collection-page

Vendure
Get started

Create your first commerce experience with Vendure in less than 2 minutes

Vendure is a registered trademark. Our trademark policy ensures that our brand and products are protected. Feel free to reach out if you have any questions about our trademarks.

Newsletter

Get the latest product news and announcements delivered directly to your inbox.

© Copyright 2022 - 2024, Vendure GmbH. All rights reserved.