Skip to content

magepal/magento2-color-picker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MagePal Magento 2 System.xml Color Picker:

Magento 2 System.xml Color Picker

Installation

Step 1

Using Composer (recommended)
composer require magepal/magento2-color-picker
Manually
  • Download the extension
  • Unzip the file
  • Create a folder {Magento 2 root}/app/code/MagePal/ColorPicker
  • Copy the content from the unzip folder

Step 2 - Enable extension ("cd" to {Magento root} folder)

  php -f bin/magento module:enable --clear-static-content MagePal_ColorPicker
  php -f bin/magento setup:upgrade

Usage

<field id="color_picker" translate="label" type="text" sortOrder="2" showInDefault="1" showInWebsite="1" showInStore="1">
    <label>Color Picker</label>
    <frontend_model>MagePal\ColorPicker\Model\Config\Source\ColorPicker</frontend_model>
</field>

© MagePal LLC. | www.magepal.com