Why do attribute values are not displayed in the Sales > Orders grid after placing an order?

Why do attribute values are not displayed in the Sales > Orders grid after placing an order?

The thing is, the amasty_order_attribute_grid indexer on your instance is most likely set to Updated by Schedule mode. To enable the correct display of the order attributes values, the reindex should be run to update the values using the command:


  1. php bin/magento indexer:reindex amasty_order_attribute_grid



If you don't want to run reindex every time the order is placed, please go to System > Index Management > Order Attributes Grid by Amasty and set it to the Update on Save mode. Now, the values would be updated right away.

      • Related Articles

      • Will the module help speed up the loading of Sales Order grid?

        The archive is located in tables that are separate from the default Magento ones. During installation, the module creates the tables that copy the structure of sales_order_grid, sales_invoice_grid, sales_shippment_grid, and sales_creditmemo_grid. ...
      • How to set an attribute to an order?

        In order to set an attribute to an order, the following steps are required. 1. The first step is to obtain the order object based on the order ID. This is done using Magento's OrderRepository: 1 2 3 use Magento\Sales\Model\OrderRepository; $order = ...
      • Why don't the Order Attributes relations work while placing an order in the Backend?

        It is the expected extension behaviour. According to the Order Attributes extension logic, attribute relations don't work for orders created in the Backend since store admins are believed to know the store logic. That's why they are able to view all ...
      • Order Attributes API

        We have created a public API collection for Order Attributes module with all available queries and sample data that you can both test via our demo endpoints and copy to run local tests in your Magento environment. More details about using public ...
      • I want to use your Order Attributes in scripts/customizations. How may I get their values from the code?

        To get the Order Attributes values from the code, you may use the strings below: $orderRepository = $objectManager->get('Magento\Sales\Api\OrderRepositoryInterface'); $order= $orderRepository->get(); $attr = $order->getData('');