← All modules

Magento 2 module · foundation

Catalog Product Option

Shared groundwork for Infrangible's product option modules: an extended price calculation for custom options on the product page that other option modules build on.

Magento’s custom options (drop-downs, checkboxes, text fields and so on) update the displayed product price while the shopper makes a selection. This module replaces the standard price calculation on the product page with an extended version that the other Infrangible product option modules can hook into, for example to handle option quantities, prefixes and suffixes on option values, or the options of products inside a bundle.

Features

  • Extended price calculation for custom options on the product page that supports all standard option types (text, text area, drop-down, multiple select, radio buttons, checkboxes, file upload).
  • Informs other modules whenever a shopper changes an option, so they can react to the selection.
  • Provides the option price information (regular price, price with and without tax) in a form that other option modules can extend.

Configuration

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

Good to know

Merchants normally do not install this module on its own. It is a building block that is installed automatically by modules such as Catalog Product Option Qty, Catalog Product Option Value Label, Catalog Product Option Composite and Bundle Option Qty Price. On its own it does not change what shoppers see.

Installation

Install the module with Composer in your Magento root directory:

composer require infrangible/m2-catalog-product-option

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