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

enter image description here

  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;
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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