@@ -283,7 +283,7 @@ public function isApplicableForQuote(\Magento\Quote\Api\Data\CartInterface $oQuo
283
283
}
284
284
285
285
// if multishipping mode is used and profile does not support ALA it cant be used
286
- if ($ oQuote && $ oQuote ->getIsMultiShipping () && $ this ->getProductData ("delivery_address_? " , $ sMethodCode , true ) == false ) {
286
+ if ($ oQuote && $ oQuote ->getIsMultiShipping () && $ this ->getProductData ("delivery_address_? " , $ sProduct , true ) == false ) {
287
287
return false ;
288
288
}
289
289
@@ -302,10 +302,10 @@ public function isApplicableForQuote(\Magento\Quote\Api\Data\CartInterface $oQuo
302
302
return false ;
303
303
}
304
304
305
- $ dMinAmount = $ this ->getProductData ("tx_limit_?_min " , $ sMethodCode , true );
306
- $ dMaxAmount = $ this ->getProductData ("tx_limit_?_max " , $ sMethodCode , true );
307
- if ($ oQuote && !empty ($ oQuote ->getBillingAddress ()->getCompany ()) && ((bool )$ this ->getProductData ("b2b_? " , $ sMethodCode , true ) === true && ($ dTotalAmount === null || $ dTotalAmount <= $ this ->getProductData ("tx_limit_?_max_b2b " , $ sMethodCode )))) {
308
- $ dMaxAmount = $ this ->getProductData ("tx_limit_?_max_b2b " , $ sMethodCode , true );
305
+ $ dMinAmount = $ this ->getProductData ("tx_limit_?_min " , $ sProduct , true );
306
+ $ dMaxAmount = $ this ->getProductData ("tx_limit_?_max " , $ sProduct , true );
307
+ if ($ oQuote && !empty ($ oQuote ->getBillingAddress ()->getCompany ()) && ((bool )$ this ->getProductData ("b2b_? " , $ sProduct , true ) === true && ($ dTotalAmount === null || $ dTotalAmount <= $ this ->getProductData ("tx_limit_?_max_b2b " , $ sProduct )))) {
308
+ $ dMaxAmount = $ this ->getProductData ("tx_limit_?_max_b2b " , $ sProduct , true );
309
309
}
310
310
311
311
if ($ oQuote && $ oQuote ->getIsMultiShipping ()) {
0 commit comments