I have a site with products. I want to disable the "Add to Cart" button.
If I inspect my page and manually enter "disabled", it works.
How to disable the button with JS ?
Here is my page :
And a JS file that I created in my theme :
(function ($) {
})(window.jQuery);