Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Append schema to emails conditionally
Pacu25ed706e5f8d0
diff --git a/templates/templated_email/source/shared/footer.mjml b/templates/templated_email/source/shared/footer.mjmlindex 3b67202737..59e86af5f8 100644--- a/templates/templated_email/source/shared/footer.mjml+++ b/templates/templated_email/source/shared/footer.mjml@@ -19,7 +19,9 @@<mj-section css-class="no-display"><mj-column><mj-text>- <script type="application/ld+json">{{ schema_markup|safe }}</script>+ {% if schema_markup %}+ <script type="application/ld+json">{{ schema_markup|safe }}</script>+ {% endif %}</mj-text></mj-column></mj-section>