Skip to content

Commit

Permalink
Title fix in promo rule
Browse files Browse the repository at this point in the history
  • Loading branch information
fulopattila122 committed Aug 23, 2024
1 parent 3fab6a9 commit 20cc681
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Promotion/Rules/CartQuantity.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function getTitle(array $configuration): string
return __('Invalid Configuration: The `:parameter` parameter is missing', ['parameter' => 'count']);
}

return __('At least :count items in the cart', ['count' => format_price($count)]);
return __('At least :count items in the cart', ['count' => (int) $count]);
}

public function getSchema(): Schema
Expand Down

0 comments on commit 20cc681

Please sign in to comment.