ZiedDams Posted June 3 Posted June 3 Hello Guys , I want to build a module that add a new custom Bulk action to the products grid im using this hook $this->registerHook('actionProductGridDefinitionModifier') and in the function public function hookActionProductGridDefinitionModifier(array $params): void { $params['definition']->getBulkActions()->add( (new SubmitBulkAction('my_custom_bulk_name')) ->setName($this->l('My Button Name')) ->setOptions([ 'submit_route' => 'my_symfony_route_submition' ]) ); } But the problem is that nothing happen when i visit the products list page in the back-office. It look like im using a wrong hook name or something else. Any Help ? Share this post Link to post Share on other sites More sharing options...
Kogkalidis Posted August 9 Posted August 9 Have you checked that the hook exists in your db? Sometimes there is hook call but not all of them have been created already 🤣 Share this post Link to post 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