We want to apply a certain header and footer in the export for a reconciliation template. We can do this by creating a different style and export the template via this style bundle.
But is it also possible to give conditions to our header/footer so we can export a bundle with different templates where only one (or multiple) template(s) has(/have) that header/footer.
For example we have a style (bundle) called ‘Client bundle’ with template_A, template_B & template_C
We only want template_C to have this specific header & footer. Is there a possibility to export this client bundle with the specific header for template_C in 1 step?
For example by applying the following in our Client bundle style header:
{% if template.handle == template_C %}
....
{% endif %}
Another option is a separate style for template_C, export the template, save as document and use it in the bundle. But of course this an extra step we want to avoid.
Still it’s not printing my header nor footer in my export for Template C.
Nevertheless it would only be a partial solution as we use different margins & logo (no logo) as well for a client bundle.
I think there is no other choice than exporting this template separately and then save it as a document under ‘Documents’ and then add it to the client bundle.