Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module allows you to customize how order totals are displayed for Drupal Commerce orders within a Views setup. You can choose to show or hide subtotal, adjustments, and the final total, and even strip trailing zeros for cleaner formatting.

Commerce Configurable Order Total provides a customizable summary display of order totals for Drupal Commerce orders. It is designed to be used as a Views area handler, allowing site builders to control how order totals are presented.

Key features & functionalities

Customizable Order Total Summary:
Displays a summary of the order’s subtotal, adjustments (such as taxes, discounts, or fees), and total in a clear, structured format.

Views Area Handler:
Provides a Views area plugin that can be added to Views to show the configurable order total summary, using an Order ID argument.

Display Options:
The module offers several options to control which parts of the summary are shown:

  • Disable Subtotal: Hide or show the subtotal line.
  • Disable Adjustments: Hide or show all adjustment lines (taxes, discounts, etc.).
  • Disable Totals: Hide or show the total line.
  • Strip Trailing Zeroes: Optionally remove trailing zeroes after the decimal point for cleaner price formatting.

Themeable Output:
The summary is rendered using a Twig template commerce-configurable-order-total-summary.html.twig, making it easy to override and style as needed.

In your custom theme you can override template by creating folder templates/commerce_configurable_order_total and copying there commerce-configurable-order-total-summary.html.twig file.

Requirements

Commerce Configurable Order Total module requires Drupal Commerce module enabled.

Configuration

  1. Enable the module at Administration > Extend > Commerce.
  2. Edit view "Checkout order summary". In "Footer" section remove "Order total" and add here "Commerce Configurable Order Total".

Activity

Total releases
3
First release
Jun 2025
Latest release
8 months ago
Releases (12 mo)
1 ▼ from 2
Maintenance
Slowing

Release Timeline

Releases

Version Type Release date
1.x-dev Dev Oct 22, 2025
1.0.1 Stable Jun 19, 2025
1.0.0 Stable Jun 19, 2025