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
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,13 @@ For more information, see [this example using few of those components](component
|`admin-ui-shipment-summary-grid`| `vendor/ibexa/shipping/src/bundle/Resources/views/themes/admin/shipment/tab/summary.html.twig` |
|`admin-ui-shipping-method-block`| `vendor/ibexa/shipping/src/bundle/Resources/views/themes/admin/shipping/shipping_method/view.html.twig` |

## AI Actions [[% include 'snippets/lts-update_badge.md' %]]
## AI Actions

| Group name | Template file |
|---|---|
|`admin-ui-action-configuration-tabs`| `vendor/ibexa/connector-ai/src/bundle/Resources/views/themes/admin/connector_ai/action_configuration/view.html.twig` |

## Discounts [[% include 'snippets/lts-update_badge.md' %]] [[% include 'snippets/commerce_badge.md' %]]
## Discounts [[% include 'snippets/commerce_badge.md' %]]

| Group name | Template file |
|---|---|
Expand Down
1 change: 0 additions & 1 deletion docs/api/event_reference/ai_action_events.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
description: Events that are triggered when working with AI actions.
page_type: reference
edition: lts-update
month_change: false
---

Expand Down
1 change: 0 additions & 1 deletion docs/api/event_reference/discounts_events.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
description: Events that are triggered when working with discounts.
page_type: reference
editions:
- lts-update
- commerce
month_change: true
---
Expand Down
2 changes: 1 addition & 1 deletion docs/content_management/data_migration/importing_data.md
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ When updating a content type, use:
[[= include_file('code_samples/data_migration/examples/ai/action_configuration_delete.yaml') =]]
```

### Discounts [[% include 'snippets/lts-update_badge.md' %]]
### Discounts

- The following example shows how you can create a new [discount](discounts_guide.md) in your system:

Expand Down
3 changes: 1 addition & 2 deletions docs/discounts/configure_discounts.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
description: Customize the behavior of the Discounts LTS update.
description: Customize the behavior of the Discounts feature.
month_change: true
editions:
- lts-update
- commerce
---

Expand Down
2 changes: 0 additions & 2 deletions docs/discounts/discounts.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
description: Discounts help store managers reduce prices on products or product categories.
page_type: landing_page
editions:
- lts-update
- commerce
month_change: true
---
Expand All @@ -16,7 +15,6 @@ You can also extend the feature, for example, by creating custom pricing rules,

[[= cards([
"discounts/discounts_guide",
"discounts/install_discounts",
"discounts/configure_discounts",
"discounts/discounts_api"
], columns=2) =]]
3 changes: 1 addition & 2 deletions docs/discounts/discounts_api.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
description: Discounts LTS Update enables reducing prices on products or product categories based on a detailed logic resolution.
description: Discounts enable reducing prices on products or product categories based on a detailed logic resolution.
month_change: true
editions:
- lts-update
- commerce
---

Expand Down
10 changes: 4 additions & 6 deletions docs/discounts/discounts_guide.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
description: Discounts LTS Update enables reducing prices on products or product categories based on a detailed logic resolution.
description: Discount enable reducing prices on products or product categories based on a detailed logic resolution.
month_change: true
editions:
- lts-update
- commerce
---

Expand All @@ -17,7 +16,7 @@ Discounts allow online stores to temporarily or permanently reduce prices on spe
They can be used to encourage first-time purchases, reward loyal customers, promote new or slow-moving items, or drive sales during seasonal events.
By displaying discounted prices clearly in the catalog or cart, businesses can create a sense of urgency, increase customer satisfaction, and ultimately boost revenue.

[[= product_name =]] can be equipped with the Discounts [LTS update](editions.md#lts-updates) that introduces a highly extensible solution for building discounts.
[[= product_name =]] comes equipped with the Discounts feature that introduces a highly extensible solution for building price reductions.

Store managers can create general discounts that apply for products from the product catalog or specific discounts that apply for products in the customer's shopping cart.
They can choose how the discount is calculated and set conditions to decide when their discounts are applied.
Expand All @@ -35,8 +34,7 @@ The conditions used to limit the applicability of a discount include, for exampl

## Availability

Discounts are an opt-in capability available as an [LTS update](editions.md#lts-updates) starting with the v4.6.19 version of [[= product_name_com =]].
To begin using Discounts, you must first [install the required packages and perform initial configuration](install_discounts.md).
Discounts are available as part of the [[[= product_name_com =]]](../ibexa_products/ibexa_commerce.md) edition.

## How it works

Expand Down Expand Up @@ -136,7 +134,7 @@ This encourages first-time purchases and drives long-term customer loyalty.

## Use cases

Out of the box, the [[= product_name_base =]] Discounts LTS update comes with multiple discount types that can be applied in the following use cases.
Out of the box, the [[= product_name_base =]] Discounts feature comes with multiple discount types that can be applied in the following use cases.

### End of Season Sale

Expand Down
46 changes: 0 additions & 46 deletions docs/discounts/install_discounts.md

This file was deleted.

10 changes: 0 additions & 10 deletions docs/ibexa_products/editions.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,4 @@ Compare all features available in [[= product_name_headless =]], [[= product_nam
| [Checkout](checkout.md) | | | ✔ |
| [Storefront](storefront.md) | | | ✔ |
| [Transactional emails](transactional_emails.md) | | | ✔ |

## LTS Updates

LTS Updates are opt-in packages that bring additional features to the [LTS releases](release_process_and_roadmap.md#long-term-support-releases) that they enhance.
The features brought by LTS Updates become standard parts of the next LTS release.

| Feature | [[= product_name_headless =]] | [[= product_name_exp =]] | [[= product_name_com =]] |
|-----------------|-----------------|-----------------|-----------------|
| [AI Actions](ai_actions_guide.md) | ✔ | ✔ | ✔ |
| [Date and time attribute type](date_and_time.md) | ✔ | ✔ | ✔ |
| [Discounts](discounts.md) | | | ✔ |
15 changes: 0 additions & 15 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,21 +86,6 @@
</div>
</div>
</div>
<div class="col-12 col-lg-6">
<div class="notification notification--lts-update" id="tile3">
<div class="notification__content">
<h2>The newest LTS Update is Discounts</h2>
<div>Install it to reduce prices on specific products, making deals more attractive to potential buyers.</div>
</div>
<div class="notification__cta">
<a href="discounts/discounts">Learn more about this LTS Update</a>
<a href="ibexa_products/editions#lts-updates">Discover other LTS Updates</a>
</div>
<div class="notification__image">
<img src="images/notification-lts-update.svg" alt="LTS Update" />
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-12">
Expand Down
2 changes: 1 addition & 1 deletion docs/permissions/limitation_reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ The Change Owner (`ChangeOwner`) limitation specifies whether the user can chang
|------|------|------|
|`1`|"Forbid"|The user cannot change owner of a content item|

## Discount Owner limitation [[% include 'snippets/lts-update_badge.md' %]] [[% include 'snippets/commerce_badge.md' %]]
## Discount Owner limitation [[% include 'snippets/commerce_badge.md' %]]

The Discount Owner (`DiscountOwner`) limitation specifies whether the user can interact with a [discount](discounts.md).

Expand Down
2 changes: 1 addition & 1 deletion docs/permissions/permission_use_cases.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ Set the following permissions to decide what actions are available when users in
- `checkout/update` - to allow users to modify existing information, for example item quantity
- `checkout/delete` - to delete checkout

### Discount management [[% include 'snippets/lts-update_badge.md' %]]
### Discount management

Set the following permissions to decide what actions are available when users interact with [discounts](discounts.md) in the back office:

Expand Down
4 changes: 2 additions & 2 deletions docs/permissions/policies.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Each role you assign to user or user group consists of policies which define, wh
|------------------------------|--------------------|----------------------|-------------------------------------------------------------------------|
| <nobr>`activity_log`</nobr> | <nobr>`read`</nobr> | access activity list | [ActivityLogOwner](limitation_reference.md#activity-log-owner-limitation) |

#### AI actions [[% include 'snippets/lts-update_badge.md' %]]
#### AI actions

| Module | Function | Effect | Possible Limitations |
|-------------------------------------|------------------------|------------------------|----------------------|
Expand Down Expand Up @@ -124,7 +124,7 @@ Each role you assign to user or user group consists of policies which define, wh
| <nobr>`commerce`</nobr> | <nobr>`currency`</nobr> | manage currencies |
| | <nobr>`region`</nobr> | manage regions |

#### Discounts [[% include 'snippets/lts-update_badge.md' %]] [[% include 'snippets/commerce_badge.md' %]]
#### Discounts [[% include 'snippets/commerce_badge.md' %]]

The discount policies decide which actions can be executed by given user or user group.

Expand Down
2 changes: 1 addition & 1 deletion docs/pim/pim_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ Each customer group can have a default price discount that applies to all produc
For example, you can offer a 10% discount for all products in the catalog to users who belong to the Resellers customer group.
You can also set different prices for specific products or product variants for different customer groups.

You can extend these capabilities even further by installing the [Discounts LTS Update](discounts_guide.md), available for [[= product_name_com =]].
You can extend these capabilities even further by using [Discounts](discounts_guide.md) that are available for [[= product_name_com =]].

### Product completeness

Expand Down
2 changes: 1 addition & 1 deletion docs/pim/prices.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The price engine is responsible for calculating prices for products in the [cata

## Custom pricing

You can set up basic price rules depending on [customer groups](customer_groups.md), or use the [Discounts LTS Update](discounts.md) for more control over the price reduction.
You can set up basic price rules depending on [customer groups](customer_groups.md), or use [Discounts](discounts.md) for more control over the price reduction.

Use the first option for basic use cases, for example to globally manage custom prices for your resellers.
Each customer group can have a default price discount that applies to all products.
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/new_in_doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ We want to thank [todomagichere](https://github.com/todomagichere) and [hgieseno

### Release notes

- Redesigned [Release notes page](https://doc.ibexa.co/en/latest/release_notes/ibexa_dxp_v4.6/) now includes filters to easily sort by product edition or LTS update type, while the updated documentation homepage provides quick access to essential details, showcasing changes introduced in the latest patch and LTS Updates releases
- Redesigned [Release notes page](https://doc.ibexa.co/en/latest/release_notes/ibexa_dxp_v4.6/) now includes filters to easily sort by product edition or LTS Update type, while the updated documentation homepage provides quick access to essential details, showcasing changes introduced in the latest patch and LTS Update releases

### Requirements update

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
month_change: false
edition: lts-update
---

# Action Configuration Search Criterion reference
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
month_change: false
edition: lts-update
---

# Action Configuration Search Sort Clauses reference
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
description: DateTimeAttribute Criterion
edition: lts-update
---

# DateTimeAttribute criterion
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
description: DateTimeAttributeRange Criterion
edition: lts-update
---

# DateTimeAttributeRange criterion
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
month_change: false
editions:
- lts-update
- commerce
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
month_change: false
editions:
- lts-update
- commerce
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
description: AI Actions functions allows you to embed AI Actions in your templates
page_type: reference
month_change: false
edition: lts-update
---

# AI Actions Twig functions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ description: Discounts Twig Functions allow you to operate on discounts in your
page_type: reference
month_change: true
editions:
- lts-update
- commerce
---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ You can use this, for example, to [parametrize the display of products by using

### `ibexa_storefront_are_discounts_enabled()`

This function detects if the [Discounts LTS Update](discounts_guide.md) is installed.
This function detects if the [Discounts](discounts_guide.md) feature is present.

``` html+twig
{% if ibexa_storefront_are_discounts_enabled() %}
Expand Down
5 changes: 2 additions & 3 deletions docs/update_and_migration/from_4.6/update_from_4.6.md
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ With the product updated to the latest version, you can now finish the update pr

## LTS Updates

[LTS Updates](editions.md#lts-updates) are standalone packages with their own update procedures.
[LTS Updates](https://doc.ibexa.co/en/4.6/ibexa_products/editions/#lts-updates) are standalone packages with their own update procedures.
To use the [latest features](ibexa_dxp_v4.6.md) added to them, update them separately with the following commands:

=== "Discounts"
Expand All @@ -398,7 +398,7 @@ To use the [latest features](ibexa_dxp_v4.6.md) added to them, update them separ
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.
The policy allows to access all the discount details, including the coupon codes to activate them, which could lead to system abuse.

To learn more, see the [discounts policies overview](policies.md#discounts).
To learn more, see the [discounts policies overview](https://doc.ibexa.co/en/4.6/permissions/policies/).

### Database update

Expand Down Expand Up @@ -537,4 +537,3 @@ To use the [latest features](ibexa_dxp_v4.6.md) added to them, update them separ
```bash
composer require ibexa/product-catalog-date-time-attribute:[[= latest_tag_4_6 =]]
```

2 changes: 1 addition & 1 deletion docs/users/customer_groups.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This enables you to give specific prices or price discounts (global or per produ

For example, you can offer a 10% discount for all products in the catalog to users who belong to the Resellers customer group.

By using the [Discounts LTS Update](discounts_guide.md), you can create even more complex rules that apply to only selected customer groups or to all customers.
By using [Discounts](discounts_guide.md), you can create even more complex rules that apply to only selected customer groups or to all customers.

!!! tip

Expand Down
1 change: 0 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,6 @@ nav:
- Discounts:
- Discounts: discounts/discounts.md
- Discounts guide: discounts/discounts_guide.md
- Install Discounts: discounts/install_discounts.md
- Customize Discounts: discounts/configure_discounts.md
- Discounts API: discounts/discounts_api.md
- Customer management:
Expand Down
1 change: 1 addition & 0 deletions plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -558,3 +558,4 @@ plugins:
'infrastructure_and_maintenance/clustering/ddev_and_ibexa_cloud.md': 'ibexa_cloud/ddev_and_ibexa_cloud.md'

'ai_actions/install_ai_actions.md': 'ai_actions/configure_ai_actions.md'
'discounts/install_discounts.md': 'discounts/configure_discounts.md'
Loading