You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of Magento 2.3.4, custom email templates are only allowed to use scalar values for variable data. Direct calls to methods are no longer allowed. To be more specific, methods can no longer be called from variables from either the var directive or when used as parameters. For example {{var order.getEmailCustomerNote()}} or {{something myVar=$obj.method()}} will fail to resolve.
Prerequisites
Magento Version:
=2.3.4
Module Version:
any that match Magento >= 2.3.4
The text was updated successfully, but these errors were encountered:
Description
https://devdocs.magento.com/guides/v2.4/frontend-dev-guide/templates/template-email-migration.html
As of Magento 2.3.4, custom email templates are only allowed to use scalar values for variable data. Direct calls to methods are no longer allowed. To be more specific, methods can no longer be called from variables from either the var directive or when used as parameters. For example {{var order.getEmailCustomerNote()}} or {{something myVar=$obj.method()}} will fail to resolve.
Prerequisites
Magento Version:
Module Version:
The text was updated successfully, but these errors were encountered: