- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Magento2.1.7 Change Custom Option Value
Hello,
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?
screenshot below:
source code
frontend html
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento2.1.7 Change Custom Option Value
Any guys help me ?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento2.1.7 Change Custom Option Value
Hi @mincovip,
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?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento2.1.7 Change Custom Option Value
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 ?
display effect
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento2.1.7 Change Custom Option Value
Who can help me ?