I’m having problems in adding configurable product in cart on product detail page. After clicking “Add to cart” button I get a message saying that the product is out of stock. But on the product detail page I also display “In stock” value and the product is in stock. After checking the backend I can for sure say that all products are set as “In Stock” and “Enabled”. Adding simple products works with no problem though. So this problem refers only to configurable products.
When I try to add new configurable product via Backend and assign Categories to it, I get this error: Invalid method Mage_CatalogRule_Model_Rule::applyAllRulesToProduct(Array (  => 3546 ) )
Maybe that’s also related to my “Add to cart” problem.
I’m working on Magento CE v188.8.131.52.
I would really appreciate it if you could help me solve this.