Bastien Planel Posted February 14, 2018 Share Posted February 14, 2018 (edited) Hi everybody ! I'd like to add a field in the reduction's interface (cart_rules), BO side. The AdminCartRulesController's override was ok, but the informations.tpl's one didn't work at all. So, if anybody has any experience in dealing with this kind of work, here are some little things that I tried: -> informations.tpl (origin) : [adminfolder]/themes/default/template/controllers/cart_rules/informations.tpl -> override tried : override/controllers/admin/template/controllers/cart_rules/informations.tpl -> override tried 2 : override/controllers/admin/template/cart_rules/informations.tpl I noticed that form.tpl, who summons informations.tpl, contains this piece of code : <div id="cart_rule_informations" class="panel cart_rule_tab"> {include file='controllers/cart_rules/informations.tpl'} </div> I'm asking myself if this has an impact and, if so, how to fix it. Thanks a lot, I don't find anything relevant on the internet ^^" Edited February 15, 2018 by Bastien Planel (see edit history) Link to comment Share on other sites More sharing options...
arasheb Posted January 27, 2019 Share Posted January 27, 2019 Simply change form.tpl include file to this <div id="cart_rule_informations" class="panel cart_rule_tab"> {include file='cart_rules/informations.tpl'} </div> and put your informations.tpl to this directory override/controllers/admin/template/controllers/cart_rules/informations.tpl Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now