From 15e82e0865d7fdf882d4cfe7f4dc32ca3f1d59de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20D=C4=85browski?= <64841871+dabrt@users.noreply.github.com> Date: Tue, 17 Jun 2025 12:37:59 +0200 Subject: [PATCH] Fix typos in the discounts doc --- docs/discounts/configure_discounts.md | 4 ++-- docs/discounts/discounts_api.md | 2 +- docs/discounts/install_discounts.md | 2 +- mkdocs.yml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/discounts/configure_discounts.md b/docs/discounts/configure_discounts.md index b39ee647c3..e50305fceb 100644 --- a/docs/discounts/configure_discounts.md +++ b/docs/discounts/configure_discounts.md @@ -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): diff --git a/docs/discounts/discounts_api.md b/docs/discounts/discounts_api.md index c6ef554b98..cb0fc19931 100644 --- a/docs/discounts/discounts_api.md +++ b/docs/discounts/discounts_api.md @@ -12,7 +12,7 @@ editions: 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. 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. diff --git a/docs/discounts/install_discounts.md b/docs/discounts/install_discounts.md index c0cff1bc31..b6a2f0ff9b 100644 --- a/docs/discounts/install_discounts.md +++ b/docs/discounts/install_discounts.md @@ -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. diff --git a/mkdocs.yml b/mkdocs.yml index 124a47ec94..ad58dad3c8 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -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