Closed a-mendoza closed 5 years ago
Hi,
This 2 variables return NULL in basket.phtml template
$block->escapeHtml($dynamicStyle['nameColor']) $block->escapeHtml($dynamicStyle['fontSize'])
$block->escapeHtml($dynamicStyle['nameColor'])
$block->escapeHtml($dynamicStyle['fontSize'])
In src/store/vendor/dotmailer/dotmailer-magento2-extension/Helper/Config.php
This 2 lines must be changed (lines 124 and 125 aprox.)
const XML_PATH_CONNECTOR_DYNAMIC_NAME_COLOR = 'connector_configuration/dynamic_content_style/name_color'; by : const XML_PATH_CONNECTOR_DYNAMIC_NAME_COLOR = 'connector_configuration/dynamic_content_style/font_color';
const XML_PATH_CONNECTOR_DYNAMIC_NAME_COLOR = 'connector_configuration/dynamic_content_style/name_color';
const XML_PATH_CONNECTOR_DYNAMIC_NAME_COLOR = 'connector_configuration/dynamic_content_style/font_color';
and
const XML_PATH_CONNECTOR_DYNAMIC_NAME_FONT_SIZE = 'connector_configuration/dynamic_content_style/name_font_size'; by : const XML_PATH_CONNECTOR_DYNAMIC_NAME_FONT_SIZE = 'connector_configuration/dynamic_content_style/font_size'
const XML_PATH_CONNECTOR_DYNAMIC_NAME_FONT_SIZE = 'connector_configuration/dynamic_content_style/name_font_size';
const XML_PATH_CONNECTOR_DYNAMIC_NAME_FONT_SIZE = 'connector_configuration/dynamic_content_style/font_size'
Hey @a-mendoza,
I've added this to our sprint board and the fix is currently under review.
I'll update again once released to our master branch.
Thanks, Simon
This has been fixed.
Hi,
This 2 variables return NULL in basket.phtml template
$block->escapeHtml($dynamicStyle['nameColor'])
$block->escapeHtml($dynamicStyle['fontSize'])
In src/store/vendor/dotmailer/dotmailer-magento2-extension/Helper/Config.php
This 2 lines must be changed (lines 124 and 125 aprox.)
const XML_PATH_CONNECTOR_DYNAMIC_NAME_COLOR = 'connector_configuration/dynamic_content_style/name_color';
by :const XML_PATH_CONNECTOR_DYNAMIC_NAME_COLOR = 'connector_configuration/dynamic_content_style/font_color';
and
const XML_PATH_CONNECTOR_DYNAMIC_NAME_FONT_SIZE = 'connector_configuration/dynamic_content_style/name_font_size';
by :const XML_PATH_CONNECTOR_DYNAMIC_NAME_FONT_SIZE = 'connector_configuration/dynamic_content_style/font_size'