# Overide block double time in module?

**URL:** <https://forum.oxid-esales.com/t/overide-block-double-time-in-module/93313>\
**Category:** English forums\
**Tags:** dev-talk\
**Created:** [April 6, 2018, 9:27am UTC](https://forum.oxid-esales.com/t/overide-block-double-time-in-module/93313 "2018-04-06T09:27:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![walldemar](https://forum.oxid-esales.com/user_avatar/forum.oxid-esales.com/walldemar/32/261_2.png) [@walldemar](https://forum.oxid-esales.com/u/walldemar)\
**Post date:** [April 6, 2018, 9:27am UTC](https://forum.oxid-esales.com/t/overide-block-double-time-in-module/93313/1 "2018-04-06T09:27:59Z")

</div>

Hello!  
I have 2 questions…

First - Can I ovveride double or several times?  
For example…

1. overide block “X” in module A from template flow
2. overide block “X” in module B from template flow
3. overide block “X” in module C from template flow  
It should work?

Second  
In original flow theme there is a block A inside which there is block B (in INCLUDED tpl file).  
and now in module X i was overided block A,  
and now in module Y i want to overide block B.  
How should looks path in metadata.php in module Y to overide block B?

To visualise:  
File order.tpl has block “order\_basket” in which there is:  
[{include file=“page/checkout/inc/basketcontents.tpl” editable=false}]  
and inside this file we have block “checkout\_basketcontents\_summary”.

In module X I overided block “order\_basket”. Now in module Y i want to overide block “checkout\_basketcontents\_summary”.

Any suggestions?

---

<div class="post-metadata">

**Author:** ![vanilla\_thunder](https://forum.oxid-esales.com/user_avatar/forum.oxid-esales.com/vanilla_thunder/32/72_2.png) [@vanilla\_thunder](https://forum.oxid-esales.com/u/vanilla_thunder)\
**Post date:** [April 6, 2018, 9:33am UTC](https://forum.oxid-esales.com/t/overide-block-double-time-in-module/93313/2 "2018-04-06T09:33:16Z")

</div>

1. it will work if you are calling [{$smarty.block.parent}] in your block templates
2. just the regular way

---

<div class="post-metadata">

**Author:** ![walldemar](https://forum.oxid-esales.com/user_avatar/forum.oxid-esales.com/walldemar/32/261_2.png) [@walldemar](https://forum.oxid-esales.com/u/walldemar)\
**Post date:** [April 8, 2018, 9:16am UTC](https://forum.oxid-esales.com/t/overide-block-double-time-in-module/93313/3 "2018-04-08T09:16:49Z")

</div>

> [@vanilla\_thunder](#):
>
> just the regular way

Thanks @vanilla_thunder but answer: “just the regular way” is not precise enough for me 🙂  
Probably because i didn’t write precisely enough too.

I overrided block “order\_basket” in module X. In my overrided block i have other file included from other path. Previously it was:  
[{include file=“page/checkout/inc/basketcontents.tpl” editable=false}]  
but now i have this:  
[{include file=“page/checkout/inc/myown\_basketcontents.tpl” editable=false}]

In my “myown\_basketcontents.tpl” there is allmost the same content as is in original \*.tpl file (basketcontents.tpl - with with all original blocks, for example: ‘checkout\_basketcontents\_summary’).

Soo now if i want to override ‘checkout\_basketcontents\_summary’ block in module Y, i need to add in metadata path to:  
A. original file where is the block: ‘page/checkout/inc/basketcontents.tpl’  
B. or from module X? ‘page/checkout/inc/myown\_basketcontents.tpl’  
C. or from path to: ‘order.tpl’

Thanks for replay!

---

<div class="post-metadata">

**Author:** ![vanilla\_thunder](https://forum.oxid-esales.com/user_avatar/forum.oxid-esales.com/vanilla_thunder/32/72_2.png) [@vanilla\_thunder](https://forum.oxid-esales.com/u/vanilla_thunder)\
**Post date:** [April 8, 2018, 9:23am UTC](https://forum.oxid-esales.com/t/overide-block-double-time-in-module/93313/4 "2018-04-08T09:23:41Z")

</div>

since “page/checkout/inc/myown\_basketcontents.tpl” is your template path + name, this should be the right way

---

<div class="post-metadata">

**Author:** ![system](https://forum.oxid-esales.com/user_avatar/forum.oxid-esales.com/system/32/4245_2.png) [@system](https://forum.oxid-esales.com/u/system)\
**Post date:** [July 13, 2026, 7:41pm UTC](https://forum.oxid-esales.com/t/overide-block-double-time-in-module/93313/5 "2026-07-13T19:41:35Z")

</div>

Closed on July 13, 2026, 7:41pm UTC


