• Hi there,

    I’m trying to achieve the following:

    Have only the heart wishlist icon displayed on the shop page, but have the icon + add to wishlist text displayed on the single-product page. I’m guessing I need a filter for this, but I was unable to find this in the documentation. Could you help?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Antonio La Rocca

    (@therock130)

    Hi there

    you could actually use yith_wcwl_button_label filter, in order to select the text shown inside the button, and programmatically change depending on current page
    Anyway, maybe an easier solution would be to leave always the same text and just hide it via CSS

    Thread Starter Pbalazs89

    (@pbalazs89)

    What would the css be to target the text next to it? It does not have any class so I was not able to target it.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add to wishlist text – only on single-product page?’ is closed to new replies.