R4xx4r Posted August 20, 2021 Share Posted August 20, 2021 Hello and good morning, After I tried it for several hours without any success, Do you guys maybe have an hint or solution for my problem? What I wanna achieve: I have products whith the same name (different reference) which are different by some features and the customer wants an extra column in the product grid so he knows which one is the correct before he click on the link. ( I know normally you would make variants, but thats not an option for this customer ...) What I tried: hookActionAdminProductsListingFieldsModifier but I didnt get any output if i dump params or die(); so it seems that this hook is not executed, or at least its not executed as i expect it I tried the FormBuilderModifier hook this: https://github.com/PrestaShop/demo-cqrs-hooks-usage-module/blob/master/ps_democqrshooksusage.php just with the hook actionProductFormBuilderModifier also no dump and die if I call the product listing (for customer it works) manipulate core like: but here i also had some troubles and to be honest im not a fan of manipulating core files, for things like adding a simple colum How would you solve this task? Thanks in advance! Link to comment Share on other sites More sharing options...
Janett Posted August 21, 2021 Share Posted August 21, 2021 Module example here : https://github.com/Matt75/displayproductmanufacturer 1 Link to comment Share on other sites More sharing options...
R4xx4r Posted August 21, 2021 Author Share Posted August 21, 2021 7 hours ago, Janett said: Module example here : https://github.com/Matt75/displayproductmanufacturer Nice - Thank you so much! I'll take a closer look on it when I'm back at work on monday. It looks like the thing I tried, so I'll figure out what I did wrong THANK YOU! 1 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