Unmarked boxes in the WCFM enquiry

WooCommerce Multivendor Marketplace – Home Forums WCFM Unmarked boxes in the WCFM enquiry

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by WCfM Forum WCfM Forum 4 months ago.

  • Author
    Posts
  • #26254

    Roboson Gomes

    In WCFM I use the inquiry option. When the vendor answers the question he has forgotten to check the boxes “Check this field if the question should not be displayed for others:” and Notify “user response:”

    Would it be possible these two boxes already appear marked? This would prevent the vendor from responding and the user not receiving the response.

    Thankful!

  • #26266
    WCfM Forum
    WCfM Forum
    Keymaster

    Hi,

    Thanks for get in touch with us and I understand your problem.

    Kindly add this code to your site from the purpose –

    function enquiry_manager_fields_general_custom( $enquiry_fields ) {
    	if( isset( $enquiry_fields['is_private'] ) ) {
    		$enquiry_fields['is_private']['dfvalue'] = 'yes'; 
    	}
    	if( isset( $enquiry_fields['notify'] ) ) {
    		$enquiry_fields['notify']['dfvalue'] = 'yes'; 
    	}
    	return $enquiry_fields;
    }
    add_filter( 'enquiry_manager_fields_general', 'enquiry_manager_fields_general_custom', 50 );

    Thank You

The topic ‘Unmarked boxes in the WCFM enquiry’ is closed to new replies.