Skip to content

This extension will allow you to set the default of product custom options

License

Notifications You must be signed in to change notification settings

dmitrykazak/magento2-custom-option-default-value

Repository files navigation

Magento 2 Custom Option Default Value

Magento 2 Custom Option Default Value extension use to set custom option default value for products.

Installation

Step-by-step to install the Magento 2 extension through Composer:

  1. Locate your Magento 2 project root.

  2. Install the Magento 2 extension using Composer

composer require dmitrykazak/magento2-custom-option-default-value 
  1. After installation is completed the extension:
# Enable the extension and clear static view files
$ bin/magento module:enable DK_CustomOptionDefaultValue --clear-static-content

# Update the database schema and data
$ bin/magento setup:upgrade

# Recompile your Magento project
$ bin/magento setup:di:compile

# Clean the cache 
$ bin/magento cache:flush

Manually (not recommended)

  • Download the extension of the required version
  • Unzip the file
  • Create a folder {root}/app/code/DK/CustomOptionDefaultValue
  • Copy the files this folder

Overview

The supported custom options are:

  • Dropdown
  • Multiselect
  • Radio Box
  • Checkbox

Configuration

Setting Custom Option of Product

Product Page

Support

If you encounter any problems or bugs, please open an issue on GitHub.

Links