Override Hooks In Add-On

Hey guys,

I try to override: addons/xxx/hooks/products/yyy.tpl by creating:

  • addons/xxx/overrides/hooks/products/yyy.tpl
  • addons/xxx/overrides/products/yyy.tpl

None of solutions works, what should I do? Every time I update the addon I need to change the file manually.

try to use

addons/xxx/overrides/addons/xxx/hooks/products/yyy.tpl

if it does not work, make override within other module. e.g.

addons/my_changes/overrides/addons/xxx/hooks/products/yyy.tpl