0

I have created custom options programatically with reference of below url : https://webkul.com/blog/create-custom-option-programmatically-in-magento2/ How to update any option value or option details programatically for options which are already added in product.

-1

Try this:

$product->setData('your_option_name', $yourOptionValue);

$product->save();

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.