Closed edsonjuniorwbj closed 3 years ago
Hi, @edsonjunior2021
Please email us on support@shipperhq.com and we'll provide further information.
Hi, @edsonjunior2021
Please email us on support@shipperhq.com and we'll provide further information.
Have to send an email? I thought that the doubts of problems would take away here, sorry. However, thank you very much, I will try to resolve it here.
@edsonjunior2021
Apologise here but the reason I asked for this to be communicated via email is so that I can have you send me the matrixRate CSV as the above is likely caused by a postal code or a product that didn't match on it and for that reason, it didn't fetch rates. Thanks!
@edsonjunior2021 Apologise here but the reason I asked for this to be communicated via email is so that I can have you send me the matrixRate CSV as the above is likely caused by a postal code or a product that didn't match on it and for that reason, it didn't fetch rates. Thanks!
OK no problem.
in ResourceModel/Carrier/Matrixrate.php at the "switch" always to nº 7
that way it doesn't work
$zoneWhere = "dest_country_id = '0' AND dest_region_id = '0' AND dest_city ='*' AND dest_zip ='*'";
if I change this code in this way, it works.
$zoneWhere = "dest_country_id = '0' AND dest_region_id = '0' AND dest_city ='*' " . $zipSearchString;
However, I want to understand why it’s not working the way you create, I’m trying to see.
Version Magento 2.4.1
Always this error
Even if I select and try to advance, it returns me matrixrate, null
In Model/Carrier/Matrixrate.php method collectRates in $rateArray = $this->getRate($request, $zipRange) return empty. Why in ResourceModel/Carrier/Matrixrate.php getRate line 307 $adapter->fetchAll return empty