← All modules

Magento 2 module

Catalog Product Option Cart

Lists chargeable custom options as separate lines with their own prices under each cart item, so shoppers see what each option adds to the price.

In the standard Magento cart, selected custom options are listed below the product name, but their prices are already included in the item price and cannot be seen individually. This module separates them: options that cost extra are shown in their own “Selected product options” table below the cart item, each with its price for the full quantity, while the item price shows the product price without these options.

Features

  • Options with a surcharge are removed from the normal option list under the product name and shown in a separate “Selected product options” table with label, selected value and price.
  • Option prices in that table are multiplied by the item quantity (unless another module marks an option as charged once per item).
  • The unit price and row total of the cart item are displayed without the option surcharges, including and excluding tax.
  • Options without a surcharge stay in the normal option list.

Configuration

There is nothing to configure. The module works right after installation.

Good to know

The module relies on Catalog Product Option Price, which is installed automatically and calculates the option amounts. Other Infrangible option modules, such as Catalog Product Option Product, use it to show add-on products as separate price lines in the cart.

Installation

Install the module with Composer in your Magento root directory:

composer require infrangible/m2-catalog-product-option-cart

Then enable it and update the store as described in the installation guide. Composer installs the required modules listed on this page automatically.