Building a Reliable Brand Field from WooCommerce Data
Product brand information can be stored in different places depending on how a WooCommerce store is configured.
One store may use a dedicated brand taxonomy, another may use a WooCommerce product attribute such as pa_brand, while another may store the brand in a custom field.
Deviking Product Feeds Pro lets you select the appropriate source directly, configure fallback sources, or create a Dynamic Attribute when the exported brand needs conditional logic.
This allows you to create a consistent brand or manufacturer field without changing the original WooCommerce product data.
Common Ways Brand Data Is Stored
Depending on your store, brand information may be available as:
Product Brand taxonomy
WooCommerce Brand attribute
Custom product attribute
Custom taxonomy
Custom / meta fieldFor example, available sources may include:
product_brand
pa_brand
meta:_brandThe exact sources shown in the Source selector depend on the attributes, taxonomies and custom fields detected on your WooCommerce site.
Method 1: Use the Existing Brand Source Directly
If your products already contain the correct brand information, you normally do not need a Dynamic Attribute.
Open:
Deviking Feeds → Feeds
Edit the required feed and go to Mapping.
Configure the brand field using the appropriate source.
For example:
Output Field:
brand
Source:
Product Brandor:
Output Field:
manufacturer
Source:
BrandThe output field name can be whatever the receiving system requires.
Example XML Output
A product whose brand is stored as:
Acmecould generate:
<product>
<sku>ABC-100</sku>
<brand>Acme</brand>
</product>or:
<product>
<sku>ABC-100</sku>
<manufacturer>Acme</manufacturer>
</product>depending on the configured output field.
Example CSV Output
The same source can be used in CSV:
sku,title,brand
ABC-100,"Product A",Acme
ABC-101,"Product B",Example Brand
ABC-102,"Product C",Demo ManufacturerUse a Fallback Brand Source
Some WooCommerce stores contain brand information in more than one location.
For example:
Primary source:
Product Brand taxonomy
Fallback:
Brand attributeConfigure the Mapping row as:
Output Field:
brand
Source:
Product Brand
Fallback Source:
BrandThe resolution works as follows:
Product Brand contains a value
→ use Product Brand
Product Brand is empty
→ use Brand fallbackThis is useful when older products use one brand system and newer products use another.
Example: Product Brand with Attribute Fallback
Suppose:
Product A
Product Brand taxonomy: Acme
Brand attribute: emptyResult:
AcmeAnother product:
Product B
Product Brand taxonomy: empty
Brand attribute: Example BrandResult:
Example BrandThe same Mapping row handles both products.
Advanced Source Tokens
Brand information can also be addressed through advanced source tokens when needed.
For example, a WooCommerce global Brand attribute can use:
attr:pa_brandA custom product brand taxonomy can use:
tax:product_brandA custom meta field can use:
meta:_brandThe exact key depends on how brand data is stored on the current WooCommerce site.
In most cases, selecting the source from the grouped Source dropdown is easier than entering the token manually.
When to Use a Dynamic Attribute
Use a Dynamic Attribute when the required brand value cannot be taken directly from one existing field.
Examples include:
Products in one category should return one brand
Products with a particular attribute should return another brand
Some products should use a fixed store brand
Unmatched products should use another source as a fallbackGo to:
Deviking Feeds → Dynamic Attributes
and click:
Add Dynamic Attribute
Enter a descriptive name such as:
Feed Brandor:
Resolved BrandThen create the required IF / ELSE rules.
Example: Assign a Brand from Product Category
Suppose your catalog structure indicates the product brand.
For example:
Acme Products
Example Products
Demo ProductsCreate:
Dynamic Attribute:
Feed BrandThen add:
Rule 1
IF
Child Category = Acme Products
RESULT
Static value:
AcmeRule 2
IF
Child Category = Example Products
RESULT
Static value:
Example BrandRule 3
IF
Child Category = Demo Products
RESULT
Static value:
DemoThe result becomes:
Acme Products
→ Acme
Example Products
→ Example Brand
Demo Products
→ DemoThe WooCommerce categories remain unchanged.
Configure the Default Brand
The ELSE / Default Result determines what happens when none of the Dynamic Attribute rules match.
You can choose:
Return empty valueStatic valueor:
Source fieldFor example:
ELSE
→ Source field: Brandallows the Dynamic Attribute to use its conditional rules first and then return the existing Brand attribute when none of them match.
Example: Conditional Rules with Existing Brand Fallback
You could configure:
Rule 1
IF
Child Category = Private Label
RESULT
Static value:
My Storeand:
ELSE
Source field:
Product BrandThe result is:
Private Label products
→ My Store
Other products
→ Existing Product Brand valueThis is useful when only part of the catalog needs an overridden feed brand.
Use a Fixed Brand for Selected Products
A Dynamic Attribute can return a static brand name.
For example:
IF
Child Category = Own Brand
RESULT
Static value:
DevikingThe generated feed can then contain:
<brand>Deviking</brand>without adding or modifying that value in the WooCommerce product itself.
Use Product Attributes as Conditions
Dynamic Attributes can also evaluate WooCommerce product attributes.
For example:
IF
Brand = Acme
RESULT
Static value:
ACME CorporationThis can be useful when the stored WooCommerce value and the required feed value use different terminology.
For simple one-to-one renaming, however, Value Map is usually easier.
Method 2: Normalize Existing Brand Names with Value Map
Suppose WooCommerce stores:
ACME LTD
Example Company Ltd.
Demo Industries Europewhile the destination expects:
Acme
Example
Demo IndustriesConfigure:
Output Field:
brand
Source:
Product Brand
Transform:
Value MapThen enter:
ACME LTD=>Acme;
Example Company Ltd.=>Example;
Demo Industries Europe=>Demo IndustriesThe result becomes:
| WooCommerce Value | Feed Value |
|---|---|
| ACME LTD | Acme |
| Example Company Ltd. | Example |
| Demo Industries Europe | Demo Industries |
The original WooCommerce values remain unchanged.
Dynamic Attribute or Value Map?
Use Value Map when the requirement is a direct conversion:
ACME LTD
→ Acme
Example Company Ltd.
→ ExampleUse a Dynamic Attribute when the brand depends on conditions:
IF Child Category = Own Brand
→ My Store
IF another condition matches
→ Another Brand
ELSE
→ Existing Product BrandA practical rule is:
Existing brand field
→ Map the source directly
Primary + secondary brand fields
→ Use Fallback Source
Simple brand-name conversion
→ Use Value Map
Conditional brand assignment
→ Use Dynamic AttributeCombining Source, Fallback and Value Map
You can also combine several Mapping features.
For example:
Output Field:
brand
Source:
Product Brand
Fallback Source:
Brand
Transform:
Value MapThe processing order is:
Source
→ Fallback if Source is empty
→ Transform
→ Prefix / SuffixThis means the plugin first finds the appropriate brand value and then applies the Value Map to the resolved result.
Example Combined Configuration
Suppose your store contains:
Product A
Product Brand: ACME LTD
Brand attribute: emptyand:
Product B
Product Brand: empty
Brand attribute: Example Company Ltd.with:
ACME LTD=>Acme;
Example Company Ltd.=>ExampleThe final output becomes:
Product A
→ Acme
Product B
→ ExampleThis can normalize brand data even when the original values come from different sources.
Custom Brand Taxonomies
Deviking Product Feeds can expose supported custom product taxonomies as feed sources.
For example:
tax:product_brandcan resolve the term names assigned to a product from the product_brand taxonomy.
When the taxonomy exists on the site, it can normally be selected through the Source selector.
This makes it possible to use brand data created by WooCommerce configurations or extensions that store brands as taxonomy terms.
WooCommerce Brand Attributes
If your store uses a global WooCommerce attribute for brand, it may appear as an attribute source such as:
pa_brandThe advanced source syntax is:
attr:pa_brandYou can use this source directly:
Output Field:
brand
Source:
Brandor as a fallback to another brand source.
Custom Brand Meta Fields
Some stores save brand information as product metadata.
Detected product and variation meta fields are available in the Source system.
For example:
meta:_brandor another site-specific meta key.
If that field contains the required brand value, it can be mapped directly or used as a fallback source.
Brand Values and Variations
Brand information is usually stored on the parent variable product rather than separately on every variation.
If your variation feed requires parent product information, Deviking Product Feeds supports parent-source resolution using:
parent:<source>For example, when appropriate for your configuration, a parent product source can be used so variation records receive information stored on the variable parent.
Always use Preview to confirm the resolved value for your particular brand source and variation structure.
Use One Dynamic Brand Across Multiple Feeds
A saved Dynamic Attribute becomes a reusable source.
For example:
Resolved Brandcan be selected in:
Marketplace XML
Distributor CSV
Advertising Feed
Custom XML FeedThis allows you to maintain conditional brand logic in one place instead of recreating it separately for each feed.
Different Brand Output per Feed
Each feed has its own Mapping.
Therefore one feed can use:
Output Field:
brandwhile another uses:
Output Field:
manufacturerBoth can point to the same source:
Resolved BrandFor example:
<brand>Acme</brand>in one feed and:
<manufacturer>Acme</manufacturer>in another.
The source and output field name are independent.
Example: Complete Brand Resolution Setup
Suppose a store contains:
- a
product_brandtaxonomy for most products; - a
pa_brandattribute on older products; - a private-label category that should always output
My Store.
Create a Dynamic Attribute:
Dynamic Attribute:
Resolved BrandAdd:
Rule 1
IF
Child Category = Private Label
RESULT
Static value:
My StoreThen configure:
ELSE
Source field:
Product BrandIf your catalog does not require the category override, the simpler Mapping solution may instead be:
Output Field:
brand
Source:
Product Brand
Fallback Source:
BrandThis is usually preferable when brand selection is only based on whether the primary field is empty.
Keep Conditional Logic as Simple as Possible
Not every brand setup requires a Dynamic Attribute.
If your store already has:
Product Brand = Acmesimply map that source.
If brand can exist in two fields:
Source:
Product Brand
Fallback:
BrandIf existing brand names only need renaming:
Transform:
Value MapUse Dynamic Attributes only when the correct brand depends on actual IF / ELSE conditions.
This keeps feeds easier to maintain.
Preview the Brand Output
After configuring the brand source:
- Save the Dynamic Attribute if you created one.
- Open the required feed.
- Configure the brand or manufacturer Mapping row.
- Save the feed.
- Run Preview.
- Check products using the primary brand source.
- Check products using the fallback source.
- Check products matching any Dynamic Attribute rules.
- Check variation records if they are exported.
- Run Validate Feed.
- Use Save & Generate when the result is correct.
Recommended Brand Configuration
When brand already exists in your WooCommerce data:
Output Field:
brand
Source:
Product Brand
Fallback Source:
BrandWhen brand names need normalization:
Output Field:
brand
Source:
Product Brand
Fallback Source:
Brand
Transform:
Value MapWhen the brand must be derived conditionally:
Dynamic Attribute:
Resolved Brand
Rule 1:
IF Child Category = Private Label
→ Static value: My Store
ELSE:
→ Source field: Product BrandThen map:
Output Field:
brand
Source:
Resolved BrandUsing the appropriate combination of Source, Fallback Source, Value Map, and Dynamic Attributes allows Deviking Product Feeds Pro to build a consistent brand field from the WooCommerce data already available in the store.