Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…-commerce into develop
  • Loading branch information
fnhipster committed Nov 18, 2024
2 parents 338f096 + d9b0055 commit 06a3448
Show file tree
Hide file tree
Showing 112 changed files with 1,915 additions and 1,261 deletions.
8 changes: 8 additions & 0 deletions blocks/commerce-cart/commerce-cart.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import CartSummaryList from '@dropins/storefront-cart/containers/CartSummaryList
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';

// Initializers
import '../../scripts/initializers/cart.js';
Expand Down Expand Up @@ -90,6 +91,13 @@ export default async function decorate(block) {
ctx.replaceWith(wrapper);
}
},
Coupons: (ctx) => {
const coupons = document.createElement('div');

provider.render(Coupons)(coupons);

ctx.appendChild(coupons);
},
},
})($summary),

Expand Down

This file was deleted.

Loading

0 comments on commit 06a3448

Please sign in to comment.