I focused merely on the solution and I just changed the function validateForCart
In vendor/magento/module-quote/Model/QuoteAddressValidator.php file :
from :
1 2 3 4 |
public function validateForCart(CartInterface $cart, AddressInterface $address): void { $this->doValidate($address, $cart->getCustomerIsGuest() ? null : $cart->getCustomer()->getId()); } |
to :
1 2 3 4 |
public function validateForCart(CartInterface $cart, AddressInterface $address): void { $this->doValidate($address, $cart->getCustomerId() ? $cart->getCustomer()->getId() : null ); } |
It worked for me very well. Let me know if this trick helped you too.
If you want get query string params in controller file,...
Create di.xml and add the below code Magemonkey/Redirect/etc/frontend/di.xml [crayon-62847682abcd7582812456/] Create...
You can try below code to change local date to...
Step 1: First you need to add registration.php file in...
Step1 : Override message.js in current theme file on the...