Compulsory selection of only one category

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!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM – Feature Request Compulsory selection of only one category

Viewing 3 reply threads
  • Author
    Posts
    • #37114
      jose caguana
      Guest

      I use Dokan and WooCommerce Frontend Manager, Dokan has Category Selection Single activated, but when I go to publish or edit a product it lets me select several categories and I want to select only one, thanks for the help.

    • #37172
      WCFM Forum
      Keymaster

      HI,

      Well, if you have WCFM Ultimate then you may do this from Capability setting – https://ibb.co/jZcxLL

      Or, if you don’t have WCFM U then add this code snippet to your child theme’s functions.php for the purpose –

      add_filter( 'wcfm_catlimit', function( $limit ) {
      	return 1;
      }, 750 );

      Thank You

    • #38243
      Vegetaca
      Participant

      Excellent work thanks

    • #38282
      WCFM Forum
      Keymaster

      You are welcome 🙂

Viewing 3 reply threads
  • The topic ‘Compulsory selection of only one category’ is closed to new replies.