Skip to content

Commit

Permalink
Merge pull request #919 from webinmd/delivery-create-price-fix
Browse files Browse the repository at this point in the history
Исправление обработки цены при создании способа доставки
  • Loading branch information
biz87 authored Aug 5, 2024
2 parents 1322e87 + 20d860f commit 52acdd8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public function beforeSet()

$prices = ['price', 'distance_price', 'weight_price', 'free_delivery_amount'];
foreach ($prices as $field) {
$tmp = trim($this->getProperty($field));
$tmp = $this->preparePrice($tmp);
$this->setProperty($field, $tmp);
}
Expand Down

0 comments on commit 52acdd8

Please sign in to comment.