View Single Post
  #3  
Old 06-06-2017, 04:28 AM
 
kirkbauer2 kirkbauer2 is offline
 

Newbie
  
Join Date: Apr 2017
Posts: 2
 

Default Re: How to override a .twig file from another module?

OK, I updated my signature. I am trying to override the template by adding it to my own custom module (author "KB" name "TDT"). This has worked for lots of other files, for example I have both of these files in my module (in the skins/customer/modules/KB/TDT directory):

skin/customer/product/details/parts/common.extras.twig
skin/customer/product/details/parts/common.product-title.twig

And these work fine; they replace the core files in the skins/customer/product/details/parts directory.

But this file is ignored:

skins/customer/modules/KB/TDT/skin/customer/product/details/stock/body.twig

Presumably because another module that I'm using also overrides it:

skins/customer/modules/QSL/VariantsTableView/skin/customer/product/details/stock/body.twig
__________________
X-Cart 5.3.2.11
Reply With Quote