How to configure the Dynamic Attribute? – WooCommerce Product Feed

What is a Dynamic Attribute?

Using Dynamic Attribute you can modify or change your product information easily with conditions.  Dynamic Attribute return values depend on the conditions and values of product attributes you set. Well, this functionality is only available to premium version of the plugin only.

Creating dynamic attribute is pretty easy to initiate, Follow these steps:

Creating dynamic attribute is pretty easy to initiate
  1. Go to CTX Feed > Dynamic Attributes. Press button Add New.
  2. Fill in the following fields:
    • Attribute Name – Give a name to the attribute as you wish.
  3. Press Add Condition button
  4. Select an attribute at the left corner. This list contains all the product attributes or info from product title, description, category to product meta and taxonomies. 
  5. Select a condition. There are 9 conditions available. 
    • is / equal
    • is not / not equal 
    • equals or greater than
    • greater than
    • equals or less than
    • less than
    • Contains
    • does not contain
    • between
  6. Input condition value to compare with the product attribute.
    Note*: If you want to compare with empty then you have to keep this input field empty. 
  7. Select Output Type:
    • Attribute  – Allows returning attribute value for the specified condition.
    • Pattern – To return a static value for the specified condition. By selecting a pattern you can type the static value on the Value field.
  8. Default – Sets a default value for the dynamic attribute at the end. If all the conditions are false, then the dynamic attribute will return this value.

9. Press button Save.

After creating a Dynamic attribute you need to apply the dynamic attribute into your feed configuration. 

The Dynamic Attribute may not be available instantly into your feed configuration. You need to clear the plugin cache. Go to CTX Feed > Manage Feed and click on the Clear Cache button. 

The Dynamic Attribute may not be available instantly into your feed configuration.
Clear Plugin Cache

After clear the cache, Go to the feed configuration and apply the Dynamic attribute to your preferred merchant attribute. See the example screenshot below: 

Go to the feed configuration and apply the Dynamic attribute to your preferred merchant attribute.
Map The Dynamic Attribute with your Merchant Attribute