0

I want to include out of stock products, to my cross sell list. Currently only products in stock are displayed.

How can I change this, so that out of stock products are included?

1 Answer 1

0

OK so your solution would be here.

Copy app/code/core/Mage/Checkout/Block/Cart/Crosssell.php

Paste app/code/local/Mage/Checkout/Block/Cart/Crosssell.php

and goto _getCollection() method

and comment below line

Mage::getSingleton('cataloginventory/stock')->addInStockFilterToCollection($collection);

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.