Home Forums WoodMart support forum Attribute name in the filter area

Attribute name in the filter area

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #317045

    Zimmer
    Participant

    Hi,
    I need the same peace of JS code which you are using here : -> https://prntscr.com/1rhx0c1

    to put it into the filter widget area in here: -> https://prntscr.com/1rhx6gv

    I’m hiding traditional text with css by doing this :

    .woodmart-woocommerce-layered-nav .show-labels-off .wc-layered-nav-term:not(.with-swatch-text) .layer-term-name {
    display: none;
    }

    so instead, I want to make JS call the class (<span class=”layer-term-name”>White</span>) where the attribute name is located every time when the customer will hover over the filtered image.

    Please help me to achieve it as I can’t find that source code part to put in Custom JS.

    Thanks

    #317110

    Artem Temos
    Keymaster

    Hello,

    Could you please send us a link to your variable product so we can check how it works for you now?

    Kind Regards

    #317134

    Zimmer
    Participant

    Hi,
    Please have a look at the left side of the panel (colors filter), and bellow the product where you can see the color just hover it and you will see the name I want same behavior in the filter color section. Or please provide JS code of existing block where hover is working.

    Thank you.

    #317142

    Artem Temos
    Keymaster

    Make sure that you have enabled this option for the filter widget https://monosnap.com/file/8fAHdyfZa906bG2YWQtaPQRBHlad51

    #317462

    Zimmer
    Participant

    Thank you very much, Artem, that helped me

    #317466

    Artem Temos
    Keymaster

    You are welcome!

Tagged: ,

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

The topic ‘Attribute name in the filter area’ is closed to new replies.