Skip to content

Commit a35c98c

Browse files
committed
Review suggestions
1 parent 176133d commit a35c98c

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

code_samples/data_migration/examples/discounts/discount_code_create.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
type: discount_code
22
mode: create
3-
code: TEST_CODE
3+
code: summer10
44
global_usage_limit: 100 # Optional
55
user_usage_limit: 5 # Optional
66
created_at: '2023-01-01T12:00:00+00:00' # Optional

docs/release_notes/ibexa_dxp_v4.6.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ month_change: true
1313
[[% set version = 'v4.6.22' %]]
1414
[[= release_note_entry_begin("Discounts " + version, 'TODO', ['LTS Update', 'Commerce']) =]]
1515

16-
#### Global discount codes
16+
#### Global discount codes limits
1717

18-
- You can now [limit the number of times](discounts_guide.md#discount-codes) a discount code can be used before it expires
18+
- You can now [limit the number of times](discounts_guide.md#discount-codes) a discount code can be used before it expires. The discounts created before this release are set to unlimited global usage
1919

2020
#### Discount codes prioritization
2121

@@ -43,11 +43,10 @@ The PHP API has been enhanced with the following new classes:
4343
- TODO
4444

4545
#### Full changelog
46+
4647
[[% include 'snippets/release_46.md' %]]
4748
[[= release_note_entry_end() =]]
4849

49-
50-
5150
[[% set version = 'v4.6.21' %]]
5251

5352
[[= release_note_entry_begin("Discounts " + version, '2025-06-11', ['LTS Update', 'Commerce']) =]]

docs/update_and_migration/from_4.6/update_from_4.6.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -395,16 +395,16 @@ To use the [latest features](ibexa_dxp_v4.6.md) added to them, update them separ
395395

396396
Then apply manually the changes described below.
397397

398-
## 4.6.20
398+
### Discounts 4.6.20
399399

400-
### Policy changes
400+
#### Policy changes
401401

402402
The `discount/view` policy is no longer required for the store customers to use a discount and must be removed from all users who are not managing discounts.
403403
The policy allows to access all the discount details, including the coupon codes to activate them, which could lead to system abuse.
404404

405405
To learn more, see the [discounts policies overview](policies.md#discounts).
406406

407-
### Database update
407+
#### Database update
408408

409409
Run the following scripts:
410410

@@ -526,9 +526,9 @@ To use the [latest features](ibexa_dxp_v4.6.md) added to them, update them separ
526526
REFERENCES ezuser (contentobject_id) ON UPDATE CASCADE ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE;
527527
```
528528

529-
## 4.6.22
529+
### Discounts 4.6.22
530530

531-
### Database update
531+
#### Database update
532532

533533
Run the following scripts:
534534

0 commit comments

Comments
 (0)