문제

I have a little problem at my Magento 2.2.5 store. When a combination of a configurable product is not on stock, the swatch should be disabled with a red strike. But at my store no swatch is disabled, as you can see at the following screenshot:

No disabled Swatch

Actually, the Large size and green color isn't on stock. So it should be:

What is should be

Is somebody know what to do? If i want to select this combination and put it in my cart, i get the error "not on stock"

도움이 되었습니까?

해결책 2

I solved this issue by installing the following module:

https://github.com/mjankiewicz/MagentoConfigurableProduct

다른 팁

Try indexing :

  • php bin/magento indexer:reindex
  • php bin/magento cache:flush
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top