Forum Replies Created
Viewing 3 posts - 1 through 3 (of 3 total)
- AuthorPosts
- matthias.kochParticipant
You are right – thank you very much!
matthias.kochParticipantThis works perfectly now, thank you very much!
matthias.kochParticipantThank 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 - AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)