# Override document template

**URL:** https://forum.shopware.com/t/override-document-template/47250
**Category:** International (English Only)
**Tags:** general
**Created:** [2. August 2017 um 11:15 UTC](https://forum.shopware.com/t/override-document-template/47250 "2017-08-02T11:15:04Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![zodysaidoo](https://avatars.discourse-cdn.com/v4/letter/z/ac8455/32.png) [@zodysaidoo](https://forum.shopware.com/u/zodysaidoo)
#### Post date: [30. März 2020 um 09:03 UTC](https://forum.shopware.com/t/override-document-template/47250/4 "2020-03-30T09:03:11Z")

</div>

How did you set the document template? Can you further explain this?

I have the problem with index.tpl

```
{extends file="parent:documents/index.tpl"}

{block name='document_index_body'}
    Test
{/block}

```

This doesnt take affect the preview and the generated document at all.

Here is another one with the same problem, that not had been solved.&nbsp;[https://forum.shopware.com/discussion/33496/extending-bare-themes-pdf-template-for-invoice](https://forum.shopware.com/discussion/33496/extending-bare-themes-pdf-template-for-invoice)

Did it as described in the documentation:&nbsp;[https://developers.shopware.com/designers-guide/edit-newsletter-and-document-templates/#edit-document-templates](https://developers.shopware.com/designers-guide/edit-newsletter-and-document-templates/#edit-document-templates)

Please help me.

---

_[View the full topic](https://forum.shopware.com/t/override-document-template/47250)._
