← All modules

Magento 2 module

Bundle Option Qty Price

Multiplies the price of a custom option on a bundle product by the quantity of the item chosen in a linked bundle option, on the product page, in the cart and in the order.

Some custom options of bundle products are priced per piece: an engraving for each glass in a set of six, or a setup service for each selected device. Magento charges a custom option price only once per bundle. With this module you link a custom option to one bundle option of the product. The option price is then multiplied by the quantity of the item the shopper selects in that bundle option.

Features

  • New “Bundle Option Qty Price” field in the settings of each custom option of a bundle product, offering the bundle options of the product.
  • On the product page the price of the linked custom option is updated as soon as the shopper changes the selection in the linked bundle option.
  • In cart, checkout and order the bundle price contains the custom option price multiplied by the quantity of the selected bundle item.
  • The option value in the cart and the order shows the quantity, for example “6 x Engraving”.

Configuration

There are no store settings. Open a bundle product under Catalog > Products, go to “Customizable Options” and choose the bundle option in the “Bundle Option Qty Price” field of the custom option that should be charged per piece. The field appears for bundle products that have already been saved with bundle options.

Good to know

The module builds on “Catalog Product Option”, “Catalog Product Option Wrapper” and “Bundle Option Selection”, which are installed automatically. The product page part is built for the standard Magento frontend (Luma and Luma-based themes).

Installation

Install the module with Composer in your Magento root directory:

composer require infrangible/m2-bundle-option-qty-price

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