Skip to content

Commit c259a00

Browse files
Apply suggestions from code review
Co-authored-by: julitafalcondusza <[email protected]>
1 parent ba52136 commit c259a00

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/templating/twig_function_reference/discounts_twig_functions.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Displays the product price before the discount was applied.
6363

6464
### `ibexa_format_discount_value()`
6565

66-
Formats the discount value for each discount type, for example by displaying `-10 EUR` or `-10%`.
66+
Formats the discount value for each discount type, for example, by displaying `-10 EUR` or `-10%`.
6767

6868
``` html+twig
6969
content: ibexa_format_discount_value(discount),
@@ -72,6 +72,7 @@ content: ibexa_format_discount_value(discount),
7272
### `ibexa_discounts_is_active()`
7373

7474
Helper function returning whether the discount is currently active.
75+
7576
``` html+twig
7677
{% if ibexa_discounts_is_active(discount) %}
7778
<div>The discount is active</div>

0 commit comments

Comments
 (0)