I want to add extra column to search product under new order. How do I do it?

enter image description here

1 Answer 1

  1. add attribute to the product. For example I add Barcode attribute.

  2. Edit:


Add the filter, for example I add Barcode filter:

$this->addColumn('barcode', ['header' => __('Barcode'), 'index' => 'barcode']);


rm -rf var/page_cache/*
rm -rf var/cache/*
rm -rf generated/*
rm -rf var/view_preprocessed/*
rm -rf pub/static/*

php  bin/magento  setup:upgrade;
php  bin/magento setup:di:compile;
php  bin/magento setup:static-content:deploy -f;

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.