Cart icon in shop page - by Karbi - on WordPress WooCommerce support

Solved3 replies2 participantsUpdated by Rose Tyler

  • Avatar: Karbi
    Karbi
    Participant

    Need color difference of Cart icon in shop page. Ex If product not added to cart means it should look like grey color, if the product added to cart means it should look as green color. How to do it..?
    One more thing, if product added to cart already means as of not its quantity value is increasing, instand of that product should remove from cart. please help me out to find out answer for both

    Please, contact administrator
    for this information.

    3 Answers

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    1) Try to add the next custom CSS code:

    .footer-product .button.added, .footer-product .button.added:hover {
        color: green;
    }

    2) Your request is a bit unclear for me, please describe it in more detail.

    Regards

    Avatar: Karbi
    Karbi
    Participant

    1) I have added that code. Its working. But once page gets refreshed, nothing showing with green color. How to fix it. ?

    2) If product added to cart already means, as of now its quantity value is increasing when we press again, in stand of that product should remove from cart when product already in cart. Hope its clear now.. Thanks…

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    It can’t be done using CSS only, and requests additional customization is files, which is not included in our basic support.

    Regards

The issue related to '‘Cart icon in shop page’' has been successfully resolved, and the topic is now closed for further responses