Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/discounts/configure_discounts.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
description: Install the Discounts LTS update.
description: Customize the behavior of the Discounts LTS update.
month_change: true
editions:
- lts-update
- commerce
---

# Discounts configuration
# Customize Discounts

You can customize the behavior of the Discounts feature by using the following [configuration](configuration.md):

Expand Down
2 changes: 1 addition & 1 deletion docs/discounts/discounts_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

By integrating with the [Discount feature](discounts_guide.md) you can automate the process of managing discounts, streamlining the whole process and automating business rules.

For example, you can automatically create a discount when a customer places their 3rd order, encouraging them to make another purchase and increase their chances of becoming a local customer.
For example, you can automatically create a discount when a customer places their 3rd order, encouraging them to make another purchase and increase their chances of becoming a loyal customer.

Check warning on line 15 in docs/discounts/discounts_api.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/discounts/discounts_api.md#L15

[Ibexa.OxfordComma] Use a comma before the last 'and' or 'or' in a list of four or more items.
Raw output
{"message": "[Ibexa.OxfordComma] Use a comma before the last 'and' or 'or' in a list of four or more items.", "location": {"path": "docs/discounts/discounts_api.md", "range": {"start": {"line": 15, "column": 1}}}, "severity": "WARNING"}

You can manage discounts using [data migrations](importing_data.md#discounts), [REST API](/api/rest_api/rest_api_reference/rest_api_reference.html#discounts), or the PHP API by using the [`Ibexa\Contracts\Discounts\DiscountServiceInterface`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Discounts-DiscountServiceInterface.html) service.

Expand Down
2 changes: 1 addition & 1 deletion docs/discounts/install_discounts.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ To use this feature you must first install the packages and configure them.
Run the following commands to install the packages:

``` bash
composer require ibexa/discounts ibexa/discount-codes
composer require ibexa/discounts ibexa/discounts-codes
```

These commands add the feature code, service handlers, helper Twig templates, and configurations required for using Discounts.
Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ nav:
- Discounts: discounts/discounts.md
- Discounts guide: discounts/discounts_guide.md
- Install Discounts: discounts/install_discounts.md
- Configure Discounts: discounts/configure_discounts.md
- Customize Discounts: discounts/configure_discounts.md
- Discounts API: discounts/discounts_api.md
- Customer management:
- Customer Portal: customer_management/customer_portal.md
Expand Down
Loading