Skip to content

Commit

Permalink
Merge pull request #1150 from spryker-shop/feature/cc-21880/dev-updat…
Browse files Browse the repository at this point in the history
…e-cart-totals-based-on-shipment-selector

Auto-merge based on green CI result.
  • Loading branch information
spryker-release-bot authored Nov 25, 2022
2 parents 2786042 + f5a3268 commit a8e5fe3
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 13 deletions.
26 changes: 13 additions & 13 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions src/Pyz/Glue/GlueApplication/GlueApplicationDependencyProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@
use Spryker\Glue\CartPermissionGroupsRestApi\Plugin\GlueApplication\CartPermissionGroupsResourceRoutePlugin;
use Spryker\Glue\CartsRestApi\CartsRestApiConfig;
use Spryker\Glue\CartsRestApi\Plugin\ControllerBeforeAction\SetAnonymousCustomerIdControllerBeforeActionPlugin;
use Spryker\Glue\CartsRestApi\Plugin\GlueApplication\CartByRestCheckoutDataResourceRelationshipPlugin;
use Spryker\Glue\CartsRestApi\Plugin\GlueApplication\CartItemsByQuoteResourceRelationshipPlugin;
use Spryker\Glue\CartsRestApi\Plugin\GlueApplication\ExpandRequestWithCustomerReferenceFormattedControllerBeforeActionPlugin;
use Spryker\Glue\CartsRestApi\Plugin\GlueApplication\GuestCartByRestCheckoutDataResourceRelationshipPlugin;
use Spryker\Glue\CartsRestApi\Plugin\GlueApplication\GuestCartItemsByQuoteResourceRelationshipPlugin;
use Spryker\Glue\CartsRestApi\Plugin\ResourceRoute\CartItemsResourceRoutePlugin;
use Spryker\Glue\CartsRestApi\Plugin\ResourceRoute\CartsResourceRoutePlugin;
Expand Down Expand Up @@ -735,6 +737,14 @@ protected function getResourceRelationshipPlugins(
CheckoutRestApiConfig::RESOURCE_CHECKOUT_DATA,
new AddressByCheckoutDataResourceRelationshipPlugin(),
);
$resourceRelationshipCollection->addRelationship(
CheckoutRestApiConfig::RESOURCE_CHECKOUT_DATA,
new CartByRestCheckoutDataResourceRelationshipPlugin(),
);
$resourceRelationshipCollection->addRelationship(
CheckoutRestApiConfig::RESOURCE_CHECKOUT_DATA,
new GuestCartByRestCheckoutDataResourceRelationshipPlugin(),
);
$resourceRelationshipCollection->addRelationship(
CartsRestApiConfig::RESOURCE_CARTS,
new PromotionItemByQuoteTransferResourceRelationshipPlugin(),
Expand Down

0 comments on commit a8e5fe3

Please sign in to comment.