cancel
Showing results for 
Search instead for 
Did you mean: 

Configurable Product Variation Out of Stock

SOLVED

Configurable Product Variation Out of Stock

I have a configurable product where the variations are simple products. When one of the variations (a simple product) is out of stock, the product page is still showing the buy button. I have enabled stock management and disabled backorders.

 

Is there a way to turn off the buy button when a variation is out of stock? I'm hoping not to have to purchase an extension.

3 REPLIES

Re: Configurable Product Variation Out of Stock

@AmagArtwork

It is not a default behaviour in Magento so you may have to either customize the code yourself or buy a third party extension. 

Magento Certified Solution Specialist | Lead Magento developer
If this response was helpful to you, consider giving kudos to this post

Re: Configurable Product Variation Out of Stock

@ShoaibRehman89 

Is it possible to show all variations even if the parent is marked out of stock?

Re: Configurable Product Variation Out of Stock

@AmagArtwork

I'm afraid it's not a default functionality, however it can be done by writing a magento plugin. 

Magento Certified Solution Specialist | Lead Magento developer
If this response was helpful to you, consider giving kudos to this post