diff --git a/blocks/commerce-cart/commerce-cart.js b/blocks/commerce-cart/commerce-cart.js index 9075db654c..dc56a42b98 100644 --- a/blocks/commerce-cart/commerce-cart.js +++ b/blocks/commerce-cart/commerce-cart.js @@ -3,14 +3,13 @@ import { render as provider } from '@dropins/storefront-cart/render.js'; import * as Cart from '@dropins/storefront-cart/api.js'; // Dropin Containers -import CartSummaryList from "@dropins/storefront-cart/containers/CartSummaryList.js"; -import OrderSummary from "@dropins/storefront-cart/containers/OrderSummary.js"; -import EstimateShipping from "@dropins/storefront-cart/containers/EstimateShipping.js"; -import EmptyCart from "@dropins/storefront-cart/containers/EmptyCart.js"; -import Coupons from "@dropins/storefront-cart/containers/Coupons.js"; +import CartSummaryList from '@dropins/storefront-cart/containers/CartSummaryList.js'; +import OrderSummary from '@dropins/storefront-cart/containers/OrderSummary.js'; +import EstimateShipping from '@dropins/storefront-cart/containers/EstimateShipping.js'; +import EmptyCart from '@dropins/storefront-cart/containers/EmptyCart.js'; // Initializers -import "../../scripts/initializers/cart.js"; +import '../../scripts/initializers/cart.js'; import { readBlockConfig } from '../../scripts/aem.js'; @@ -155,14 +154,6 @@ export default async function decorate(block) { ctx.replaceWith(wrapper); } }, - Coupons: (ctx) => { - // Prepend Coupons - const coupons = document.createElement("div"); - - provider.render(Coupons)(coupons); - - ctx.appendChild(coupons); - }, }, })($summary),