You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The “Enable the check-box Allow Vendors to contact Admins from the dashboard area” option does not appear in my admin settings. This seems to be missing from the UI.
After implementing the provided (https://wordpress.org/support/topic/not-working-with-dokan/) PHP code to enable the contact form on the vendor dashboard: /* Change the type of Vendor Contact Form enable feature */ function vendor_contact_form_option_type( $settings_fields ){ $settings_fields['weforms_integration']['allow_vendor_contact_form']['type'] = 'switcher'; return $settings_fields; } add_filter( 'dokan_settings_fields', 'vendor_contact_form_option_type', 99 );
The checkbox appears, and I can enable the contact form feature. However, when vendors try to use this feature, instead of opening the contact form, it redirects them to the general “Contact” page of the site.
[BC] I set this up according to the provided documentation and although I'm not getting the same redirect issue, my Dokan input fields are not importing over to the live form. I checked the console but did not see any error messages pertaining to the issue.
As for the UI it does appear to be a different layout and I noticed a possible conflict when trying to implement the provided snippet. In the Dokan General Settings there is a toggle called Admin Area Access which prevents vendors from accessing the wp-admin dashboard area. If HPOS feature is enabled, admin access will be blocked regardless of this setting. The Vendor Contact Form area also has a setting Vendor Can Contact that allows vendors to contact admin from the dashbaord area. I can imagine that this could cause some conflicts. I tried switching off the snippet and allowing access from General Settings but the form fields are still not displaying correctly on the live form.
The text was updated successfully, but these errors were encountered:
User brought this to our attention:
I am currently experiencing an issue with setting up the vendor contact form on my Dokan marketplace. I have followed the instructions provided in your tutorial (https://wedevs.com/blog/132068/create-vendor-contact-form-for-dokan-marketplace/; https://dokan.co/docs/wordpress/create-a-vendor-contact-form-for-dokan/), but I’ve encountered a couple of challenges:
The “Enable the check-box Allow Vendors to contact Admins from the dashboard area” option does not appear in my admin settings. This seems to be missing from the UI.
After implementing the provided (https://wordpress.org/support/topic/not-working-with-dokan/) PHP code to enable the contact form on the vendor dashboard:
/* Change the type of Vendor Contact Form enable feature */ function vendor_contact_form_option_type( $settings_fields ){ $settings_fields['weforms_integration']['allow_vendor_contact_form']['type'] = 'switcher'; return $settings_fields; } add_filter( 'dokan_settings_fields', 'vendor_contact_form_option_type', 99 );
The checkbox appears, and I can enable the contact form feature. However, when vendors try to use this feature, instead of opening the contact form, it redirects them to the general “Contact” page of the site.
[BC] I set this up according to the provided documentation and although I'm not getting the same redirect issue, my Dokan input fields are not importing over to the live form. I checked the console but did not see any error messages pertaining to the issue.
As for the UI it does appear to be a different layout and I noticed a possible conflict when trying to implement the provided snippet. In the Dokan General Settings there is a toggle called Admin Area Access which prevents vendors from accessing the wp-admin dashboard area. If HPOS feature is enabled, admin access will be blocked regardless of this setting. The Vendor Contact Form area also has a setting Vendor Can Contact that allows vendors to contact admin from the dashbaord area. I can imagine that this could cause some conflicts. I tried switching off the snippet and allowing access from General Settings but the form fields are still not displaying correctly on the live form.
The text was updated successfully, but these errors were encountered: