addons-cm/website_sale_cart_line_subtotal/README.md

1.2 KiB
Raw Permalink Blame History

Website Sale Cart Line Subtotal

Description

This module adds a "Subtotal" column to the shopping cart lines that displays the total amount for each line (quantity × unit price).

Problem

By default, the Odoo website shopping cart shows:

  • Product quantity
  • Unit price

But it doesn't show the line total (quantity × price), which can be confusing for customers when they want to quickly see how much each line is costing them.

Solution

This module adds a new "Subtotal" column that shows:

  • price_subtotal (without taxes) for users with tax-excluded view
  • price_total (with taxes) for users with tax-included view

The subtotal column is inserted between the "Price" and action columns in the cart.

Installation

  1. Install the module from the Apps menu
  2. No additional configuration is required

Usage

After installation:

  1. Add products to your cart
  2. Go to the shopping cart page
  3. You will see a new "Subtotal" column showing the line total for each product

The subtotal respects your tax display configuration (with or without taxes).

Credits

Contributors

  • Criptomart

Maintainers

This module is maintained by the OCA.

Compatibility

  • Odoo 16.0
  • website_sale