Hi,
the macro is correct. You do not need to use encode parameter and the macro itself will be resolved correctly (for example in Content Before property of web part). The issue here is that in the
E-commerce e-mail template is the content encoded by default for security reasons, i.e.
resolver.EncodeResolvedValues = true;The workaround is to create a
custom macro and inside the macro use a following line of code:
sender.AllowParameters = false;
This way the html code will not be encoded.
To access relevant e-commerce value in your custom macro please take a look here:
Customizing invoice and e-mail templatesBest regards,
Ivana Tomanickova