Is it possible to assign different statuses for child products of a configurable/bundle/grouped product?

Is it possible to assign different statuses for child products of a configurable/bundle/grouped product?

The extension allows setting different statuses to products based on their attributes (like color, size, SKU, stock availability, etc) and dynamically change the status depending on the available quantity of the product. The feature is available for configurable and grouped products. The options of bundle products can't have individual statuses. For configurable products, make sure to enable the setting allowing change of the status upon option selection in Stores → Configuration → Amasty Extensions → Custom Stock Status → Configurable Products.



In order to set different statuses to product simple options, follow the tips below.

Step 1. Specify a custom stock status for each simple product in the product configuration (highest priority).



Step 2. Adjust the 'Where to' conditions in the custom stock status rule(s) to exclude the parent, but include simple(s).



In this case, the conditions could include any specific product attribute that is not shared with a parent product.

Step 3. Activate qty based ranges for stock statuses in the rule configuration.



As parent products don't have qty in Magento, the statuses will be updated for simple options only.
      • Related Articles

      • How to assign simple options to configurable products?

        In order to assign simple products to the configurable ones, it is necessary for them to already exist in Magento. Therefore, at first, I'd recommend importing all the products. Here are the minimum required fields to import a new product: Root ...
      • How to apply statuses only to products with specific quantity?

        The module works with the Magento product attributes as a basis for forming the product collection that receives a custom stock status. In Magento, quantity is a system attribute that cannot be used in rules' conditions. Due to this, setting a status ...
      • Custom Stock Status API

        1. Amasty\Stockstatus\Api\RuleRepositoryInterface - class for managing custom stock status rules. POST /V1/amasty_stockstatus/rule, method="save" - create a custom stock rule; PUT /V1/amasty_stockstatus/rule/:id, method="save" - edit a custom stock ...
      • Can I display different product attachments for different child products?

        At the moment the module doesn’t allow displaying attachments per child products. If you add attachments to a configurable product, they will be displayed for all its options identically.
      • Custom Stock Status | GraphQL methods

        Query getAmCustomStockStatus description: get information about a stock status