Hi There. This wasn’t my original post. My input here is from the last few weeks
I would say the code has changed a bit from 2019.
Hmmmm I am not sure what else to tell you. I wish I had something. I would try and add the // again and make sure you save it.
I somehow got mine to work. Maybe you can post a new thread? Best of luck. Sorry I can’t help further.
This is what my code section looks like:
theme.checkoutIndicator = function() {
// Add a loading indicator on the cart checkout button (/cart and drawer)
theme.cache.$body.on(‘click’, ‘.cart__checkout’, function() {
$(this).addClass(‘btn–loading’);
});
};