← All modules

Magento 2 module

Catalog Product Option Store

Lets you enable or disable each custom option per store view, so a product can offer different options in different stores or languages.

In standard Magento a custom option is shown in every store view in which the product is available. If an option should only be offered in some markets, for example a service that is not available in every country, you would need separate products. This module adds an “Enabled” switch to every custom option that can be set per store view. Options disabled for a store view are not shown on the product page and are not offered there.

Features

  • New “Enabled” checkbox on each custom option in the product’s Customizable Options section (enabled by default).
  • The setting can be different for each store view; store views without their own setting use the default value.
  • Disabled options are left out on the storefront and in the product options that the catalog returns for that store view.
  • If all options of a product are disabled for a store view, the product page shows no options block.
  • In the admin all options remain visible so you can still edit them.

Configuration

Open a product in the admin, switch the scope to the store view you want to change, go to Customizable Options and untick “Enabled” on the options that should not be offered there. There are no global settings.

Installation

Install the module with Composer in your Magento root directory:

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

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