I’m importing variable products into WooCommerce using a CSV file.
Each product uses a global attribute called pa_size and variations have their values like S, M, L, L-XL, etc.
The problem I’m facing is this:
When I define the parent product with Attribute 1 value(s): S|M|L and set:
Attribute 1 global: 1
Attribute 1 variation: 1
WooCommerce adds all those values (S|M|L) to the global attribute, which is already created.
The global attribute ends up “polluted” with extra sizes.
Because of this, the variants get set to any-size for pa_size.
Attribute: pa_color: Blue
Attribute: pa_size: M
Attribute: pa_size: S
This will be any_size Blue
This will be any_size Blue
I would like to:
Each variation should be linked to only the exact global term (like S, M)
The parent should not “inject” extra values into the global attribute term list
No custom attributes — everything should stay linked to pre-created global values
Did anyone else have a similar problem?