Skip to content

Commit

Permalink
strip shipping characters above 40
Browse files Browse the repository at this point in the history
  • Loading branch information
iesus committed Nov 8, 2018
1 parent b533453 commit c0b9e3a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,7 @@ protected function _getActionRows(
}
}

$shippingMethod = mb_substr($shippingMethod, 0, 40);
if (
($shippingMethod && $shippingMethod == $row['Name'])
|| (empty($shippingMethod) && $row['UnitPrice'] == 0 && !$row['ArticleNumber'])
Expand Down

0 comments on commit c0b9e3a

Please sign in to comment.