7.0.0 • Published 1 year ago

vendure-plugin-admin-ui-helpers v7.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Admin UI helper buttons for Vendure

Vendure version

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 '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,
    ],
  }),
});
5.5.0

1 year ago

5.4.0

1 year ago

5.0.1

1 year ago

6.0.0

1 year ago

4.9.2

1 year ago

7.0.0

1 year ago

5.6.7

1 year ago

4.10.0

1 year ago

4.1.0

2 years ago

4.0.1

2 years ago

4.0.0

2 years ago

3.21.0

2 years ago

4.3.0

2 years ago

3.13.0

2 years ago

3.8.1

2 years ago

3.7.0

2 years ago

3.6.1

2 years ago

3.6.0

2 years ago