Disable variant swatches for specific attributes

This topic has 5 replies, 3 voices, and was last updated 2 years, 1 months ago ago by mb-handmade

  • Avatar: mb-handmade
    mb-handmade
    Participant
    October 24, 2023 at 17:45

    I would like to only show the color variant swatches, not for the sizes.
    Can you help me?

    Please, contact administrator
    for this information.
    4 Answers
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    October 25, 2023 at 05:30

    Hello, @mb-handmade,

    Thank you for using our theme and for contacting us.

    We regret to inform you that your request is somewhat unclear to us. To better assist you, we kindly request that you provide a detailed description of your issue or your desired outcome.

    For a more accurate solution, please provide the URL of the page in question and create temporary wp-admin login details. Kindly share these details with us in the private content area.

    Furthermore, we recommend watching the following video about variation swatches for additional guidance: https://www.8theme.com/documentation/xstore/video-tutotials/variation-swatches/

    Thank you for your cooperation and we look forward to hearing from you soon.

    Best Regards,
    8Theme’s Team.

    Avatar: mb-handmade
    mb-handmade
    Participant
    October 25, 2023 at 15:17

    If you follow link1 , you can see a product with multiple variation swatches (size, color).
    We ONLY want to show the COLOR swatch on the product category page.
    On the single product page, the user should see ALL variation swatches.
    img1 shows how it should look in the end (red: display:none)

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    October 25, 2023 at 16:54

    Hello, @mb-handmade,

    We appreciate your prompt response.

    Theme Options > WooCommerce > Shop elements > Variation swatches > select Primäre Attribut.
    Then you can use custom CSS code to remove sizes from products archive page:

    .products-grid .st-swatch-shape-square {
        display: none !important;
    }

    We hope this information is helpful.

    Best Regards,
    8Theme’s Team.

    Avatar: mb-handmade
    mb-handmade
    Participant
    October 25, 2023 at 17:31

    Thank you!

  • Viewing 5 results - 1 through 5 (of 5 total)

The issue related to '‘Disable variant swatches for specific attributes’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.