Description:
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.
- Add a woocomerce variable product with several attributes
- Open the Post Editor/Site Editor
- Dynamically preview the product you created
- Add a repeater with source set to variable product
- 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.4.1.3