cancel
Showing results for 
Search instead for 
Did you mean: 

No message out of stock reorder - Magento 2.4.1

No message out of stock reorder - Magento 2.4.1

Hello,

 

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

4 REPLIES 4

Re: No message out of stock reorder - Magento 2.4.1

Hello @j2tdesign 

 

Do you want the message on my account page or cart page?

Re: No message out of stock reorder - Magento 2.4.1

Hi @dipmegpro,

 

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?

 

Thanks

Re: No message out of stock reorder - Magento 2.4.1

Hello @j2tdesign 

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.

https://docs.magento.com/user-guide/sales/reorders-allow.html 

 

If you get the solution then please, "Kudos" and "Accept as Solution" for Token of Appreciation

 

Re: No message out of stock reorder - Magento 2.4.1

Hi @dipmegpro,

 

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.

 

Regards