docs: fix typo (#13643)

This commit is contained in:
Shahed Nasser
2025-10-01 17:41:18 +03:00
committed by GitHub
parent 01ac822e6b
commit d1bbd8a7c1

View File

@@ -111,11 +111,11 @@ In this example, the cart must have two product variants with the SKU `SHIRT` fo
---
## Maxiumum Quantity Restriction
## Maximum Quantity Restriction
When the `allocation` property in the `ApplicationMethod` is set to `each`, you can restrict the maximum quantity of each applicable item that the promotion is applied to in the cart.
When the `allocation` property in the `ApplicationMethod` is set to `each`, you can set the `max_quantity` property of `ApplicationMethod` to limit how many item quantities the promotion is applied to.
For example, if the maximum quantity is set to `1` and the customer has a line item with quantity two in the cart, the promotion is only applied to one of them.
For example, if the `max_quantity` property is set to `1` and the customer has a line item with quantity two in the cart, the promotion is only applied to one of them.
```json title="Example Cart"
{