Diwali

Wishing you joy this Diwali and Halloween! Enjoy up to 20% OFF on all addons!

Claim Offer
00Day 23Hr 36Min 25Sec
Diwali

woocommerce product attributes single choice

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!

Best Multi Vendor Marketplace Plugin for WordPress › Forums › WCFM – Ultimate › woocommerce product attributes single choice

Viewing 3 reply threads
  • Author
    Posts
    • #39563
      Alexandru
      Guest

      Hello,

      We use woocommerce product attributes. When a vendor create his products, when he choose from attributes he can make multiple selection. How can we force him to make a single selection? Thanks!

      Alexandru

    • #39598
      WCFM Forum
      Member

      Hi,

      Please add this code for the purpose ->

      add_filter( 'wcfm_attribute_limit', function( $attrlimit ) {
      	$attrlimit = 1;
      	return $attrlimit;
      });

      Thank You

    • #39662
      Alexandru
      Guest
      This reply has been marked as private.
    • #39663
      WCFM Forum
      Member

      You are welcome 🙂

Viewing 3 reply threads
  • The topic ‘woocommerce product attributes single choice’ is closed to new replies.