Image 1 of 1

Admin UI Helper Buttons

Product information

By Pinelab

Cancel and complete order buttons for easier completion and cancellation of order

npm install @pinelab/vendure-plugin-admin-ui-helpers
Support by
Support languages
en
nl
Integration type
Partner
Category
Admin tools
Latest version
1.2.0
Last published
Jun 25, 2024
Downloads in past month
321

Admin UI helper buttons for Vendure

Official documentation here

Cancel and complete order buttons for easier completion and cancellation of orders.

Getting started

Add the buttons you want to the AdminUiPlugin config:

import {
  cancelOrderButton,
  completeOrderButton,
} from '@pinelab/vendure-plugin-admin-ui-helpers';

AdminUiPlugin.init({
  port: 3002,
  route: 'admin',
  app: compileUiExtensions({
    outputPath: path.join(__dirname, '__admin-ui'),
    extensions: [
      /**
       * Adds a 'Complete order' to the order detail overview.
       * This transitions the order to the `Delivered` state.
       */
      completeOrderButton,
      /**
       * Adds a 'Cancel order' to the order detail overview.
       * Cancels and refunds the order.
       */
      cancelOrderButton,
    ],
  }),
});
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.