Skip to content

Commit

Permalink
fix static
Browse files Browse the repository at this point in the history
  • Loading branch information
engcom-Charlie committed Aug 19, 2020
1 parent e40b1ca commit 090f06a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ protected function _prepareOrder(\Magento\Quote\Model\Quote\Address $address)
);

$shippingMethodCode = $address->getShippingMethod();
if (isset($shippingMethodCode) && !empty($shippingMethodCode)) {
if ($shippingMethodCode) {
$rate = $address->getShippingRateByCode($shippingMethodCode);
$shippingPrice = $rate->getPrice();
} else {
Expand Down

0 comments on commit 090f06a

Please sign in to comment.