Polythene Pam Posted March 5, 2021 Share Posted March 5, 2021 (edited) I need to show a popup message from a custom module on hook hookActionCartSave according to specific conditions. I know the hook hookActionCartSave is being executed because I'm debugging the code and the breakpoint gets executed. I don't know where to start. I'm using a custom theme. Any ideias? Tutorials? Edited March 5, 2021 by Polythene Pam (see edit history) Link to comment Share on other sites More sharing options...
ZiedDams Posted August 8, 2022 Share Posted August 8, 2022 On 3/5/2021 at 12:49 PM, Polythene Pam said: I need to show a popup message from a custom module on hook hookActionCartSave according to specific conditions. I know the hook hookActionCartSave is being executed because I'm debugging the code and the breakpoint gets executed. I don't know where to start. I'm using a custom theme. Any ideias? Tutorials? Any new sir ? Link to comment Share on other sites More sharing options...
Prestachamps Posted August 8, 2022 Share Posted August 8, 2022 Hi, You can use the following form to create the basic module with the hook: https://validator.prestashop.com/generator And following the documentation and examples from other modules, you can implement the conditions for your popup to show. https://devdocs.prestashop.com/1.7/modules/ When the hook is triggered, you need to render a template file from the module created by you with the design of the popup and assign CSS and js files. I hope that I could help. Have a nice day, Leo. 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