← All modules

Magento 2 module

Catalog Product Option Composite

Custom options for bundle and configurable products: tie options to variants or bundle selections, show them inside the bundle options and let customers edit them per bundle item in the cart.

Custom options on bundle and configurable products are limited in standard Magento: they always apply to the whole product, regardless of which variant or which bundle items the shopper picked. This module makes custom options aware of the composition. An option or option value can be limited to certain variants of a configurable product or to certain selections of a bundle, and is only shown when one of them is chosen. On bundle product pages, the custom options of the products contained in the bundle are shown directly within the matching bundle option. In the cart, customers can open a separate page to review and change the options of every product in their bundle.

Features

  • “Allow & Hide” setting on custom options and option values of configurable and bundle products: select the variants or bundle selections for which the option is available. For other selections it is hidden and its value is reset.
  • On bundle product pages, the custom options of the bundle’s products appear inside the corresponding bundle option, including their prices.
  • “Edit Options” link for bundle items in the cart, leading to a page that lists the bundle’s products with image, price and their custom options, with buttons to go back or update the cart.
  • Bundle product attributes for this page: headline, subline, description, and texts for the back and update buttons.
  • Optional redirect to this page right after a bundle is added to the cart, optionally only when the options price is below a threshold you set per product.
  • Option limits are also respected by Catalog Product Option Promote and Catalog Product Option Offer in the cart.

Configuration

  • Stores > Configuration > Infrangible Solutions > Catalog Product Option Composite > General > “Show Composite Url”: show or hide the “Edit Options” link in the cart (default: yes; per website and store view).
  • In a configurable or bundle product’s Customizable Options section, use the “Allow & Hide” field on options and values.
  • In a bundle product, use the attributes “Quote Item Bundle Headline”, “Subline”, “Description”, “Back Button Text”, “Update Button Text”, “Redirect” and “Redirect Threshold” to set up the edit page.

Good to know

For configurable products the module reacts to variant selection with swatches. It installs several Infrangible modules it relies on, among them Catalog Product Option, Catalog Product Option Price, Catalog Product Swatches and the bundle option modules. Catalog Product Option Composite Product adds the “Product” option type to the bundle edit page.

Installation

Install the module with Composer in your Magento root directory:

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

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