We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ab1fd6 commit c925d26Copy full SHA for c925d26
app/code/core/Mage/Catalog/Helper/Product/Flat.php
@@ -164,6 +164,20 @@ public function isAddChildData()
164
return (int) Mage::getConfig()->getNode(self::XML_NODE_ADD_CHILD_DATA);
165
}
166
167
+ /**
168
+ * Enable Catalog Product Flat
169
+ *
170
+ * @param bool $save
171
+ */
172
+ public function enableFlatCollection($save = false)
173
+ {
174
+ if ($save) {
175
+ $this->_forceFlatStatusOld = $this->_forceFlatStatus;
176
+ }
177
+
178
+ $this->_forceFlatStatus = false;
179
180
181
/**
182
* Disable Catalog Product Flat
183
*
0 commit comments