ruisonika Posted June 2, 2021 Share Posted June 2, 2021 Hello guys, I need some help (running 1.6 version) in backoffice manufactures list i've implemented a field like active (0/1) and all works well (in ps_manufacturer i've created the field, let's says it calls homepage) but i don't know what is the file to make same action trigger like active...in backoffice in manufacturer list when i click on manufacturer active green check, it auto upgrade the ps_manufacturer.active field and i wanna do the same behaviour with new field (homepage). The behaviour is the only thing that wasn't working. Hope some help. Link to comment Share on other sites More sharing options...
ruisonika Posted June 2, 2021 Author Share Posted June 2, 2021 3 minutes ago, ndiaga said: Hi, It is easy to add a field in the table but not that easy to change its value from the code the way you are trying to do it. so you have no clue where i can digger about this? Link to comment Share on other sites More sharing options...
ruisonika Posted June 2, 2021 Author Share Posted June 2, 2021 2 minutes ago, ndiaga said: Core admin class files. Try AdminManufacturerController.php Yes i've been already ... so i changed the code to show the field 'active' => array( 'title' => $this->l('Enabled'), 'active' => 'status', 'type' => 'bool', 'align' => 'center', 'class' => 'fixed-width-xs', 'orderby' => false ), 'homepage' => array( 'title' => $this->l('Página Marcas'), 'active' => 'homepage', 'type' => 'bool', 'align' => 'center', 'class' => 'fixed-width-xs', 'orderby' => false ) but after i don't know what's trigger the update status... 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