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
2 changes: 2 additions & 0 deletions docs/pim/pim_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ 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 =]].

### Product completeness

Created product has its own list of the tasks required for product configuration: attributes, assets, content, prices, availability, and more.
Expand Down
7 changes: 4 additions & 3 deletions docs/pim/prices.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,18 @@

## Custom pricing

You can set up different prices depending on [customer groups](customer_groups.md).
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.

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.

You can also set different prices for specific products or product variants for different customer groups.
With the Discounts feature, you can create time-limited offers that apply only to specified regions, currencies, products, customers, and more.

### Assign prices dynamically

You could create a customer group resolver that provides custom price logic, for example, by retrieving user address from the customer profile, and assigning a customer group to the customer based on the address.

Such resolver must implement the `Ibexa\Contracts\ProductCatalog\CustomerGroupResolverInterface` interface.
Such resolver must implement the [`Ibexa\Contracts\ProductCatalog\CustomerGroupResolverInterface`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ProductCatalog-CustomerGroupResolverInterface.html) interface.

Check failure on line 22 in docs/pim/prices.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/pim/prices.md#L22

[Ibexa.VariablesGlobal] Use global variable '[[= product_name_base =]]' instead of 'Ibexa'
Raw output
{"message": "[Ibexa.VariablesGlobal] Use global variable '[[= product_name_base =]]' instead of 'Ibexa'", "location": {"path": "docs/pim/prices.md", "range": {"start": {"line": 22, "column": 139}}}, "severity": "ERROR"}

You must then register it as a service with the `ibexa.product_catalog.customer_group.resolver` tag.

Expand Down
4 changes: 3 additions & 1 deletion docs/users/customer_groups.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ description: Assigning users to customer groups allows defining user-specific pr

# Customer groups

You can assign users to different custom groups to enable [custom pricing](prices.md).
You can assign users to different customer groups to enable [custom pricing](prices.md).
This enables you to give specific prices or price discounts (global or per product) to specific groups of users.

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.

!!! tip

Customer groups aren't the same as [user groups](user_registration.md#user-groups).
Expand Down