Home Forums Plugins WooCommerce Product Variations Swatches Hide all variation rows except the first one

Hide all variation rows except the first one

  • Author
  • #151830

    Ains Ellis


    I have products with a main variation of either Colour, Size or Finish so I want the variations to appear for each product without them stacking on top of each other. For example, one product will display variations for size and the one beside it will display variations for Colour. In this screenshot https://prnt.sc/MtHPYfSF1R8B you can see how one product is showing the size variation and the one beside it is showing Colour and Size.

    Question: is there a way I can hide any additional rows beyond the first one using CSS, editing the source files or adding code to functions.php?

    Thanks in advance for any help you can offer.

You must be logged in to see replies to this topic. Click here to login or register