Last active
April 10, 2019 00:37
-
-
Save zainengineer/f3a6be4702f4cc3f3e82b043f679bbac to your computer and use it in GitHub Desktop.
magento 1 cheat sheet
This file contains 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
<global> | |
<session_save><![CDATA[db]]></session_save> | |
<cache> | |
<backend>database</backend> | |
</cache> | |
</global> |
This file contains 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
$collection->addAttributeToFilter('attribute_name', ['null' => 'dummy_value'], 'left'); | |
more complex | |
https://magento.stackexchange.com/a/176444 | |
->addAttributeToFilter( | |
array( | |
array('attribute'=> 'newfield','null' => 'dummy_value'), | |
array('attribute'=> 'newfield','eq' => ''), | |
), | |
'', | |
'left'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment