How to add ACF Filed value into feed?

ACF is one of the most renowned plugins in WordPress. CTX Feed plugin is compatible with the ACF plugin. Here we are going to show how to add ACF (Add Advanced Custom Field) filed value into feed.

Here we are going to create an attribute value and will assign it with an attribute. You will assign the value with your expected attribute. The process is pretty easy. So, Let’s start…

  1. At first, we assume that your ACF plugin is installed. Now, Let’s make a meta field to work with the product.
    For this, go through Custom Fields > Add New menu.

    add ACF Filed value into feed step 1
  2. Now, let’s create an option by giving the title and assign it to post type “product” then save the changes. 

    add ACF Filed value into feed step 2
  3. Let’s click on the “Add new” button and put a title in the “Field Label” input and by default, it will make a slug and it will show in “Field Name” input.
    Now let’s set “Field Type” to “Text” then save the changes. Thus, your ACF field is ready to use with the product.

    add ACF Filed value into feed step 3
  4. Go to any product edit page, you will find a meta box with the name of your ACF meta option name. Here you should find an input text. Add any value you want to set. We set “Poppy Petals Boutique” as the meta value and updated the product.

    add ACF Filed value into feed step 4
  5. Clear the plugin cache.
  6. Assign the custom field with any channel attribute, we have set “custom_label_0”. Now for an attribute value, let’s find the meta name in our feed product attributes list. We have given the meta name “product_metarial_information”. You can find the meta name is under the “Custom fields and post meta” options group. Set it and generate the feed. 

    add ACF Filed value into feed step 5
  7. We can see our “product_metarial_information” meta value (Poppy Petals Boutique) is with the product as we expected.
add ACF Filed value into feed step 6

Thus, you can make ACF meta fields and set in our product feed.

You can also watch a step by step video to learn how to add ACF field value into the product feed by following this video tutorial:

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.