New answers tagged

0

These answers are all a bit overly complicated. <event name="controller_action_predispatch_checkout_index_index"> <observer name="switch_currency_gbp" instance="Vendor\Module\Observer\CurrencyCheck" /> </event> CurrencyCheck.php <?php namespace Vendor\Module\Observer; class CurrencyCheck ...


0

In Magento2.3 . I got same exception error "Exception occurred during order load". I found exception in var/log/exception.log file. I fixed exception error & order view page working fine.


0

I was having the same issue in magento 2.3.7-p1. In logs, it was showing this error: main.WARNING: Session size of 370635 exceeded allowed session max size of 256000. [] [] To fix this, run below command: php bin/magento config:set system/security/max_session_size_admin 0 After cache flush, I was able to add products to shopping cart from admin order ...


0

First create app/code/VENDOR/MODULE/view/adminhtml/layout/sales_order_view.xml and add <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="admin-2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <body&...


0

You should be able to get the data you want by using the collection: vendor/magento/module-sales/Model/ResourceModel/Report/Order/Collection.php Magento is implementing the grid in your screenshot in this file: vendor/magento/module-reports/Block/Adminhtml/Sales/Sales/Grid.php where you should be able to get examples on how to implement it (with filters).


0

Create Indices for all custom columns which are used in grid/filter rendering. To Create Indices in SQL table example. CREATE INDEX SALES_ORDER_GRID_DEVICE_USED ON sales_order_grid (device_used) After Creating all Indices run full re-indexing and cache clean commands. php bin/magento indexer:reindex php bin/magento cache:clean Compare the results with old ...


Top 50 recent answers are included