Replies: 1 comment 2 replies
-
Hello @RomsC Have you tried to use: |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello @RomsC Have you tried to use: |
Beta Was this translation helpful? Give feedback.
-
The problem
Hi,
I'm developing a module and for one of my needs I have to add some JS in the order creation page.
I need to be able to execute JS each time the cart is loaded. There's an "OrderCreateCartLoaded" event defined in an EventEmitter and used for this purpose.
However, I don't have access to this EventEmitter from my module.
The solution
Use a single EventEmitter for all the BO like in the FO with prestashop.on and prestashop.emit
Alternatives
No response
Additional context
No response
Do you plan to work on this subject?
Beta Was this translation helpful? Give feedback.
All reactions