Image 1 of 1

Public Customer Groups

Product information

By Pinelab

Tiny plugin to expose certain customer groups via the Shop API.

npm install @pinelab/vendure-plugin-public-customer-groups
Support by
Support languages
en
nl
Integration type
Partner
Category
Storefront
Compatible with
>=2.2.0
Latest version
1.2.0
Last published
Dec 20, 2024
Downloads in past month
49

Vendure Public Customer Groups

Official documentation here

This plugin adds a custom field isPublic to CustomerGroups, so that we can determine if a CustomerGroup is publicly available. It also adds a GraphQL field Customer.customerGroups that returns the public customerGroups to the Shop API.

Getting started

Add the plugin to your vendure-config.ts:

import { PublicCustomerGroupsPlugin } from '@pinelab/vendure-plugin-public-customer-groups';
plugins: [PublicCustomerGroupsPlugin];

Run a database migration to add the isPublic custom field to Customer Group.

In the admin UI, under customer groups, you can now expose a customer group by setting isPublic=true.

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.