New answers tagged

1

Possible look into the class \Magento\Checkout\Model\DefaultConfigProvider::getConfig() https://github.com/magento/magento2/blob/2.4-develop/app/code/Magento/Checkout/Model/DefaultConfigProvider.php#L291 \Magento\Checkout\Model\DefaultConfigProvider::getCustomerData() https://github.com/magento/magento2/blob/2.4-develop/app/code/Magento/Checkout/Model/...


0

Try this : public function getShippingAddress($orderId) { $order = $this->getOrderData($orderId); /* check order is not virtual */ if(!$order->getIsVirtual()) { $orderShippingId = $order->getShippingAddressId(); $address = $this->addressCollection->create()->addFieldToFilter('entity_id',array(...


Top 50 recent answers are included