I want to change custom option value and
I have added new attribute about 'disabled' and edited the option value in 'vendor\magento\module-catalog\Block\Product\View\Options\Type\Select.php' file.
The html result is not ok , the disabled attribute have added but the option value don't change. Why ? Could you help me to fix it?
First of all is a really bad idea to change some core class. Next time you try to update you'll override your own changes.
Now, can you explain a little bit more about the new behavior you're trying to obtain?
Hi @Damian Culotta,
Thanks for you reply.
Yes, it's bad idea to change core class.
I just want to change the option display effect.
For example, change the option value, how to get the display effect ?