Attributes Query

Closed

Import WP Addon - WooCommerce Updated 4 weeks ago 4 Replies

Callum asked 1 month ago on March 2, 2025 at 2:18 am

Hi James,

So far so good, managed to sort out the importer and its working perfectly, going according to plan. Only thing I’ve become snagged with is this ‘taxonomy’ and ‘attribute’ clash.

I’m using Woodmart theme for Woocommerce and they have their own ‘brand’ system using attributes rather than Woocommerce’s in-built Brands taxonomy.

In the Attributes section of your plugin I noticed you can’t import and separate values into hierarchy like you can under the Taxonomies section. So I imported all products’ brand range into the Taxonomies section – and presto, it works in the back-end. All the attributes are showing, however what I didn’t realise is that none of the products have been assigned their relevant attribute that were imported.

I can only assume its because I imported them as a Taxonomy, so the Woocommerce products won’t be assigned the attribute if I were to do it under the Attributes section in ImportWP – hopefully this all makes sense.

How can I ensure the products are assigned their attributes in this scenario?

J

James replied Support Agent

4 weeks ago on March 3, 2025 at 6:57 pm

Like you suggest, because of importing attributes as raw taxonomies instead of the attributes section, then the correct connections will not have been made, to fix this you would need to use the attributes section.

James

CH

Callum replied

4 weeks ago on March 3, 2025 at 8:04 pm

Hi James,

My problem is that in the Attributes section, there is no option to import attributes as a hierarchy and separate them '>' and '|' like you can with taxonomies. The attributes are imported OK, but aren't assigned to the products in the back-end.

Is there a way to solve this natively? Or will it require something custom?

J

James replied Support Agent

4 weeks ago on March 3, 2025 at 8:29 pm

This is something that i had not thought about, is this now a core woocommerce option to use nested attributes?

You could populate both the attributes section and the taxonomy section, this way the taxonomy section creates the nested structure of terms and the attributes section will connect it? (this is just a guess and untested)

 

CH

Callum replied

4 weeks ago on March 4, 2025 at 12:08 am

No longer needed James, sorry to bother you pal. Decided against using Woodmart's brands and went with Woocommerce.Just got to get my head round variations with XML imports.My XML import has 'SizeAttributes' as the variation tag.How would I map out the importer so that the identical products but with a different variation are linked together with an option to choose the size?Would it work using XML or would I need to use CSV to add the parent column?