How to track qty changes in cart?
This is not CMS or software specific. Can be used for shopify, magento, wordpress or any other cart page Assumption: All the cart items have an input field for quantity in case they want to change qty for any item Assumption: All those input fields can be selected using queryselector. Either they have common name attribute or a common class. Purpose: We want to change class of update button to show that he has to press update button because quantities have been altered. ...