Last active
August 29, 2015 13:57
-
-
Save mhhansen/9485819 to your computer and use it in GitHub Desktop.
MageMonkey : Bulk Export - Serialized List column value
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
<?php | |
/** | |
* MageMonkey | |
* http://www.magentocommerce.com/magento-connect/ebizmarts-magemonkey-official-mailchimp-and-mandrill-integration.html | |
*/ | |
require 'app/Mage.php'; | |
if (!Mage::isInstalled()) { | |
echo "Application is not installed yet, please complete install wizard first."; | |
exit; | |
} | |
Mage::app('admin')->setUseSessionInUrl(false); | |
umask(0); | |
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | |
// replace this values 11111, 22222 with your List IDs | |
$lists = array('11111','22222'); | |
$serializedLists = serialize($lists); | |
echo $serializedLists; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment