Attributes Swatch Pulling in Attributes it Shouldn't


I am trying to pull in product attributes for shopping through a repeater with a swatch inside. I have the repeater set to products variable and the swatch set to packaging(the attribute I would like to be pulled in). However, it is also pulling in other attributes on products that have several types of attributes as part of their variable content.

Step-by-step reproduction instructions:

Please write the steps needed to reproduce the bug.

  1. Add a woocomerce variable product with several attributes
  2. Open the Post Editor/Site Editor
  3. Dynamically preview the product you created
  4. Add a repeater with source set to variable product
  5. Add a swatch inside this repeater that has source set to one of those attributes

Screenshots, screen recording, code snippet

These are the two attributes used on this product:

It is pulling in both attributes even though I have it set to only pull in packaging:

Environment info

  • WordPress version: 6.5.2
  • Cwicly Plugin version:
1 Like