Skip to content

Commit

Permalink
Add mini cart
Browse files Browse the repository at this point in the history
  • Loading branch information
cctina516 committed Nov 7, 2024
1 parent f4008a0 commit ae673cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions blocks/commerce-mini-cart/commerce-mini-cart.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,7 @@ export default async function decorate(block) {
routeCart: cartURL ? () => cartURL : undefined,
routeCheckout: checkoutURL ? () => checkoutURL : undefined,
routeProduct: (product) => `/products/${product.url.urlKey}/${product.sku}`,
showDiscount: 'true',
showSavings: 'true',
})(block);
}

0 comments on commit ae673cb

Please sign in to comment.