WC Lovers

WooCommerce Frontend Manager - Multivendor marketplace vendor dashboard

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Alphabetical sorting of vendors in store list #69828
    matthias.koch
    Participant

    You are right – thank you very much!

    in reply to: Custom field for vendor settings #67181
    matthias.koch
    Participant

    This works perfectly now, thank you very much!

    in reply to: Custom field for vendor settings #66361
    matthias.koch
    Participant

    Thank you for your reply! This brings me already one step forward.

    Sadly, I have one more issue:

    	function save_custom_vendor_settings($vendor_id, $wcfm_settings_form) {
    		global $WCFM, $WCFMmp;
    		if( isset( $wcfm_settings_form['allow_invoice'] ) ) {
    			$a = $wcfm_settings_form['allow_invoice']; //ISSUE: Always "yes"
    			update_user_meta( $vendor_id, 'allow_invoice',  $wcfm_settings_form['allow_invoice'] );
    		} else {
    			update_user_meta( $vendor_id, 'allow_invoice',  'no' );
    		}
    	}

    In the line where (for testing only) I set the $a variable, I notice that the value of $wcfm_settings_form['allow_invoice'] is always “yes”, even though I have the checkbox unchecked.
    Did I miss something else?

    Thank you again for your support!
    Regards
    Matthias

Viewing 3 posts - 1 through 3 (of 3 total)