How to hide some variation swatches from products page

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

  • Avatar: Keira_girl
    Keira_girl
    Participant
    October 20, 2021 at 11:47

    Hello team,
    Can you tell me please if there is a way to hide a variation swatch of the products on products page?

    Specifically I want to hide the Size Atribute but still show the available colors.

    Please check private content area for details.

    Thanks in advance!

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 20, 2021 at 14:30

    Hello,

    We don’t ahve special option for these purposes but you can hide it using custom CSS. For example

    .et_st-default-holder[data-et-holder="pa_tights-size"],
    .et_st-default-holder[data-et-holder="pa_one-size"] {
        display: none;
    }

    Where pa_tights-size – is related to the attribute that you want to hide.

    Regards

    Avatar: Keira_girl
    Keira_girl
    Participant
    October 20, 2021 at 16:37

    Hello team,

    This advice totally works! I’m so thankful to you!

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    October 21, 2021 at 07:48

    Hello,

    You’re welcome!

    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.