To add the command and register it: Create a Command class (the recommended location is <module_dir>/Console/Command). Your Command class extends base class (Symfony\Component\Console\Command\Command) and overrides two protected methods: You need to Declare you command through DI in command list Declare your Command class in Magento\Framework\Console\CommandList using dependency injection (<module_dir>/etc/di.xml):
To add a coloumn for any product attribute in CSV while exporting follow the below steps In vendor\magento\module-catalog-import-export\Model\Export\Product.php add custom attribute which you want to separate.
To check which EAV attributes are being uses https://github.com/magento-hackathon/EAVCleaner List of some usefull Modules https://github.com/magento-hackathon
To make optional any field Go to DB and eav_attribute table and find the name of label.Lets say we need to make postal code optional then find postal code from table and find the is_required coloumn. Here just change the value from 1 to 0. Thats it If you want to change the label of […]