Wishlist heart icon – product added or not

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

  • Avatar: kikjou
    Martin
    Participant
    January 29, 2020 at 16:14

    Hello,

    on the shop page the wishlist heart icon used to change color as soon as an item had been added to a list. It does not work anymore and therefore sends the user to the wishlist when the product has already been added.
    I use the pro version of yith’s withlist plugin. It is not clear if the change to the pro plugin has caused the problem.
    I had all plugins disabled, but there doesn’t seem to an incopatibility.

    Best regards
    Martin

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 29, 2020 at 16:28

    Hello,

    Try to add this custom CSS code:

    .product .product-image-wrapper .footer-product .yith-wcwl-wishlistexistsbrowse a:before {
        content: "\f004";
    }

    Regards

    Avatar: kikjou
    Martin
    Participant
    January 29, 2020 at 16:35

    hello,
    thank you! Now the icon turns black but only on page refresh, not on click.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 29, 2020 at 16:43

    Hello,

    Please change the previous code to:

    .product .product-image-wrapper .footer-product .yith-wcwl-wishlistaddedbrowse a:before,
    .product .product-image-wrapper .footer-product .yith-wcwl-wishlistexistsbrowse a:before {
        content: "\f004";
    }

    Regards

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

You must be logged in to reply to this topic.Log in/Sign up

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