Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs][Book] Promotion priorities #9950

Merged
merged 1 commit into from
Nov 22, 2018
Merged
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
8 changes: 8 additions & 0 deletions docs/book/orders/promotions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ and **priority** that is useful for them, because the exclusive promotion should

The ``usageLimit`` of a promotion is the **total number of times this promotion can be used**.

.. tip::

**Promotion priorities** are numbers that you assign to the promotion. The larger the number, the higher the priority.
So a promotion with priority 3 would be applied before a promotion with priority set to 1.

What can you use the priority for? Well, imagine that you have two different promotions, one's action is to give 10% discount
on whole order and the other one gives 5$ discount from the order total. Business (and money) wise, which one should we apply first? ;)

How to create a Promotion programmatically?
-------------------------------------------

Expand Down