Concatenation Attributes

This documentation provides detailed information on how concatenation attributes work in our WooCommerce Product Sync plugin. The system supports different combinations of static and dynamic mapping, which are used to generate and manipulate attribute values in a flexible way. Below are the supported features and behaviors for concatenation attributes:

1. Normal and Nested Static and Dynamic Mapping

Example: name + ##StaticValue##

Result:

  • name is attribute coming in API response while the StaticValue enclosed in ## and will be added after the name.

2. Dynamic attribute concatenation

Example: name + ## - ## + sku

Result:

  • The result is: Handbag - 1234
  • name and sku coming in API response will be combined and assigned to the product.

3. Only Static Mapping

Static mappings are fully fixed and will remain as written. These attributes will not be altered or replaced dynamically.

Example: ##Test Products##

Result:

  • The ##Test Products## will be assigned to all the products in the attribute in which it is configured.

4. Special Characters in Static Attributes

Attributes can include special characters, which will be treated as part of the value rather than as dynamic placeholders.

Example: ##Name - ## + title

Result:

  • The result is: Name - Handbag
  • Special characters like hyphens (-) are treated as part of the static value.