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

This topic has 4 replies, 2 voices, and was last updated 4 years, 9 months ago ago by Rose Tyler

  • Avatar: Karbi
    Karbi
    Participant
    October 2, 2020 at 17:54

    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
    October 3, 2020 at 15:56

    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
    October 3, 2020 at 17:05

    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
    October 4, 2020 at 09:24

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

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

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

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.