Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Ultimate › Store policies
- This topic has 6 replies, 2 voices, and was last updated 5 years, 9 months ago by
WCFM Forum.
- AuthorPosts
- May 5, 2019 at 11:42 am #60662
sdel_nevo
ParticipantHi Guys
is it possible to do this
make the Policy tab label locked for vendors, I do not want my vendors changing the name of this
so its only renamable via the admin,
Steve
- May 5, 2019 at 8:45 pm #60776
WCFM Forum
MemberHi,
Please add this code to your site –
add_filter( 'wcfm_product_manage_fields_policies', function( $policy_fields, $user_id ) { $policy_fields = wcfm_hide_field( 'wcfm_policy_tab_title', $policy_fields ); return $policy_fields; }, 50, 2 ); add_filter( 'wcfm_vendor_settings_fields_policies', function( $policy_fields, $user_id ) { $policy_fields = wcfm_hide_field( 'wcfm_policy_tab_title', $policy_fields ); return $policy_fields; }, 50, 2 );
Well, this will work after WCFM next update.
Thank You
- May 5, 2019 at 10:01 pm #60810
sdel_nevo
ParticipantHi guys
That’s great, will apply to my themes functions.php file and let younknow how it goes
Steve
- May 6, 2019 at 9:20 am #60891
sdel_nevo
ParticipantHi Guys
I have applied the code to my child-themes functions.php file
but the store policies label is still viable and editable on both the product pages and the store settings page
Steve
- May 9, 2019 at 7:17 am #61287
WCFM Forum
MemberHI,
Well, this will work after WCFM next update.
– You missed my message.
Please check now and be sure you have updated WCFM to 6.1.0
Thank You
- May 9, 2019 at 7:18 am #61288
sdel_nevo
ParticipantHi Guys
yes sorry, that’s my mistake,
yes updated and everything is working brilliantly
Many thanks
Steve
- May 10, 2019 at 5:39 pm #61732
WCFM Forum
MemberNO issues, thanks for the update 🙂
- AuthorPosts
- The topic ‘Store policies’ is closed to new replies.