Variation on the store page (leave only the color)

This topic has 4 replies, 3 voices, and was last updated 2 years, 7 months ago ago by Olga Barlow

  • Avatar: misha
    misha
    Participant
    May 15, 2022 at 17:40

    Здраствуйте,

    Подскажите, возможно в вариациях на странице товара показывать только цвет (убрать показ размеров)? https://prnt.sc/pCzd1jUBI8lz

    С уважением,

    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 16, 2022 at 06:57

    Hello,

    Theme options > WooCommerce > Shop elements > Variation swatches > Primary Attribute, then hide sizes using custom CSS code. If you need our help to create the code, provide URL of page from the screenshot.

    Regards

    Avatar: misha
    misha
    Participant
    May 16, 2022 at 16:15

    Здраствуйте,

    Помогите, пожалуйста, убрать размеры, оставить только цвет.

    С уважением,

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 16, 2022 at 18:16

    Hello,

    Add the below code to Theme Options > Custom CSS
    .content-product .product-details ul.st-swatch-preview[data-attribute="pa_razmer"] {display: none;}

    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.