Product Icon

Composite Products for WooCommerce

Create product kit builders and custom product configurators using existing products.

Select next available, when default are soldout

Composite product:

When default option are soldout, select next or first available Component Options (product) as default.

Author

SleepyCrom

Current Status

Closed

Last updated: November 4, 2023

2 comments

Log in to comment on this feature request.

  1. SleepyCrom says:

    Is there a filter where we can set default option on a dropdown in Composite product? Then I could do this by code. Scenarios only hide components, not able to change default select option inside a compoents.

  2. jaskyt8 says:
    Product developer November 6, 2023 9:07 am

    Hey there,

    Thank you for sharing this suggestion!

    This is a feature request that we have received a couple of times in the past and have thoroughly investigated. The biggest challenge here is that if a Composite Product has Scenarios, then it is necessary to evaluate the “next available option” against the list of active Scenarios to validate if the option is not excluded by any Scenarios. If it is excluded, then the same needs to happen for the next option. If it is not excluded, Scenarios need to calculate if the newly selected option has any effect on the currently active Scenarios. Running Scenarios calculations is a very performance-demanding task that could potentially slow down the Composite Product page and lead to customers leaving the page. Therefore, we weren’t able to find a robust solution for this case.

    One alternative we are considering is to select the last remaining component option when all the rest are out of stock or excluded by Scenarios. Would this benefit your case, as well?

    P.S.: In case your Composite doesn’t have Scenarios, but you’d like to know more about Scenarios, you may have a look here: https://woocommerce.com/document/composite-products-advanced-configuration/#option-dependencie