Skip to main content
Cancellation templates provide managed controls for collecting a reason and completing the configured follow-up action. Keep these tags in the corresponding templates so the cancellation flow can continue. Every step includes a direct way to cancel, so customers can always reach the cancellation confirmation.

{% cancellation_reasons %}

Renders the project’s active cancellation reasons and the form for selecting one. Used in: Cancellation reasons and Cancellation follow-up
Set show_context: false when the template also renders {% cancellation_summary %}:

{% cancellation_follow_up %}

Renders the follow-up action for the selected cancellation reason, such as cancellation, pausing, skipping an order, or accepting an offer. Used in: Cancellation follow-up
This tag also accepts show_context: false when the template renders {% cancellation_summary %}.

{% cancellation_summary %}

Renders a summary of the customer’s subscription: product images and names, the next delivery date and the date the customer became a subscriber. Facts without data are left out. When a cancellation template doesn’t include this tag, each step shows a compact product header instead. Used in: Cancellation reasons and Cancellation follow-up

Styling

Style the cancellation controls with Tailwind classes, like other Customer Portal components. Each class argument replaces the default classes for that part of the step, so include every class the part needs. {% cancellation_reasons %} and {% cancellation_follow_up %} accept: {% cancellation_summary %} accepts card_classes.
The text inside these controls is Customer Portal text. Change it per language with the template’s translations instead of replacing the controls.