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
- This topic has 7 replies, 2 voices, and was last updated 2 years, 5 months ago by Elise Noromit.
-
AuthorPosts
-
June 3, 2022 at 10:24 am #380990
julietteParticipantHello 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-personnaliserHere 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 thanksJune 4, 2022 at 3:44 am #381135
Elise NoromitMemberHello,
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
June 5, 2022 at 7:16 pm #381286
julietteParticipantHello 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
June 7, 2022 at 2:41 pm #381672
Elise NoromitMemberHello,
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
June 7, 2022 at 2:44 pm #381673
julietteParticipantHello 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
June 8, 2022 at 1:22 am #381780
Elise NoromitMemberHello,
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
June 8, 2022 at 11:35 am #381867
julietteParticipantHello 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
June 9, 2022 at 3:27 am #382036
Elise NoromitMemberYou are welcome! We are here to help.
Wish you a wonderful day!
-
AuthorPosts
Tagged: Single product, wishlist
The topic ‘Hide Add to wishlist on specific categories of products 2’ is closed to new replies.
- You must be logged in to create new topics. Login / Register