The attribute mapping tool starts with showing the required attributes for the channel you are working on. In our example we work on the Google Channel so in your case it could show different attributes. The attribute mapping tool will show you a table with the attributes, the Woocommerce source, the condition editor and value editor. In most cases it will start with the ID attribute but with the custom feed builders you will have no attribute pre selected.
The basic steps for mapping attributes is the following; Select the attribute, connect to a WordPress/WooCommerce source, add a condition if needed and change the value if needed.
In the source column you will see the source that is pre set to a attribute. In other cases you will see the source editor with the source selected if there are source fields combined or a static source is selected. In some cases we do not know the correct source for the attribute in your webshop setup so you will see the source dropdown showing ” — Select a source field —”
If you open the source editor you will first see two functions “Fill with static value” and “Combine source fields” These functions can be used to add a static value to the attribute or combine two or more source fields as a value to the attribute.
If you select the static value from the source dropdown, a text field will appear where you can enter the static value. Remember that this value will be set to all products unless you will use a condition together with the static value. We will cover the condition editor further on.
Combined source fields
Selecting the “combined source fields” value from the source dropdown three dropdown will appear. Two with source fields and an source field with separators. With the three fields you can combine two source fields with a separator or without a separator.
A popular combination of sources is for instance the price attribute where you combine the Regular price with the Woocommerce currency symbol with a space as separator.
You can even combine more than two source fields. Click the (add) link next to the separator dropdown to add an other separator and source dropdown to the other fields so you can add an third source field. This can be useful for building a unique title or add Google campaign parameters to your url.
WooCommerce and WordPress sources