Buy Now/Shop Button is remaining greyed out

I made some very small changes to my cart page programatically, and I am a programmer lol.

I made it so it showed the standard Add to Cart and Buy Now buttons IF it was not one of the categories I listed, and then show something else if it was

And it works, except for some reason now the Buy Now button remains greyed out and not loading. I’ve looked everywhere in my code for what I might have changed, but cannot find what might be missing. ChatGPT isn’t sure either.

Is this a known bug if the cart stuff is an if or something?

Hi @sheyworth

Would you mind sharing your store URL? Thanks!

https://teamgear.ca

You can see an example on: https://teamgear.ca/products/scann-royal-blue-jersey

Thanks for looking!

Hey any ideas?