Variations are showing on shop page even thou we diactivated it

Solved4 replies3 participantsUpdated by Tony Rodriguez

  • Avatar: Jennifer
    Jennifer
    Participant

    Hello,
    Hope you are doing well.

    We are trying not to show the color atribute on our shop page. We see it deactivated, but it is still showing.
    We are not using the builder in elementor.
    Also, we would like to only show the primary category. Is that posible?

    https://postimg.cc/fV53NKCt

    Thanks a lot,
    Best regards,

    Please, contact administrator
    for this information.

    4 Answers

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello @Jennifer,

    There are several ways to prevent certain swatch attributes from being displayed in your shop:

    1. You can disable the display of specific swatches in Theme Options → WooCommerce → Shop Elements → Variation Swatches (https://prnt.sc/0P8sMCPDyRiy).
    Frontend result: https://prnt.sc/HrsE8bDUU0kk

    2. You can use custom CSS to hide specific swatches:

    .content-product ul.st-swatch-preview[data-attribute="pa_color"] {
        display: none;
    }

    3. If you wish to display products from only one category, you can set the “Primary Category” value in the single product backend settings:
    Documentation: https://www.8theme.com/documentation/xstore/woocommerce/single-product-page/
    Backend settings: https://prnt.sc/9KS-AkupjZHL

    Best regards,
    Jack Richardson
    The 8Theme’s Team

    Avatar: Jennifer
    Jennifer
    Participant

    Hello there,

    Thank you for your help.
    We were able to resolve it.

    Best regards,

    Avatar: Jennifer
    Jennifer
    Participant

    Thanks for the support! My topic “Variations are showing on shop page even thou we diactivated it” has been successfully resolved.

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff

    Dear Jennifer,

    Thanks for being part of our WordPress & WooCommerce community!

    We’re happy we could assist you. Your feedback truly matters — it helps us make XStore better, faster, and more reliable with every release.

    Together, we’re shaping a better WooCommerce experience for everyone.

    Topic closed.
    The 8Theme Team

The issue related to '‘Variations are showing on shop page even thou we diactivated it’' has been successfully resolved, and the topic is now closed for further responses