Menu Close
    Start a Project Request quote Reading list Switch to dark mode
    magento-marketplace-mod

    Magento2 – Assign Associated Products To Configurable Product

    Assign Associated Products To Configurable Product

    Use the following code snippet to assign already created associated products to configurable product.


    Note : If there is already associated product assigned (same combination) to configurable product. It will throw error.

    . . .

    Comments (10)

    Add Your Comment

  • Milind
    Hi,
    It is not working.

    Created simple products for one attributes options. There is no error but in admin, Configurations section is empty.

  • Apktech Company
    Not working.

    Got error Fatal error: Uncaught exception ‘MagentoFrameworkExceptionInputException’ with message ‘Option values are not specified.’ in

  • Ramazan BOSTAN
    Hello,

    It is not working.

    Created simple products for two attributes options. Generate and got all simple products ids.
    There is no error but in admin, Configurations section is empty and

    Ideas?

  • Sadeesh Mani
    Hello,

    i use this code, it’s showing error.

    error:
    Fatal error: Uncaught MagentoFrameworkExceptionInputException: Option values are not specified. in /var/www/html/magento2/vendor/magento/module-configurable-product/Model/OptionRepository.php on line 270

    Please advice…

  • avvishnu
    How pro-grammatically create a configurable Magento 2 product?
  • Back to Top
    css.php
    Hire Us!
    Brief us about your requirements and we'll get back to you.
    Woo! Hooy!
    We have just recieved your project brief and our expert will contact you shortly.
    Send Again
    Close