Store policies

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!

Viewing 6 reply threads
  • Author
    Posts
    • #60662
      sdel_nevo
      Participant

      Hi 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

    • #60776
      WCFM Forum
      Member

      Hi,

      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

    • #60810
      sdel_nevo
      Participant

      Hi guys

      That’s great, will apply to my themes functions.php file and let younknow how it goes

      Steve

    • #60891
      sdel_nevo
      Participant

      Hi 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

    • #61287
      WCFM Forum
      Member

      HI,

      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

    • #61288
      sdel_nevo
      Participant

      Hi Guys

      yes sorry, that’s my mistake,

      yes updated and everything is working brilliantly

      Many thanks

      Steve

    • #61732
      WCFM Forum
      Member

      NO issues, thanks for the update 🙂

Viewing 6 reply threads
  • The topic ‘Store policies’ is closed to new replies.