diff --git a/docs/_images/ce_plus_banner.png b/docs/_images/ce_plus_banner.png new file mode 100644 index 00000000000..f34cc1f864c Binary files /dev/null and b/docs/_images/ce_plus_banner.png differ diff --git a/docs/book/configuration/channels.rst b/docs/book/configuration/channels.rst index cbdc4ae008c..a3c272f47a7 100644 --- a/docs/book/configuration/channels.rst +++ b/docs/book/configuration/channels.rst @@ -94,7 +94,7 @@ supplied with a section named Shop Billing Data, which is editable on the Channe Business Units ~~~~~~~~~~~~~~ -Sylius Plus is supplied with an enhanced version of Shop Billing Data from open source edition. It is also used for Invoicing and Refunds purposes, +Sylius Plus is supplied with an enhanced version of Shop Billing Data from Sylius CE. It is also used for Invoicing and Refunds purposes, but it is a separate entity, that you can create outside of the Channel and then just pick a previously created Business Unit on the Channel form. diff --git a/docs/book/customers/customer_pools.rst b/docs/book/customers/customer_pools.rst index f45eb57f0f8..f45f87d4dbe 100644 --- a/docs/book/customers/customer_pools.rst +++ b/docs/book/customers/customer_pools.rst @@ -6,7 +6,7 @@ Customer Pools Customer Pool is a collection of Customers that is assigned to a specific channel. Thanks to this concept, if you have two channels, each of them has a separate customer pool, then customers that have accounts in channel A, and have not registered in channel B, will not be able to log in to channel B with credentials they have specified in channel A (which is the behaviour happening in -Sylius open source edition). This feature allows you to sell via multiple channels, creating a illusion of shopping in +Sylius CE). This feature allows you to sell via multiple channels, creating a illusion of shopping in completely different stores, while you still have one administration panel. Managing Customer Pools diff --git a/docs/book/introduction/introduction.rst b/docs/book/introduction/introduction.rst index fcb991fe056..21c56127c5a 100644 --- a/docs/book/introduction/introduction.rst +++ b/docs/book/introduction/introduction.rst @@ -21,7 +21,17 @@ What are our core values and what makes us different from other solutions? And much more, but we will let you discover it yourself. -.. rst-class:: plus-doc +.. image:: ../../_images/ce_plus_banner.png + :align: center + :target: https://sylius.com/plus/?utm_source=docs&utm_medium=cta&utm_campaign=plus + +| + +Sylius Community Edition (CE) +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +The free, open source distribution of Sylius that can be found in the `Sylius/Sylius `_ repository +is called the Community Edition, abbreviated **Sylius CE**. Sylius Plus ^^^^^^^^^^^ diff --git a/docs/book/products/multi_source_inventory.rst b/docs/book/products/multi_source_inventory.rst index 27a7325d348..e44f8e60cd1 100644 --- a/docs/book/products/multi_source_inventory.rst +++ b/docs/book/products/multi_source_inventory.rst @@ -3,8 +3,8 @@ Multi-Source Inventory ====================== -Sylius Plus has a much more complex approach to inventory management than the open source version. Unlike the open source -version, that allows to specify one stock amount value for each variant, the Sylius Plus Multi-Source Inventory gives you +Sylius Plus has a much more complex approach to inventory management than the open source version. Unlike the Community Edition, +that allows to specify one stock amount value for each variant, the Sylius Plus Multi-Source Inventory gives you a possibility to create several Inventory Sources and specify different stock amounts of variants for different Inventory Sources. Admin can create multiple Inventory Sources (IS). For each IS they can choose Channels it will be available for. diff --git a/docs/index.rst b/docs/index.rst index 608f854615a..0f12cbe1d13 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -52,6 +52,12 @@ The Developer's guide to leveraging the flexibility of Sylius. Here you will fin Sylius Plus ----------- +.. image:: /_images/ce_plus_banner.png + :align: center + :target: https://sylius.com/plus/?utm_source=docs&utm_medium=cta&utm_campaign=plus + +| + `Sylius Plus `_, which is a licensed edition of Sylius, gives you all the power of Open Source and much more. It comes with a set of enterprise-grade features and technical support from its creators. As the state-of-the-art eCommerce platform, it reduces risks and increases your ROI. diff --git a/src/Sylius/Component/Core/Promotion/Checker/Rule/ItemTotalRuleChecker.php b/src/Sylius/Component/Core/Promotion/Checker/Rule/ItemTotalRuleChecker.php index 325479771ca..0b7599fd05f 100644 --- a/src/Sylius/Component/Core/Promotion/Checker/Rule/ItemTotalRuleChecker.php +++ b/src/Sylius/Component/Core/Promotion/Checker/Rule/ItemTotalRuleChecker.php @@ -20,6 +20,8 @@ final class ItemTotalRuleChecker implements RuleCheckerInterface { + public const TYPE = 'item_total'; + public function __construct(private ?RuleCheckerInterface $itemTotalRuleChecker = null) { if ($this->itemTotalRuleChecker instanceof self) {