1

Di.xml <type name="Magento\Checkout\Block\Checkout\DirectoryDataProcessor"> <plugin name="sr_checkout_country_list_fix" type="VendorName\Checkout\Plugin\Block\DirectoryDataProcessor" sortOrder="1"/> </type> Now app/code/VendorName/Checkout/Plugin/Block/DirectoryDataProcessor.php <?...


1

Try the following way to build sql: $sql = $connection->select()->from($tableName)->where('max_merchandise_cost <= ?', $subtotal_cad) ->order('brokerage_cost_cad DESC')->limit(1); // error_log($sql->__toString()); $result = $connection->fetchAll($sql); If your subtotal returns nothing, then you can try to get that from quote. Here is ...


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