Patch: Error message for out of stock and wishlist undefined fix
What's inside
- Changed logic, so that when an item in the wishlist is out of stock, an error message is outputted.
- Changed the order of the fail message to match frontend message in PWA.
- Added fix for when the wishlist is undefined.
Related to bugs scandipwa/scandipwa#2615 and scandipwa/scandipwa#2907.
That's all there is to it :)