Designinfo Posted July 19, 2015 Share Posted July 19, 2015 (edited) See attachment This appears in the product section in the back office. I want to remove this. Edited July 19, 2015 by info99 (see edit history) Link to comment Share on other sites More sharing options...
Dh42 Posted July 20, 2015 Share Posted July 20, 2015 As far as I know that cannot be disabled without editing the code. Link to comment Share on other sites More sharing options...
vekia Posted July 21, 2015 Share Posted July 21, 2015 you can change it with modification of tpl file your-admin-directory/themes/default/template/helpers/kpi/row.tpl there is a code: <div class="panel kpi-container"> <div class="kpi-refresh"><button class="close refresh" type="button" onclick="refresh_kpis();"><i class="process-icon-refresh" style="font-size:1em"></i></button></div> <div class="row"> {assign var='col' value=(int)(12 / $kpis|count)} {foreach from=$kpis item=i name=kpi} {if $smarty.foreach.kpi.iteration > $col+1} </div> <div class="row"> {/if} <div class="col-sm-6 col-lg-{$col}">{$i}</div> {/foreach} </div> </div> change it to: {if Tools::getValue('controller') != 'AdminProducts'} <div class="panel kpi-container"> <div class="kpi-refresh"><button class="close refresh" type="button" onclick="refresh_kpis();"><i class="process-icon-refresh" style="font-size:1em"></i></button></div> <div class="row"> {assign var='col' value=(int)(12 / $kpis|count)} {foreach from=$kpis item=i name=kpi} {if $smarty.foreach.kpi.iteration > $col+1} </div> <div class="row"> {/if} <div class="col-sm-6 col-lg-{$col}">{$i}</div> {/foreach} </div> </div> [/if} 1 Link to comment Share on other sites More sharing options...
Designinfo Posted July 21, 2015 Author Share Posted July 21, 2015 Thank you . Does this disable the module and make loading of the page faster ? Link to comment Share on other sites More sharing options...
vekia Posted July 21, 2015 Share Posted July 21, 2015 i don't think so that it will make your shop faster. maybe a little bit, but you will not see difference so, you've got troubles with page performance? Link to comment Share on other sites More sharing options...
Designinfo Posted July 22, 2015 Author Share Posted July 22, 2015 Yes , My pages load slowly in back office sometimes. Link to comment Share on other sites More sharing options...
Recommended Posts