K
K
khomaldi2021-03-31 17:59:18
MODX
khomaldi, 2021-03-31 17:59:18

How to skip plugin code execution?

hello.

There is a plugin that handles these events:

  1. case 'msOnCreateOrder'
  2. case 'OnUserSave'


what should be written in the code so that the system ignores the plugin code and just continues its work?

the way is this: the client collects the basket, clicks “Order”, the system goes to the plugin, the plugin crashes, the system does not continue to work, nothing happens on the page for the client.

You can't just disable the plugin.

Thank you :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
khomaldi, 2021-04-01
@khomaldi

They answered faster here: https://ru.stackoverflow.com/questions/1264557/How...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question