2

Overwrite following class: Magento\Sales\Model\ResourceModel\Order\Grid\Collection After that add following method into your class: /** * {@inheritdoc} */ protected function _construct() { parent::_construct(); $this->addFilterToMap( 'customer_id', 'main_table.customer_id' ); } Note: this is not tested code, but that way ...


1

You can find the reference in this class Magento\Sales\Block\Order\History class Orders { protected $_customerSession; protected $_orderConfig; private $_orderCollectionFactory; public function __construct( \Magento\Sales\Model\ResourceModel\Order\CollectionFactory $_orderCollectionFactory, \Magento\Customer\Model\Session $...


1

Use the following event global scope. Ex. VendorName/ModuleName/etc/events.xml checkout_submit_all_after For Paypal payment method, use the following: paypal_express_place_order_success


1

You can use sales_order_invoice_save_after to deduct product quantity after generate credit memo : Create config.xml for define event and module : app/code/local/RH/StockDeduct/etc/config.xml <?xml version="1.0"?> <config> <modules> <RH_StockDeduct> <version>1.0.0</version> </...


1

You can use this <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <body> <referenceBlock name="sales.order.items.renderers.default"> <action method="setTemplate"> ...


1

The issue is something related to Magento 2.3.3 bug and its now fixed on develop branch. Refer to the issues on github: https://github.com/magento/magento2/issues/24986 https://github.com/magento/magento2/issues/24957 And this is the pull request from develop branch: https://github.com/magento/magento2/pull/24906/files#diff-...


1

You can check below vendor file vendor/magento/module-sales/Model/Order/Address/Validator.php Here in validate() function there is Email Validation that returns this error, if email is not valid. if (!filter_var($address->getEmail(), FILTER_VALIDATE_EMAIL)) { $warnings[] = 'Email has a wrong format'; } In Magento 2.3.3 we need PHP 7+ version. So ...


Only top voted, non community-wiki answers of a minimum length are eligible