← All modules

Magento 2 module

Catalog Product Option Value Label

Adds a prefix and a suffix text to custom option values, shown before and after the value title in drop-downs, radio buttons and checkboxes on the product page.

Sometimes an option value needs a small addition to its title, such as a unit, a delivery note or a hint like “recommended”. Instead of changing the value title itself, which also appears in the cart and in orders, this module lets you add a separate prefix and suffix. They are displayed around the title on the product page only.

Features

  • New “Prefix” and “Suffix” fields for each value of select-type options in the product’s Customizable Options section.
  • In drop-downs and multiple selects the texts are added before and after the value title.
  • For radio buttons and checkboxes they are shown as separate text elements before the title and after the price, so the theme can style them.
  • The texts can be entered per store view.

Configuration

Open a product in the admin, go to Customizable Options and fill in “Prefix” and/or “Suffix” for the values you want to extend. There are no global settings.

Good to know

The value titles in the cart, in orders and in emails stay unchanged. The module installs Catalog Product Option automatically.

Installation

Install the module with Composer in your Magento root directory:

composer require infrangible/m2-catalog-product-option-value-label

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