Modify an active order for a customer from the Admin UI
npm install @pinelab/vendure-plugin-modify-customer-orders
Support by
Support languages
en
nl
Integration type
Partner
Category
Admin tools
Compatible with
>=2.2.0
Latest version
1.3.1
Last published
Aug 6, 2024
Downloads in past month
429
Modify Customer Orders plugin
This plugin allows you to convert an active order from a customer to a Draft order, edit it, and connect it back to the customer.
- Login as administrator and go to ‘Orders’ and then the ‘Active’ tab
- Click the ‘Convert order to Draft’
- The order can now be edited as admin under ‘Drafts’
- Click
Complete draft
to connect the order as active order to a customer. (This behaviour can be disabled, seeautoAssignDraftOrdersToCustomer
below)
Getting started
// vendure-config.ts
import { ModifyCustomerOrdersPlugin } from '@pinelab/vendure-plugin-modify-customer-orders';
plugins: [
ModifyCustomerOrdersPlugin.init({
/**
* Automatically make completed draft orders active orders for the connected customer
*/
autoAssignDraftOrdersToCustomer: true,
}),
AdminUiPlugin.init({
port: 3002,
route: 'admin',
app: compileUiExtensions({
outputPath: path.join(__dirname, '__admin-ui'),
extensions: [ModifyCustomerOrdersPlugin.ui], // Add the "Convert to draft" button
devMode: true,
}),
}),
];
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.
Documentation
Newsletter
Get the latest product news and announcements delivered directly to your inbox.