ACF For Dokan


Admin can easily create custom fields for vendors while he is creating new products. While creating a custom field using Advance Custom Field, admin needs to select ‘Vendor Edits Allowed’ so that vendor can use that custom field. Right now the supported field types of ACF are text, textarea, number, url, select, checkbox, radio, file, email, WYSIWYG editor.
The WYSIWYG editor will only work in edit product pages.
The file ACF field type will only work in edit product pages.

You can use ACF functions like the_field, get_field to display the custom field value for the product.

The plugin will work with ACF and Dokan free as well as PRO versions.

ACF For Dokan PRO
• Supported multiple ACF Field groups
• Conditional logic for product add/edit custom fields
• Ajax search for select field in product add/edit form
• Gallery field for product
• Create custom fields for vendor registration form as well as order post type
• Vendor can update it from edit account page
• Vendor can update order meta from edit order page in vendor dashboard
• Supported field types are text, textarea, number, url, select, email, checkbox, radio

Pro Plugin Demo : View

👉 Premium WooCommerce Plugin


  • It shows how you can enable custom field for add/edit product in vendor dashboard.
  • It shows list of all the fields enabled for vendor to add/edit.
  • It shows fields enabled from ACF in vendor dashboard add product popup.
  • It shows fields enabled from ACF in vendor dashboard edit product page.


  1. Copy the acf-for-dokan folder into your ‘wp-content/plugins’ folder.
  2. Activate the ACF For Dokan plugin via the plugins admin page.
  3. Create a new field via ACF and select the ‘Vendor Edits Allowed’.


How to use

Admin can easily create custom fields for product. Admin will have an extra setting to allow Vendor to Edit option. If this is enabled, vendor can add/update the custom field from vendor dashboard.

How do I display the field on the Product Page?

You can add the below code in the active theme’s functions.php file:

add_action( 'woocommerce_product_meta_end', 'acf_dokan_display_product_fields' );
function acf_dokan_display_product_fields(){
    echo '<div class="custom_fields"><span class="meta_title"> Product Code: '; // change Product Code label to the field label
        the_field( 'product_code' ); // change product_code to field slug
    echo '</div>';


November 26, 2021
I needed this plugin for a project but there was a small problem I had getting it to work on the site. I posted my problem on the support forums and the plugin creator responded almost immediately, was able to get into my site, and fixed the problem. This kind of responsiveness is so rare to find, and it helped me tremendously!
November 26, 2021
I like the plugin; I don't think I had any issue. There was a problem with my site, but I am not sure if its because of the plugin - however, I asked krazyplugin to help. He was willing to check, but before anything could take place, things went back to normal. Which is why I thought it must not be because of the plugin I had a little glitch. I am leaving this review because of the willingness, and I hope the same would happen if there is ever an error - time will tell. But so far, all is well, thank you, lovely plugin.
November 12, 2021
This plugin is very very helpful when working with Dokan. I've had some questions about integration - the support team helped me through every single point in no time. If you need custom fields in Dokan, use this!
September 6, 2021
They were really fast and helped me to solve an issue after WordPress update.
Augustus 16, 2021
This is a must have for every owner of a dokan store website. Thanks to this plugin, your website can be customized as you which and for you vendors ! One of the most useful plugin out there for dokan !
Read all 12 reviews

Contributors & Developers

“ACF For Dokan” is oopbron sagteware. Die volgende mense het bygedra tot die ontwikkeling van hierdie uitbreiding:


Translate “ACF For Dokan” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Added support of custom field require validation in edit product form


  • Added support of radio and file ACF field type


  • Added support of checkbox ACF field type


  • Fixed foreach error


  • Initial Release.