Checkout Extensibility Issue - Cart Breadcrumb

26 0 11

When migrating to the new Checkout Extensibility you no longer have access to the checkout.liquid anymore.

Issue is we have a script -

    const cartUrl = document.querySelector('a[href="{{ shop.url }}/cart"]');
    if (cartUrl) {
      cartUrl.setAttribute('href', '{{ shop.url }}?cart_drawer_open');

That automatically redirects users to their open cart drawer when they click on the Cart breadcrumb in checkout.

What is the best way to solve this?

Replies 0 (0)