How can I customize the ajax cart checkout button in the Brooklyn theme?

Hello!

I currently have a store using Brooklyn theme utilizing an ajax cart. I want to add some custom functionality to the “checkout” button displayed on the ajax cart. Is there any way to override the default behavior of this button when the cart is a drawer cart? I have had no issues doing this on a cart page but the drawer cart seems to be a little more difficult to override.

For example, how could I modify the ajax cart checkout button so that it instead reads “view cart” (i can change text on button) and on click take them to the cart page instead of the checkout page?

To take to view cart, you need to add href tag that reference the link ‘/cart/’ then it will work.