diff --git a/_config.yml b/_config.yml index 26493d6e3d..2ffe8aca78 100644 --- a/_config.yml +++ b/_config.yml @@ -136,6 +136,7 @@ versions: '202311.0': '202311.0' '202404.0': '202404.0' '202410.0': '202410.0' + '202505.0': '202505.0' # versioned categories - these must match corresponding directories versioned_categories: diff --git a/_data/sidebars/pbc_all_sidebar.yml b/_data/sidebars/pbc_all_sidebar.yml index 359f59aee4..ef47e53efb 100644 --- a/_data/sidebars/pbc_all_sidebar.yml +++ b/_data/sidebars/pbc_all_sidebar.yml @@ -1939,6 +1939,10 @@ entries: url: /docs/pbc/all/offer-management/marketplace/install-and-upgrade/install-features/install-the-marketplace-product-offer-marketplace-product-feature.html - title: Marketplace Product Offer + Quick Add to Cart url: /docs/pbc/all/offer-management/marketplace/install-and-upgrade/install-features/install-the-marketplace-product-offer-quick-add-to-cart-feature.html + - title: Marketplace Product Offer + Promotions & Discounts feature + url: /docs/pbc/all/offer-management/marketplace/install-and-upgrade/install-features/install-the-marketplace-product-offer-promotions-and-discounts-feature.html + include_versions: + - "202505.0" - title: Product Offer Shipment Availability url: /docs/pbc/all/offer-management/marketplace/install-and-upgrade/install-features/install-the-product-offer-shipment-availability-feature.html - title: Product Offer Shipment diff --git a/_includes/pbc/all/install-features/202505.0/marketplace/install-the-marketplace-product-offer-promotions-and-discounts-feature.md b/_includes/pbc/all/install-features/202505.0/marketplace/install-the-marketplace-product-offer-promotions-and-discounts-feature.md index b40c45f456..25f540fa21 100644 --- a/_includes/pbc/all/install-features/202505.0/marketplace/install-the-marketplace-product-offer-promotions-and-discounts-feature.md +++ b/_includes/pbc/all/install-features/202505.0/marketplace/install-the-marketplace-product-offer-promotions-and-discounts-feature.md @@ -1,10 +1,6 @@ This document describes how to install the Marketplace Product Offer + Promotions & Discounts feature. -## Install feature core - -Follow the steps below to install the feature core. - -### Prerequisites +## Prerequisites Install the required features: @@ -14,7 +10,7 @@ Install the required features: | Marketplace Product Offer | {{page.version}} | [Install the Marketplace Product Offer feature](/docs/pbc/all/offer-management/{{page.version}}/marketplace/install-and-upgrade/install-features/install-the-marketplace-product-offer-feature.html) | | Spryker Core | {{page.version}} | [Install the Spryker Core feature](/docs/pbc/all/miscellaneous/{{page.version}}/install-and-upgrade/install-features/install-the-spryker-core-feature.html) | -### 1) Install the required modules +## 1) Install the required modules Install the required modules using Composer: @@ -32,13 +28,13 @@ Make sure the following modules have been installed: {% endinfo_block %} -### 2) Set up behavior +## 2) Set up behavior Set up the following behaviors: | PLUGIN | SPECIFICATION | PREREQUISITES | NAMESPACE | |------------------------------------------------------|--------------------------------------------------------------------------------------|---------------|-------------------------------------------------------------------------| -| ProductOfferReferenceDecisionRulePlugin | Checks if the item's product offer reference matches the discount's condition. | | Spryker\Zed\ProductOfferDiscountConnector\Communication\Plugin\Discount | +| ProductOfferReferenceDecisionRulePlugin | Checks if an item's product offer reference matches the discount's condition. | | Spryker\Zed\ProductOfferDiscountConnector\Communication\Plugin\Discount | | ProductOfferReferenceDiscountableItemCollectorPlugin | Collects discountable items from the given quote by items' product offer references. | | Spryker\Zed\ProductOfferDiscountConnector\Communication\Plugin\Discount | **src/Pyz/Zed/Discount/DiscountDependencyProvider.php** @@ -63,7 +59,7 @@ class DiscountDependencyProvider extends SprykerDiscountDependencyProvider new ProductOfferReferenceDecisionRulePlugin(), ]); } - + /** * @return list<\Spryker\Zed\DiscountExtension\Dependency\Plugin\DiscountableItemCollectorPluginInterface> */ @@ -79,7 +75,7 @@ class DiscountDependencyProvider extends SprykerDiscountDependencyProvider {% info_block warningBox "Verification" %} 1. [Create a discount](/docs/pbc/all/discount-management/{{site.version}}/base-shop/manage-in-the-back-office/create-discounts.html) and define its condition as a query string with a `product-offer` field. -2. Add a product offer defined in the newly created discount to the cart. -3. Verify that the discount is applied to the cart. +2. Add a product offer defined in the discount you've created to cart. + Make sure that the discount has been applied to the cart. {% endinfo_block %} diff --git a/docs/pbc/all/discount-management/202505.0/marketplace/install-and-upgrade/install-features/install-the-marketplace-product-offer-promotions-and-discounts-feature.md b/docs/pbc/all/offer-management/202505.0/marketplace/install-and-upgrade/install-features/install-the-marketplace-product-offer-promotions-and-discounts-feature.md similarity index 100% rename from docs/pbc/all/discount-management/202505.0/marketplace/install-and-upgrade/install-features/install-the-marketplace-product-offer-promotions-and-discounts-feature.md rename to docs/pbc/all/offer-management/202505.0/marketplace/install-and-upgrade/install-features/install-the-marketplace-product-offer-promotions-and-discounts-feature.md