Skip to content

Instantly share code, notes, and snippets.

@mhhansen
Last active August 29, 2015 13:57
Show Gist options
  • Save mhhansen/9485819 to your computer and use it in GitHub Desktop.
Save mhhansen/9485819 to your computer and use it in GitHub Desktop.
MageMonkey : Bulk Export - Serialized List column value
<?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