ruisonika Posted May 26, 2021 Share Posted May 26, 2021 Hello i'm having trouble with the following: In my store (prestashop1.6) in homepage i have a slider for all manufacturer (active == 1) but i don't want to show all, so i... - add a new field in ps_manufacturer (like active field) and named homepage; - changed the classes/manufacturer.php (line 178) to add the new field (homepage) '.($active ? 'WHERE m.`active` = 1 AND m.`homepage` = 1' : '' ) - in AdminManufacturersController.php (line 98) i've added 'homepage' => array( 'title' => $this->l('Enabled'), 'homepage' => 'status', 'type' => 'bool', 'align' => 'center', 'class' => 'fixed-width-xs', 'orderby' => false ) And all works well but in i don't know this? where do i change to in prestashop backoffice when i change the homepage field it submit for ps_manufacturer.homepage field???? to have the same action like active... Link to comment Share on other sites More sharing options...
ruisonika Posted June 2, 2021 Author Share Posted June 2, 2021 does no one knows something about this?🤔 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