Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Enable View on inactive (status 2) products? 
 
kla0005
Member
 
Total Posts:  43
Joined:  2011-10-05
 

Hey Guys

When a product status is 2 (inative), it returns a 404 when trying to go to the product URL.

How can i remove the 404? I would like to show the product even if it is inactive.

How to?

Thanks!
- Jonatatan

 
Magento Community Magento Community
Magento Community
Magento Community
 
Ryan Sun _Kuafu
Guru
 
Total Posts:  317
Joined:  2008-11-14
FL
 

rewrite Mage_Catalog_Model_Product_Status::getVisibleStatusIds() to have disabled status in the array

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top