Created
March 4, 2016 15:38
-
-
Save code-poel/9214d9755316490b67fb to your computer and use it in GitHub Desktop.
Bypass the Magento Flat Catalog Settings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Notice this is NOT SAVING the setting... | |
Mage::app()->getStore()->setConfig(Mage_Catalog_Helper_Product_Flat::XML_PATH_USE_PRODUCT_FLAT, '0'); | |
// Build your collection here... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment