nervis26 Posted June 5, 2020 Share Posted June 5, 2020 (edited) Hi How can I create the filter of active and inactive products in a module? Edited June 7, 2020 by nervis26 solved (see edit history) Link to comment Share on other sites More sharing options...
nervis26 Posted June 6, 2020 Author Share Posted June 6, 2020 up up Link to comment Share on other sites More sharing options...
Guest Posted June 6, 2020 Share Posted June 6, 2020 No code? How do you load a product list into HelperList? Do you have orderby and filter set to true for active? Link to comment Share on other sites More sharing options...
nervis26 Posted June 7, 2020 Author Share Posted June 7, 2020 22 hours ago, Guest said: No code? How do you load a product list into HelperList? Do you have orderby and filter set to true for active? not code yes, I have filter and oderby Link to comment Share on other sites More sharing options...
Guest Posted June 7, 2020 Share Posted June 7, 2020 (edited) 'active' => array( 'title' => $this->l('Status'), 'active' => 'status', 'filter_key' => $alias.'!active', 'align' => 'text-center', 'type' => 'bool', 'class' => 'fixed-width-sm', 'orderby' => true, 'search' => true ), Edited June 7, 2020 by Guest (see edit history) Link to comment Share on other sites More sharing options...
nervis26 Posted June 7, 2020 Author Share Posted June 7, 2020 44 minutes ago, Guest said: 'active' => array( 'title' => $this->l('Status'), 'active' => 'status', 'filter_key' => $alias.'!active', 'align' => 'text-center', 'type' => 'bool', 'class' => 'fixed-width-sm', 'orderby' => true, 'search' => true ), It works perfectly thank you so much D. tengler Link to comment Share on other sites More sharing options...
Guest Posted June 7, 2020 Share Posted June 7, 2020 I gladly helped. You can give like a click on the gray heart below my posts. 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