Code

Support for WooCombinator for variable products - Turn your boring selects into buttons!

vision-px

vision-px supports this item

Supported

This author's response time can be up to 1 business day.

Popular questions for this item

If there are a lot of options then it is possible to select not available options

That is a WooCommerce behavior: if there are too many options WooCommerce will send an AJAX request back to the backend only when all of the options are selected.

This is the same if you disable WooCombinator and check how the dropdowns work. Unavailable options (attributes) still can be selected.

This means every options are available until you select all of them because information about availability and valid combinations are only checked when ALL of the attributes are selected. If the selected variable is not available then WooCommerce will display a message.

By default this number is limited to 30 variations and can be overriden by setting the “woocommerce_ajax_variation_threshold” filte. Please always test how it works because it can cause performance issues on the frontend!

To tweak the setting you can put something like on the top of the functions.php of WP:

function custom_wc_ajax_variation_threshold( $qty, $product ) {
    return 50; // Increase default 30 to 50
}

add_filter( 'woocommerce_ajax_variation_threshold', 'custom_wc_ajax_variation_threshold', 100, 2 );

Contact the author

This author provides limited support for this item through this item's comments.

Item support includes:

  • Availability of the author to answer questions
  • Answering technical questions about item’s features
  • Assistance with reported bugs and issues
  • Help with included 3rd party assets

However, item support does not include:

  • Customization services
  • Installation services

View the item support policy

by
by
by
by
by
by