Checkout Extensibility Issue - Cart Breadcrumb

zelph
Excursionist
27 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 -

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

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?

Reply 1 (1)

Bryan84
Shopify Partner
1 0 0

There are multiple issues with this. I also have an issue where I am running a script that checks the line item contents for products with a specific tag and if it is only that product and not a full priced product to unlock the deal it redirects back to collection. I still haven't been able to find an answer to this problem. August of this year doesn't give much time to implement custom solutions like this. I could care less about design and don't want to have to install 3rd party apps and pay for something that I already have implemented for free. Sounds more like a money grab that actual usability!