HI All,
Can you please help me out here how to allow html code on magento 2.1/2.0 product custom option.
I already tried this solution below, this solution works on Magento 1.9 but not anymore on Magento 2.0
ALTER TABLE `catalog_eav_attribute` CHANGE `is_html_allowed_on_front` `is_html_allowed_on_front` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '1' COMMENT 'Is HTML Allowed On Front';
vendor/magento/module-catalog/view/frontend/templates/product/view/options/type/text.phtml
Remove the "escapeHtml"'
<?php echo $block->escapeHtml($_option->getTitle()); ?>
to
<?php echo $block->$_option->getTitle(); ?>
This time custom option will not display anymore after remove "excapeHtml"
Thanks,
Jesse