🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@pinelab/vendure-plugin-change-order-customer

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pinelab/vendure-plugin-change-order-customer

This plugin allows you to change the customer of an order

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
0
Created
Source

Change Order Customer Plugin

Official documentation here

This plugin allows you to change the customer of an order. This can be useful for when a customer accidentally used a wrong email address for example.

image

Getting started

Add this plugin to your list of plugins in your vendure-config.ts

import { ChangeOrderCustomerPlugin } from '@pinelab/vendure-plugin-change-order-customer';

plugins: [
  ...ChangeOrderCustomerPlugin,
  AdminUiPlugin.init({
    port: 3002,
    route: 'admin',
    app: compileUiExtensions({
      outputPath: path.join(__dirname, '__admin-ui'),
      extensions: [ChangeOrderCustomerPlugin.ui],
    }),
  }),
];

Caveats

  • The plugin just assigns the new customer to the order, no re-applying promotions or recalculating of any prices. This could mean that promotions stay applied to the order that are actually not valid for the new customer.
  • The plugin only assigns the customer, it doesn't change the shipping address or billing address.

FAQs

Package last updated on 25 Jun 2024

Did you know?

Socket

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