mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
better description for CROSS_SELLING_CONDITION=discounts
This commit is contained in:
@@ -29,11 +29,11 @@ cross_selling_mode string If ``null``, cr
|
|||||||
If ``"both"``, it is visible on the normal index page
|
If ``"both"``, it is visible on the normal index page
|
||||||
as well.
|
as well.
|
||||||
cross_selling_condition string Only relevant if ``cross_selling_mode`` is not ``null``.
|
cross_selling_condition string Only relevant if ``cross_selling_mode`` is not ``null``.
|
||||||
If ``"always"``, Always show in cross-selling step.
|
If ``"always"``, always show in cross-selling step.
|
||||||
If ``"products"``, Only if the cart contains one of
|
If ``"products"``, only show if the cart contains one of
|
||||||
these products.
|
these products.
|
||||||
If ``"discounts"``, Only show products affected by
|
If ``"discounts"``, only show products that qualify for
|
||||||
discount rules.
|
a discount according to discount rules.
|
||||||
cross_selling_match_products list of integer Only relevant if ``cross_selling_condition`` is
|
cross_selling_match_products list of integer Only relevant if ``cross_selling_condition`` is
|
||||||
``"products"``. Internal ID of the items of which at
|
``"products"``. Internal ID of the items of which at
|
||||||
least one needs to be in the cart for this category to
|
least one needs to be in the cart for this category to
|
||||||
|
|||||||
@@ -123,7 +123,7 @@ class ItemCategory(LoggedModel):
|
|||||||
CROSS_SELLING_CONDITION = (
|
CROSS_SELLING_CONDITION = (
|
||||||
('always', _('Always show in cross-selling step')),
|
('always', _('Always show in cross-selling step')),
|
||||||
('products', _('Only if the cart contains one of these products')),
|
('products', _('Only if the cart contains one of these products')),
|
||||||
('discounts', _('Only show products affected by discount rules')),
|
('discounts', _('Only show products that qualify for a discount according to discount rules')),
|
||||||
)
|
)
|
||||||
cross_selling_condition = models.CharField(
|
cross_selling_condition = models.CharField(
|
||||||
verbose_name=_("Cross-selling condition"),
|
verbose_name=_("Cross-selling condition"),
|
||||||
|
|||||||
Reference in New Issue
Block a user