shacker Posted June 15, 2022 Share Posted June 15, 2022 (edited) This module allows you to add a new column in the list of customers, showing the associated group and being able to filter by it. Compatible from PrestaShop 1.7.7.x> groupfilter.zip groupfilter.zip v1.1 groupfilter.zip v1.2 https://catalogo-onlinersi.net/en/home/515-show-group-in-customer-list-ps-177x.html Edited February 23, 2023 by shacker (see edit history) 1 2 Link to comment Share on other sites More sharing options...
Myo Posted December 14, 2022 Share Posted December 14, 2022 Nice, thank you. You made a mistake in the install > registerHook : return parent::install() && $this->registerHook('header') && $this->registerHook('backOfficeHeader') && $this->registerHook('actionOrderGridQueryBuilderModifier') && // It's not Order, it's Customer $this->registerHook('actionOrderFormBuilderModifier') && // Why ? $this->registerHook('actionOrderGridDefinitionModifier'); // It's not Order, it's Customer It should be : return parent::install() && $this->registerHook('header') && $this->registerHook('backOfficeHeader') && $this->registerHook('actionCustomerGridQueryBuilderModifier') && $this->registerHook('actionCustomerGridDefinitionModifier'); Link to comment Share on other sites More sharing options...
benisevme Posted January 3, 2023 Share Posted January 3, 2023 Hello, I installed this module but it didn't work. Nothing changed. Am I doing something wrong? Best Regards Link to comment Share on other sites More sharing options...
shacker Posted January 3, 2023 Author Share Posted January 3, 2023 2 hours ago, benisevme said: Hello, I installed this module but it didn't work. Nothing changed. Am I doing something wrong? Best Regards ps version? Link to comment Share on other sites More sharing options...
benisevme Posted January 3, 2023 Share Posted January 3, 2023 1 hour ago, shacker said: ps version? it is 1.7.7.5 Link to comment Share on other sites More sharing options...
shacker Posted January 3, 2023 Author Share Posted January 3, 2023 v1.1 - solved issue with hooks Hi, please redownbload the new version Link to comment Share on other sites More sharing options...
shacker Posted January 3, 2023 Author Share Posted January 3, 2023 On 12/14/2022 at 2:11 PM, Myo said: Nice, thank you. You made a mistake in the install > registerHook : return parent::install() && $this->registerHook('header') && $this->registerHook('backOfficeHeader') && $this->registerHook('actionOrderGridQueryBuilderModifier') && // It's not Order, it's Customer $this->registerHook('actionOrderFormBuilderModifier') && // Why ? $this->registerHook('actionOrderGridDefinitionModifier'); // It's not Order, it's Customer It should be : return parent::install() && $this->registerHook('header') && $this->registerHook('backOfficeHeader') && $this->registerHook('actionCustomerGridQueryBuilderModifier') && $this->registerHook('actionCustomerGridDefinitionModifier'); thanks Link to comment Share on other sites More sharing options...
benisevme Posted January 3, 2023 Share Posted January 3, 2023 44 minutes ago, shacker said: v1.1 - solved issue with hooks Hi, please redownbload the new version Thank you for the update, I downloaded the latest version and now customer group coulumn is being showed, however, no results are coming if non of the groups selected, and also if a customer belongs to group 1 and group 2 it only brings group 1 results, group 2 comes empty. Is this expected? Many thanks Link to comment Share on other sites More sharing options...
prestaconfig Posted January 4, 2023 Share Posted January 4, 2023 Hi @shacker, Thanks a lot for your module. It's work like a charm on Prestashop 1.7.6.4 with the version v1.1. Regards, Link to comment Share on other sites More sharing options...
shacker Posted February 23, 2023 Author Share Posted February 23, 2023 v1.2 - solved issue whe nfilter 1 Link to comment Share on other sites More sharing options...
benisevme Posted February 23, 2023 Share Posted February 23, 2023 (edited) 17 minutes ago, shacker said: v1.2 - solved issue whe nfilter Many thank you for this🙏 But you can only search in the group, you cannot list the members of the certain group? Am I correct? I selected a group and clicked search, id didn't bring any results Edited February 23, 2023 by benisevme (see edit history) Link to comment Share on other sites More sharing options...
benisevme Posted February 23, 2023 Share Posted February 23, 2023 1 hour ago, shacker said: v1.2 - solved issue whe nfilter I have checked the module configuration page but there is no setting for this I think, correct? 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