I want a jQuery snippet for changing color of a button on condition--> I am using woocommerce with WordPress. What I want is : if there is Cart item is 0 then I want
to show red color and if any item in cart then the button goes green
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
Can you answer this question?
Write Answer1 Answers