I am facing a strange issue. When trying reorder feature within my account page (only one product order), if the product is not in stock, it doesn't show any messages.
The cart contains no items but magento doesn't show any message telling that the product is out of stock.
Do you know how to fix this?
Thanks for your reply.
I'd like a message on cart page.
Actually, when you click on reorder button, it redirects you to cart page, but if the product is not in stock anymore, it only shows that your cart is empty without telling you that the product you tried to reorder is out of stock.
Do you know any workaround for this issue?
For the default behavior of the Magento if all products are not available in stock then the re-order button is not coming. based on your issue I think this is the issue of the default Magento or issue that came because of some custom development.
You can check the default behavior here.
If you get the solution then please, "Kudos" and "Accept as Solution" for Token of Appreciation
Thanks for your reply. Unfortunately, this is default M2 behavior (I've tested this on blank installation)... At least M2.4.1 behavior...
If anyone has a fix, I would really appreciate.