I need to add custom image into sales_order_grid for each order.

when checkout, I need to get custom image and stored to sales_order_grid for each order.

I know add custom column to sales_order_grid and sales_order and save custom field value. But i need to add Custom Image.

My question:

  1. which column type I need to use like TYPE_TEXT, TYPE_INTEGER While create a custom column for to view Image in sales_order and sales_order_grid.

  2. I have Custom image Full Url, how to save this value to table and viewed as a image.

  3. How magento2 get image in catalog/product grid view.

Your Answer

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

Browse other questions tagged or ask your own question.