ocverclock Posted December 26, 2015 Share Posted December 26, 2015 Bonjour, quelqu'un a une astuce dans le backoffice pour rendre changer le fond des produits désactivés rouge ? je ne sais quelle .TPL edité. Merci Link to comment Share on other sites More sharing options...
erouvier29 Posted December 30, 2015 Share Posted December 30, 2015 Bonjour, Le TPL en question est /administration/themes/default/template/helpers/list/list_content.tpl, très générique. Sinon, moins propre mais plus simple à mon avis, vous pouvez surcharger la fonction renderList() de AdminProductsController.php: class AdminProductsController extends AdminProductsControllerCore { public function renderList() { return parent::renderList().'<script> (function() { $("table#table-product>tbody>tr").each(function(i, tr) { if ((tr = $(tr)).find("i.icon-check").hasClass("hidden")) { tr.find("td").css("background-color", "#F88").css("color", "#FFF"); tr.find("i.icon-remove").css("color", "#C22"); } }); })(); </script>'; [spam-filter] Cordialement 1 Link to comment Share on other sites More sharing options...
Oron Posted December 30, 2015 Share Posted December 30, 2015 Bonjour Je déplace votre topic dans le forum adéquate à votre demande, dans le forum Utilisation de Prestashop configuration difficultés. 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