> For the complete documentation index, see [llms.txt](https://docs.centousapps.com/accofy-customer-accounts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.centousapps.com/accofy-customer-accounts/blocks/order-cancel-setup/how-to-set-up-an-order-cancel-block-in-frontend.md). Agents can also search and read this documentation through its [MCP server](https://docs.centousapps.com/accofy-customer-accounts/~gitbook/mcp).

# How to set up an order cancel block in frontend

<figure><img src="https://3705060177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FR1QySX0Um9tQSE6LQ0XB%2Fuploads%2FLJyg6uHJYaib1hHzeLxd%2FScreenshot%202026-02-17%20120008.png?alt=media&amp;token=1f399ee6-023a-48cd-b46b-52c0b12703b3" alt=""><figcaption></figcaption></figure>

### **Order Cancel Dashboard**

The Order Cancel Dashboard helps you manage and activate order cancellation functionality for customers. It provides setup guidance, quick configuration options, and visibility into cancellation activity.

#### **Total Order Cancel**

Displays the total number of orders canceled through the system, helping you track cancellation trends.

#### **Setup Guide**

A step-by-step checklist to enable and configure order cancellation:

* **Setup Cancel Button in Order Listing**\
  Allows customers to cancel eligible orders directly from their order list.
* **Setup Cancel Button in Order Status**\
  Adds a cancellation option within the order details/status page for easy access.
* **Setup Cancel Button Settings**\
  Configure rules, visibility, and behavior for how order cancellations are handled.

Click on the "Setup Button."

<figure><img src="https://3705060177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FR1QySX0Um9tQSE6LQ0XB%2Fuploads%2FaiOU4CNOHpkJWNifS2QS%2FScreenshot%202026-02-17%20120100.png?alt=media&amp;token=badf365e-741f-4a3d-9bcd-88ad053960a3" alt=""><figcaption></figcaption></figure>

Add action to orders and order status.

<figure><img src="https://3705060177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FR1QySX0Um9tQSE6LQ0XB%2Fuploads%2FZgfWsP9MZoqhKsDoBYBf%2FScreenshot%202026-02-17%20120112.png?alt=media&amp;token=668ef55c-f9ed-44fc-a52a-17f2b5bd7e63" alt=""><figcaption></figcaption></figure>

This is how the Order Cancel block will appear to customers.
