Skip to content

Commit

Permalink
Fix prepare price on create delivery type
Browse files Browse the repository at this point in the history
  • Loading branch information
webinmd committed Jul 16, 2024
1 parent fda75fd commit 20d860f
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 20d860f

Please sign in to comment.