Forum Replies Created
- AuthorPosts
- February 10, 2018 at 7:32 pm in reply to: Every link in the dashboard points to the root url /dashboard #18866sharkmediasportParticipant
Sure I’ll send you the info with a temporary account.
Thank you
JFFebruary 10, 2018 at 4:42 pm in reply to: Every link in the dashboard points to the root url /dashboard #18853sharkmediasportParticipantThis reply has been marked as private.February 10, 2018 at 3:09 pm in reply to: Every link in the dashboard points to the root url /dashboard #18848sharkmediasportParticipantInformation to add:
All my end points are already defined in WCFM pages and it was working before.
January 22, 2018 at 12:26 pm in reply to: Remove field from Dashboard with no filter function #18215sharkmediasportParticipantThank you for your awesome product and support !
JF
sharkmediasportParticipantWow, good job. I’m sure I had those already set. They problably unset for some reason.
Thank you very much !
JF
sharkmediasportParticipantOk, I’ll try to figure it out.
I’m able to edit the same thing from the woo-commerce my-account page
https://tonoutil.com/mon-compte/annonces/?action=edit&job_id=670
but not from WCFM, https://tonoutil.com/wp-admin/admin-ajax.php?action=edit&job_id=670
sharkmediasportParticipantThat’s very king of you, thanks for your time, I should be able to have something working from your link.
JF
sharkmediasportParticipantHi,
yes thank you very much, it is now required. Ultimately I would love to have it required on the vendor registration form but I don’t think I’m at right place to ask.
Otherwise, your solution is good. Thanks !!
JF
sharkmediasportParticipantGot it ! Needed label_class instead of desc_class
Thank you again for your amazing support !
sharkmediasportParticipantThis code was from you guys 😉
Can’t seem to have working for booking_cost, I think I’ll need some help for this one.
So far…
//Remove cost fields from WCFM manager FE
function wcb_custom_product_manage_booking_cost_fields( $booking_cost_fields ) {
if( wcfm_is_vendor() ) {
if( isset( $booking_cost_fields[‘_wc_booking_cost’] ) ) {
$booking_cost_fields[‘_wc_booking_cost’][‘class’] .= ‘ wcfm_custom_hide’;
$booking_cost_fields[‘_wc_booking_cost’][‘desc_class’] .= ‘ wcfm_custom_hide’;
}
}
return $booking_cost_fields;
}
add_filter( ‘wcfm_wcbokings_cost_fields’, ‘wcb_custom_product_manage_booking_cost_fields’, 100, 3 );thank you
sharkmediasportParticipantYeah, I saw it in another thread, maybe you can tell me how to find field php name so I can do it myself.
For exmaple I wnat to hide:
Base cost
Display costand potentially
Requires confirmation?
Can be cancelled?I already have this to hide “resources”
function wcb_custom_product_manage_fields_general( $general_fields, $product_id, $product_type ) {
if( wcfm_is_vendor() ) {
if( isset( $general_fields[‘_wc_booking_has_resources’] ) ) {
$general_fields[‘_wc_booking_has_resources’][‘class’] .= ‘ wcfm_custom_hide’;
$general_fields[‘_wc_booking_has_resources’][‘desc_class’] .= ‘ wcfm_custom_hide’;
}
}
return $general_fields;
}
add_filter( ‘wcfm_product_manage_fields_general’, ‘wcb_custom_product_manage_fields_general’, 100, 3 );Thank you
JFsharkmediasportParticipantHi,
I’m using woocommerce product vendors.
Thank you
JFsharkmediasportParticipantHi,
I’m also interested in having paypal email adress mandatory.
Can you provide to code to do it ?
Thank you
JF - AuthorPosts