Magento 2 Custom Option Default Value extension use to set custom option default value for products.
-
Locate your Magento 2 project root.
-
Install the Magento 2 extension using Composer
composer require dmitrykazak/magento2-custom-option-default-value
- 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
- Download the extension of the required version
- Unzip the file
- Create a folder
{root}/app/code/DK/CustomOptionDefaultValue
- Copy the files this folder
The supported custom options are:
- Dropdown
- Multiselect
- Radio Box
- Checkbox
If you encounter any problems or bugs, please open an issue on GitHub.