magento
magento copied to clipboard
Hiding tablerates after onInitializeSuccess is sometimes too slow
Plugin version
4.3.0
Magento version
2.4.3-p1
PHP version
7.4
What went wrong?
We use a rather large tablerate (matrix rate) plugin for basis of MyParcel plugin. The more rates we have, the slower it becomes, obviously. Now we suffer from the MyParcel plugin sometimes not 'cleaning up' the original rates after onInitializeSuccess, as they are simply not there yet. Which causes the 'fix postcode + housenr.' form to show, and under that form, it shows the table rates, without deliveryoptions of MyParcel.
Maybe it's possible to use another trigger, besides onInitializeSuccess? Or postpone the call for a couple of ms?
Reproduction steps
- Navigate to ...
- Click on ...
- See ...
Relevant log output
No response
Additional context
No response