Saik Posted April 28, 2014 Share Posted April 28, 2014 Dear all, I am trying to override the admin template (cart_rules/actions.tpl and cart_rules/form.js), I copied them in "/override/controllers/admin/templates/cart_rules" but it doesn't work (for both of them). I disabled the cache, deleted all the cache, fully refreshed my browser cache, restarted my server... So I don't understand for actions.tpl I see that the form.js is included by <script type="text/javascript" src="themes/default/template/controllers/cart_rules/form.js"></script> in form.tpl, how to use the overriden one? Thank you for any clue Link to comment Share on other sites More sharing options...
vekia Posted April 28, 2014 Share Posted April 28, 2014 you use some module for this or you want to create this override manually? Link to comment Share on other sites More sharing options...
Saik Posted April 29, 2014 Author Share Posted April 29, 2014 I override those files manually, in the override forlder on the root. I also override classes/CartRules.php and it works well. Link to comment Share on other sites More sharing options...
Saik Posted May 1, 2014 Author Share Posted May 1, 2014 Hi, no idea about this problem? I think I do a simple mistake because it's a standard behavior to override those files, if anyone has a clue that would be great Thanks a lot Link to comment Share on other sites More sharing options...
Recommended Posts