Commerce Receipt custom template not picked up

Created on 10 October 2023, about 1 year ago
Updated 14 October 2023, about 1 year ago

From what I gathered reading a few issues here, if I wan to have some Commerce logic in Receipt, I shall use commerce-order-receipt.html.twig. Which eventually becomes {{body}} in commerce policy override.

Also, body actually shall be excluded in policy override, then it shall render whatever commerce-order-receipt.html.twig provides. And I have added theme override in policy, pointing to custom theme we use.

The custom template was working fine already with mailgun.

But eventually template straight from Commerce module rendered, not the one from current custom theme. What I could possibly miss here?

💬 Support request
Status

Fixed

Version

1.4

Component

Miscellaneous

Created by

🇭🇺Hungary betarobot

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024