ACF For Dokan

外掛說明

Must have plugin when working with Dokan

Create a custom field for vendors, exactly like you did for admins, and make it accessible from their dashboard to save development time.

This improve our marketplace running on Dokan
~maxsico

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
• Repeater field for product
• Gallery field for product
• Relationship field for product
• Taxonomy field for product
• Google Map field for product
• Dokan bookings – bookable products
• 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 for vendor and order are text, textarea, number, url, select, email, checkbox, radio

I improved my project by 1000%
“Excellent plugin. I love it!, This is an essential plugin when using Dokan and ACF in its free or Pro version, but it is even better if you buy the version of ACF for Dokan Pro. Its support is spectacular.” ~@alaid

Pro Plugin Demo : View

👉 Premium WooCommerce Plugin

Trusted by many people just like you!

ACF For Dokan is used on over 900+ websites and has received over 20 5-star reviews just like this one:

This plugin basically saved us
~@pinkpeach

螢幕擷圖

  • 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>';
}

使用者評論

2022 年 11 月 24 日 1 則留言
Really helpful plugin. Thanks to it I was able to really customize Dokan Marketplace. Excellent and super-fast support. Can only recommend.
2022 年 10 月 24 日 1 則留言
I had some issues with this plugin, the support team responded quickly and resolved my issues, recommend it!
2022 年 10 月 5 日 1 則留言
Plugin does what it was supposed to do. Needed also help from support and they were extremely helpful and fast.
2022 年 9 月 7 日 1 則留言
Faced a little issue with the plugin but supports is fast and fixed in short time! Suggest!
2022 年 8 月 16 日 4 則留言
I downloaded and installed over 2 times, but it's not showing the "vendor edits allowed",
閱讀全部 28 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈ACF For Dokan〉的開發相關工作。

參與者

將〈ACF For Dokan〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.3

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

1.2

  • Added support of radio and file ACF field type

1.1

  • Added support of checkbox ACF field type

1.0.2

  • Fixed foreach error

1.0

  • Initial Release.