From 1c4915c2aa1c1ada4d2dcf579ea579022421b25d Mon Sep 17 00:00:00 2001 From: Adam Kasperczak Date: Thu, 18 Nov 2021 11:36:45 +0100 Subject: [PATCH] [CatalogPromotion] exclusivness documented --- docs/book/products/catalog_promotions.rst | 3 +++ .../Bundle/PromotionBundle/Form/Type/CatalogPromotionType.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/book/products/catalog_promotions.rst b/docs/book/products/catalog_promotions.rst index fc146ca4f3b9..da3fd04d7e72 100644 --- a/docs/book/products/catalog_promotions.rst +++ b/docs/book/products/catalog_promotions.rst @@ -10,6 +10,9 @@ If you get used to :doc:`Cart Promotions ` this wi It is managed by combination of promotion scopes and actions, where you can specify on which e.g. products or taxons you can specify the Catalog Promotion with your custom actions as well as actions like percentage discount. +It is possible to set start and end date for Catalog Promotions, their priority (Promotion will be applied on descending order of priority). +You can also set exclusiveness of promotion, in this case only one catalog promotion will be applied - exclusive one with highest priority. + You can assign the needed channels too. .. warning:: diff --git a/src/Sylius/Bundle/PromotionBundle/Form/Type/CatalogPromotionType.php b/src/Sylius/Bundle/PromotionBundle/Form/Type/CatalogPromotionType.php index e2ede49f18bf..b8facccd293f 100644 --- a/src/Sylius/Bundle/PromotionBundle/Form/Type/CatalogPromotionType.php +++ b/src/Sylius/Bundle/PromotionBundle/Form/Type/CatalogPromotionType.php @@ -70,7 +70,7 @@ public function buildForm(FormBuilderInterface $builder, array $options): void 'required' => false, ]) ->add('exclusive', CheckboxType::class, [ - 'label' => 'sylius.form.catalog_promotion.exclusive', + 'label' => 'sylius.form.promotion.exclusive', 'required' => false, ]) ->add('scopes', CollectionType::class, [