These docs are for v20.3.44. Click to read the latest docs for v20.3.186.

Discussions

Ask a Question
Back to All

There is no current cart

What are the possible causes of eventManager.OverrideFunctionPriceInCart() returning the message There is no current cart ?

I am also seeing this message from time to time when calling the same method

No registration option selected for event XXX

I'm not unregistering any functions in the example above so am not sure why this is thrown.
What do I need to look for?