Skip to content

Commit 58471ea

Browse files
committed
Initial discounts doc
1 parent dd04cc5 commit 58471ea

File tree

6 files changed

+49
-8
lines changed

6 files changed

+49
-8
lines changed

docs/ai_actions/ai_actions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ edition: lts-update
77

88
AI Actions is a set of capabilities that enhance the efficiency and creativity of content editors.
99
The feature is not included in [[= product_name =]] by default.
10-
It's an [LTS Update]([[= developer_doc =]]/release_notes/ibexa_dxp_v4.6/#lts-updates) that requires separate [installation and system configuration]([[= developer_doc =]]/ai_actions/install_ai_actions/).
10+
It's an [LTS Update]([[= developer_doc =]]/ibexa_products/editions#lts-updates) that requires separate [installation and system configuration]([[= developer_doc =]]/ai_actions/install_ai_actions/).
1111

1212
Once AI Actions are installed and configured, content editors with `Action configuration/View` and `Action configuration/Execute` permissions have access to AI-driven tools.
1313
For example, they can [enhance or improve the text](create_edit_content_items.md#ai-assistant) that they have written, or [generate alternative text](upload_images.md#ai) for images.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
description: Increase conversion and attract customers by offering them products at discounted prices.
3+
editions:
4+
- lts-update
5+
- commerce
6+
month_change: true
7+
---
8+
9+
# Discounts
10+
11+
Discount is a set of capabilities that enhance the efficiency and creativity of content editors.
12+
The feature is not included in [[= product_name =]] by default.
13+
It's an [LTS Update]([[= developer_doc =]]/ibexa_products/editions#lts-updates) that requires separate [installation]([[= developer_doc =]]/discounts/install_discounts/).
14+
15+
Once Discounts are installed, store managers with the right permissions have the ability to manage discounts and shape the pricing policy of their stores.
16+
17+
For example, they can create time-limited offers on selected products, or reward their newsletter subscribers with special discount codes.
18+
19+
With the Discounts feature, you can create time-limited offers that apply only to specified regions, currencies, products, customers, and more.
20+
21+
For more information, see [Work with Discounts](work_with_discounts.md).
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
description: Create new discounts or modify existing ones to
3+
editions:
4+
- lts-update
5+
- commerce
6+
month_change: true
7+
---
8+
9+
# Work with discounts
10+
11+
AI actions define what results are available to editors in AI-enabled areas, such as, for example, the AI Assistant.
12+
If the AI Actions LTS update has been installed and configured in your application, and you have the required [permissions]([[= developer_doc =]]/permissions/policies/#ai-actions), including `Action configuration/Edit` and `Action configuration/Create`, you can reconfigure the existing AI actions, and create new ones.
13+
14+
## View discounts
15+
16+
With the right permissions, you can view all discounts existing in the application by navigating to the Admin Panel and selecting **Commerce** -> **Discounts**.

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
<div>Use it to add time-related values to product specifications.</div>
109109
</div>
110110
<div class="notification__cta">
111-
<a href="https://doc.ibexa.co/en/latest/pim/attributes/date_and_time/">Learn more about this LTS Update</a>
111+
<a href="https://doc.ibexa.co/en/latest/discounts/discounts">Learn more about this LTS Update</a>
112112
<a href="https://doc.ibexa.co/en/latest/ibexa_products/editions/#lts-updates">Discover other LTS Updates</a>
113113
</div>
114114
<div class="notification__image">

mkdocs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ nav:
9191
- Payment management: commerce/payment/payment_management.md
9292
- Work with payments: commerce/payment/work_with_payments.md
9393
- Work with payment methods: commerce/payment/work_with_payment_methods.md
94+
- Discounts:
95+
- Discounts: commerce/discounts/discounts.md
96+
- Work with Discounts: commerce/discounts/work_with_discounts.md
9497
- Personalization:
9598
- Personalization: personalization/personalization.md
9699
- Use cases: personalization/use_cases.md

theme/main.html

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,16 @@
5353
{% endfor %}
5454
<li class="breadcrumb-item breadcrumb-item-current">{{ page.title }}</li>
5555
</ul>
56-
{% if page.meta.edition %}
56+
{% if page.meta.edition or page.meta.editions %}
5757
<div class="pills">
58-
{% if page.meta.edition == 'commerce' %}
59-
<span class="pill pill--commerce"></span>
60-
{% elif page.meta.edition == 'experience' %}
61-
<span class="pill pill--experience"></span><span class="pill pill--commerce"></span>
62-
{% elif page.meta.edition == 'lts-update' %}
58+
{% if page.meta.edition == 'lts-update' or 'lts-update' in page.meta.editions %}
6359
<span class="pill pill--lts-update"></span>
6460
{% endif %}
61+
{% if page.meta.edition == 'experience' or 'experience' in page.meta.editions %}
62+
<span class="pill pill--experience"></span><span class="pill pill--commerce"></span>
63+
{% elif page.meta.edition == 'commerce' or 'commerce' in page.meta.editions %}
64+
<span class="pill pill--commerce"></span>
65+
{% endif %}
6566
</div>
6667
{% endif %}
6768
{{ page.content }}

0 commit comments

Comments
 (0)