Home Forums WoodMart support forum Hide Add to wishlist on specific categories of products 2

Hide Add to wishlist on specific categories of products 2

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #380990

    juliette
    Participant

    Hello support team,

    I already started a topic on this issue and it was answered by Elise, however I realize that the provided code does not work. It was supposed to work on new products added to this category but it doesn’t. For example, this test product page that belongs to this category and that still has the button: https://jubilefrance.com/produit/test-10-personnalisation/

    Here is the category on which I would like to hide the Add to wishlist button :
    Category URL : https://jubilefrance.com/categorie-produit/bijoux-a-personnaliser/
    Category slug: bijoux-a-personnaliser

    Here is the code that I applied:

    body.term-bijoux-a-personnaliser .wd-action-btn.wd-wishlist-icon {
    display:none;
    }

    Can you please help on this?
    Many thanks

    #381135

    Hello,

    I cannot see anything on the page: https://gyazo.com/e72756e81cd46617447b8bc3bf42f607

    The CSS provided is applied to the product category, not the products. It is not possible to sort out the products and apply CSS to newly added. This code is applied to all the products on term-bijoux-a-personnaliser

    If you want the code to be applied to test-10-personnalisation try this code:

    body.test-10-personnalisation  .wd-action-btn.wd-wishlist-icon {
    display:none;
    }

    Best Regards

    #381286

    juliette
    Participant

    Hello Elise,

    I indeed want to apply the line of code to the entire category.
    However it works on none of them, previous or new. Can you please try another code?

    For the white page, you told me that on another topic as well. I don’t understand, it works very well for me. My website is in maintenance mode, maybe this is why?
    I provided you with the logins above if you want to try and see the page connected.
    If this is not working, do you have any idea why you see only white pages on your side?

    Thank you

    #381672

    Hello,

    You mentioned two categories, please provide the product category URL where you want to remove the wishlist or both URLs.

    If you change the category, it would not work.

    Best Regards

    #381673

    juliette
    Participant

    Hello Elise,

    No I just have 1 category, the one mentioned above (the number 2 in the title is just because this is the second topic on the same issue). But the code is still not working.

    Have you been able to see the pages with content when logged in or do you still only see white pages?

    Thank you

    #381780

    Hello,

    I check the product category page and I do not see the Wishlist icon: https://gyazo.com/ff0cd2880c14db501dbed3529be1edc8

    It is not possible to hide the wishlist on the product page depending on the product category.

    Best Regards

    #381867

    juliette
    Participant

    Hello Elise,

    Sorry if I wasn’t clear enough, I was indeed talking about hiding the button from the product page for this specific category. Well too bad then, but as always thank you for your help.

    Have a good day

    #382036

    You are welcome! We are here to help.

    Wish you a wonderful day!

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Hide Add to wishlist on specific categories of products 2’ is closed to new replies.