RetailOps_Api - Version 1.0.4

Version Notes

  • Update inventory on catalog updates

  • Increase robustness of image download process

  • Support for refunds issued to RetailOps store credit

  • Support for offline payments
  • Download this release

    Release Info

    Developer Daniel Norman
    Extension RetailOps_Api
    Version 1.0.4
    Comparing to
    See all releases


    Code changes from version 1.0.3 to 1.0.4

    app/code/community/RetailOps/Api/Model/Catalog/Adapter/Default.php CHANGED
    @@ -53,6 +53,13 @@ class RetailOps_Api_Model_Catalog_Adapter_Default extends RetailOps_Api_Model_Ca
    53
     
    54
      $product->setAttributeSetId($attributeSetId);
    55
     
     
     
     
     
     
     
     
    56
      if (!$product->getId()) {
    57
      if (empty($productData['type_id'])) {
    58
      $this->_throwException('Product type is not specified', 'product_type_not_passed');
    53
     
    54
      $product->setAttributeSetId($attributeSetId);
    55
     
    56
    + if (isset($productData['stock_data']) && is_array($productData['stock_data'])) {
    57
    + $resourceModel = Mage::getResourceModel('retailops_api/api');
    58
    + $orderQtys = $resourceModel->getRetailopsNonretrievedQtys();
    59
    + $stockObj = $resourceModel->subtractNonretrievedQtys($orderQtys, $productData['stock_data']);
    60
    + $productData['stock_data'] = $stockObj->getData();
    61
    + }
    62
    +
    63
      if (!$product->getId()) {
    64
      if (empty($productData['type_id'])) {
    65
      $this->_throwException('Product type is not specified', 'product_type_not_passed');
    app/code/community/RetailOps/Api/Model/Catalog/Adapter/Media.php CHANGED
    @@ -140,24 +140,22 @@ class RetailOps_Api_Model_Catalog_Adapter_Media extends RetailOps_Api_Model_Cata
    140
      /** @var $item RetailOps_Api_Model_Catalog_Media_Item */
    141
      foreach ($items as $item) {
    142
      $productId = $item->getProductId();
    143
    - $product = Mage::getModel('catalog/product')->load($productId);
    144
    - $product->setStoreId(0); //using default store for images import
    145
    - $gallery = $this->_getGalleryAttribute($product);
    146
      $data = json_decode($item->getMediaData(), true);
    147
    - $allImages = $this->_getResource()->getProductMedia($productId);
    148
    - $existingImageMap = array();
    149
    - foreach ($allImages as $image) {
    150
    - $existingImageMap[$image['value_id']]
    151
    - = array( 'mediakey' => $image['retailops_mediakey'], 'filename' => $image['value'] );
    152
    - }
    153
    - $sku = $product->getSku();
    154
    - $result[$sku] = array();
    155
      try {
    156
      $imageResult = array();
    157
    - $newImages = array();
    158
      foreach ($data as $newImage) {
    159
      try {
    160
    - $file = $this->_existingImage($existingImageMap, $newImage);
     
     
     
     
     
     
     
     
     
    161
     
    162
      if (!$file) {
    163
      $url = $newImage['download_url'];
    @@ -180,21 +178,37 @@ class RetailOps_Api_Model_Catalog_Adapter_Media extends RetailOps_Api_Model_Cata
    180
      throw new Exception($remoteCopyError['message']);
    181
      }
    182
     
    183
    - // Adding image to gallery
    184
    - $file = $gallery->getBackend()->addImage(
    185
    - $product,
    186
    - $fileName,
    187
    - null,
    188
    - true
    189
    - );
    190
    -
    191
    - $newImages[$file] = $newImage['mediakey'];
     
     
     
     
     
     
     
     
     
    192
      }
    193
     
    194
      $gallery->getBackend()->updateImage($product, $file, $newImage);
    195
      if (isset($newImage['types'])) {
    196
      $gallery->getBackend()->setMediaAttribute($product, $newImage['types'], $file);
    197
      }
     
     
     
     
     
     
     
    198
      } catch (Exception $e) {
    199
      $message = sprintf("Could not process image %s, error message: %s", $newImage['download_url'], $e->getMessage());
    200
      $imageResult[] = $message;
    @@ -204,12 +218,9 @@ class RetailOps_Api_Model_Catalog_Adapter_Media extends RetailOps_Api_Model_Cata
    204
      if ($imageResult) {
    205
      $result[$sku]['images'] = $imageResult;
    206
      }
    207
    - $product->save();
    208
    - $this->_updateMediaKeys($product->getId(), $newImages);
    209
      if ($item->getId()) {
    210
      $item->delete();
    211
      }
    212
    - $product->clearInstance();
    213
      } catch (Exception $e) {
    214
      $result[$sku]['general'] = $e->getMessage();
    215
      file_put_contents($errorLogPath, "{$e->getMessage()}\n", FILE_APPEND);
    @@ -324,30 +335,39 @@ class RetailOps_Api_Model_Catalog_Adapter_Media extends RetailOps_Api_Model_Cata
    324
      /**
    325
      * Get existing image filename, if any, based on mediakey and filename
    326
      *
    327
    - * @param $existingImageMap
    328
    - * @param $imageData
    329
      * @return mixed
    330
      */
    331
    - protected function _existingImage($existingImageMap, $imageData)
    332
      {
     
     
    333
      // Prioritize mediakeys. Search all existing images for mediakey before considering filename_match.
    334
    - foreach ($existingImageMap as $existingImageData) {
    335
    - if ($imageData['mediakey'] == $existingImageData['mediakey']) {
    336
    - return $existingImageData['filename'];
    337
      }
    338
      }
    339
     
    340
    - foreach ($existingImageMap as $existingImageData) {
    341
    - $fileNameMatch = preg_quote($data['filename_match'], '~');
    342
     
    343
    - if (strlen($fileNameMatch) && preg_grep('~' . $fileNameMatch . '~', $existingImageData['filename'])) {
    344
    - return $existingImageData['filename'];
    345
      }
    346
      }
    347
     
    348
      return false;
    349
      }
    350
     
     
     
     
     
     
     
     
    351
      protected function _getFileName($url, $mediakey)
    352
      {
    353
      $fileName = Varien_File_Uploader::getCorrectFileName(basename($url));
    @@ -360,23 +380,21 @@ class RetailOps_Api_Model_Catalog_Adapter_Media extends RetailOps_Api_Model_Cata
    360
      * Update product's gallery with mediakeys
    361
      *
    362
      * @param $productId
    363
    - * @param $newImages
     
    364
      */
    365
    - protected function _updateMediaKeys($productId, $newImages)
    366
      {
    367
      $allImages = Mage::getResourceModel('retailops_api/api')->getProductMedia($productId);
    368
      $dataToUpdate = array();
    369
      foreach ($allImages as $image) {
    370
    - if (isset($newImages[$image['value']])) {
    371
    - $dataToUpdate[] = array(
    372
      'value_id' => $image['value_id'],
    373
    - 'retailops_mediakey' => $newImages[$image['value']]
    374
    - );
    375
      }
    376
      }
    377
    - if ($dataToUpdate) {
    378
    - Mage::getResourceModel('retailops_api/api')->updateMediaKeys($dataToUpdate);
    379
    - }
    380
      }
    381
     
    382
      /**
    140
      /** @var $item RetailOps_Api_Model_Catalog_Media_Item */
    141
      foreach ($items as $item) {
    142
      $productId = $item->getProductId();
     
     
     
    143
      $data = json_decode($item->getMediaData(), true);
     
     
     
     
     
     
     
     
    144
      try {
    145
      $imageResult = array();
    146
    +
    147
      foreach ($data as $newImage) {
    148
      try {
    149
    + $product = Mage::getModel('catalog/product')->load($productId);
    150
    + $product->setStoreId(0); //using default store for images import
    151
    + $gallery = $this->_getGalleryAttribute($product);
    152
    + $sku = $product->getSku();
    153
    + if (!isset($result[$sku])) {
    154
    + $result[$sku] = array();
    155
    + }
    156
    +
    157
    + $isNewImage = false;
    158
    + $file = $this->_existingImage($productId, $newImage);
    159
     
    160
      if (!$file) {
    161
      $url = $newImage['download_url'];
    178
      throw new Exception($remoteCopyError['message']);
    179
      }
    180
     
    181
    + // Out of an abundance of caution, make sure that the
    182
    + // image hasn't been added to product since first check.
    183
    + // Possible if multiple scripts have kicked off cron jobs.
    184
    + $recheck_file = $this->_existingImage($productId, $newImage);
    185
    + if ($recheck_file) {
    186
    + file_put_contents($errorLogPath, "$sku: Image added to product before download completed\n", FILE_APPEND);
    187
    + $file = $recheck_file;
    188
    + }
    189
    + else {
    190
    + // Adding image to gallery
    191
    + $file = $gallery->getBackend()->addImage(
    192
    + $product,
    193
    + $fileName,
    194
    + null,
    195
    + true
    196
    + );
    197
    + $isNewImage = true;
    198
    + }
    199
      }
    200
     
    201
      $gallery->getBackend()->updateImage($product, $file, $newImage);
    202
      if (isset($newImage['types'])) {
    203
      $gallery->getBackend()->setMediaAttribute($product, $newImage['types'], $file);
    204
      }
    205
    +
    206
    + $product->save();
    207
    + if ($isNewImage) {
    208
    + $this->_updateMediaKey($product->getId(), $file, $newImage);
    209
    + }
    210
    +
    211
    + $product->clearInstance();
    212
      } catch (Exception $e) {
    213
      $message = sprintf("Could not process image %s, error message: %s", $newImage['download_url'], $e->getMessage());
    214
      $imageResult[] = $message;
    218
      if ($imageResult) {
    219
      $result[$sku]['images'] = $imageResult;
    220
      }
     
     
    221
      if ($item->getId()) {
    222
      $item->delete();
    223
      }
     
    224
      } catch (Exception $e) {
    225
      $result[$sku]['general'] = $e->getMessage();
    226
      file_put_contents($errorLogPath, "{$e->getMessage()}\n", FILE_APPEND);
    335
      /**
    336
      * Get existing image filename, if any, based on mediakey and filename
    337
      *
    338
    + * @param $productId
    339
    + * @param $newImageData
    340
      * @return mixed
    341
      */
    342
    + protected function _existingImage($productId, $newImageData)
    343
      {
    344
    + $existingImages = $this->_getResource()->getProductMedia($productId);
    345
    +
    346
      // Prioritize mediakeys. Search all existing images for mediakey before considering filename_match.
    347
    + foreach ($existingImages as $existingImage) {
    348
    + if ($newImageData['mediakey'] == $existingImage['retailops_mediakey']) {
    349
    + return $existingImage['value'];
    350
      }
    351
      }
    352
     
    353
    + foreach ($existingImages as $existingImage) {
    354
    + $fileNameMatch = preg_quote($newImageData['filename_match'], '~');
    355
     
    356
    + if (strlen($fileNameMatch) && preg_grep('~' . $fileNameMatch . '~', $existingImages['value'])) {
    357
    + return $existingImage['value'];
    358
      }
    359
      }
    360
     
    361
      return false;
    362
      }
    363
     
    364
    + /**
    365
    + * Get filename of uploaded file
    366
    + *
    367
    + * @param string $url
    368
    + * @param string $mediakey
    369
    + * @return string $filename
    370
    + */
    371
      protected function _getFileName($url, $mediakey)
    372
      {
    373
      $fileName = Varien_File_Uploader::getCorrectFileName(basename($url));
    380
      * Update product's gallery with mediakeys
    381
      *
    382
      * @param $productId
    383
    + * @param $file
    384
    + * @param $newImage
    385
      */
    386
    + protected function _updateMediaKey($productId, $file, $newImage)
    387
      {
    388
      $allImages = Mage::getResourceModel('retailops_api/api')->getProductMedia($productId);
    389
      $dataToUpdate = array();
    390
      foreach ($allImages as $image) {
    391
    + if ($image['value'] == $file) {
    392
    + Mage::getResourceModel('retailops_api/api')->updateMediaKeys(array(
    393
      'value_id' => $image['value_id'],
    394
    + 'retailops_mediakey' => $newImage['mediakey'],
    395
    + ));
    396
      }
    397
      }
     
     
     
    398
      }
    399
     
    400
      /**
    app/code/community/RetailOps/Api/Model/Catalog/Adapter/Media.php.newest~ ADDED
    @@ -0,0 +1,590 @@
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
    1
    + <?php
    2
    + /**
    3
    + The MIT License (MIT)
    4
    +
    5
    + Copyright (c) 2015 Gud Technologies Incorporated (RetailOps by GüdTech)
    6
    +
    7
    + Permission is hereby granted, free of charge, to any person obtaining a copy
    8
    + of this software and associated documentation files (the "Software"), to deal
    9
    + in the Software without restriction, including without limitation the rights
    10
    + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    11
    + copies of the Software, and to permit persons to whom the Software is
    12
    + furnished to do so, subject to the following conditions:
    13
    +
    14
    + The above copyright notice and this permission notice shall be included in
    15
    + all copies or substantial portions of the Software.
    16
    +
    17
    + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    18
    + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    19
    + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    20
    + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    21
    + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    22
    + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    23
    + THE SOFTWARE.
    24
    + */
    25
    +
    26
    + class RetailOps_Api_Model_Catalog_Adapter_Media extends RetailOps_Api_Model_Catalog_Adapter_Abstract
    27
    + {
    28
    + /**
    29
    + * Attribute code for media gallery
    30
    + */
    31
    + const ATTRIBUTE_CODE = 'media_gallery';
    32
    +
    33
    + const CRON_DOWNLOAD_LIMIT = 10;
    34
    +
    35
    + protected $_section = 'media';
    36
    +
    37
    + protected $_mediaDataToSave = array();
    38
    + protected $_straightMediaProcessing = false;
    39
    + protected $_colors = array();
    40
    + protected $_configurableAllMediaData = array();
    41
    +
    42
    + protected function _construct()
    43
    + {
    44
    + $this->_errorCodes = array(
    45
    + 'no_media_attribute' => 801,
    46
    + );
    47
    + parent::_construct();
    48
    + }
    49
    +
    50
    + /**
    51
    + * @param array $productData
    52
    + * @param Mage_Catalog_Model_Product $product
    53
    + * @return mixed|void
    54
    + */
    55
    + public function processData(array &$productData, $product)
    56
    + {
    57
    + if ($product->getId() && (!isset($productData['unset_other_media']) || $productData['unset_other_media'])) {
    58
    + $this->clearProductGallery($product);
    59
    + }
    60
    +
    61
    + if(isset($productData['attributes'])) {
    62
    + foreach($productData['attributes'] as $attributes) {
    63
    + if(strtolower($attributes['attribute_code']) == "color") {
    64
    + if($attributes['value']) {
    65
    + $color = $attributes['value'];
    66
    + }
    67
    + break;
    68
    + }
    69
    + }
    70
    + }
    71
    +
    72
    + if (isset($productData['media'])) {
    73
    + $allMediaData = array();
    74
    + $colors = array();
    75
    +
    76
    + $configSku = $productData['configurable_sku'][0];
    77
    + foreach ($productData['media'] as $mediaData) {
    78
    + $mediaData = new Varien_Object($mediaData);
    79
    + $mediaData->setColor($color);
    80
    +
    81
    + if($mediaData['position'] == '1') { $mediaData->setTag('base'); }
    82
    + if($mediaData['position'] == '2') { $mediaData->setTag('rollover'); }
    83
    + if($productData['sequence']) { $mediaData->setSequence($productData['sequence']); }
    84
    +
    85
    + Mage::dispatchEvent('retailops_catalog_media_process_before',
    86
    + array('media_data' => $mediaData));
    87
    +
    88
    + $thisMediaData = $mediaData->getData();
    89
    + $allMediaData[] = $thisMediaData;
    90
    + if ($configSku) {
    91
    + if (!isset($this->_configurableAllMediaData[$configSku])) {
    92
    + $this->_configurableAllMediaData[$configSku] = array();
    93
    + }
    94
    + $this->_configurableAllMediaData[$configSku][] = $thisMediaData;
    95
    + }
    96
    + }
    97
    +
    98
    + $this->_mediaDataToSave[$productData['sku']] = $allMediaData;
    99
    + }
    100
    + if (isset($productData['straight_media_process']) && $productData['straight_media_process']) {
    101
    + $this->_straightMediaProcessing = true;
    102
    + }
    103
    + }
    104
    +
    105
    + /**
    106
    + * @param array $skuToIdMap
    107
    + * @return $this|void
    108
    + */
    109
    + public function afterDataProcess(array &$skuToIdMap)
    110
    + {
    111
    + $this->_processMediaToSave($this->_mediaDataToSave, $skuToIdMap);
    112
    + $this->_processMediaToSave($this->_configurableAllMediaData, $skuToIdMap);
    113
    + }
    114
    +
    115
    + /**
    116
    + * Unset product image gallery
    117
    + *
    118
    + * @param $product
    119
    + */
    120
    + public function clearProductGallery($product)
    121
    + {
    122
    + $galleryData = $this->_prepareGallery($product);
    123
    +
    124
    + if (isset($galleryData['images']) && is_array($galleryData['images'])) {
    125
    + foreach ($galleryData['images'] as &$image) {
    126
    + $image['removed'] = 1;
    127
    + }
    128
    + }
    129
    +
    130
    + $product->setData(self::ATTRIBUTE_CODE, $galleryData);
    131
    + }
    132
    +
    133
    + /**
    134
    + * Download products media
    135
    + *
    136
    + * @param Varien_Object|null $item
    137
    + * @return array
    138
    + */
    139
    + public function downloadProductImages($item = null)
    140
    + {
    141
    + file_put_contents('/tmp/cron_dupe_test.log', "\npid: " . getmypid() . "\n", FILE_APPEND);
    142
    + file_put_contents('/tmp/cron_dupe_test.log', "start: " . date('r') . "\n", FILE_APPEND);
    143
    + $ioAdapter = new Varien_Io_File();
    144
    + $tmpDirectory = Mage::getBaseDir('var') . DS . 'api' . DS . uniqid();
    145
    + $ioAdapter->checkAndCreateFolder($tmpDirectory);
    146
    + $ioAdapter->open(array('path' => $tmpDirectory));
    147
    + $remoteCopyRetryLimit = 3;
    148
    + $errorLogPath = '/tmp/retailops_magento_image_error.log';
    149
    + if (!$item) {
    150
    + $items = Mage::getModel('retailops_api/catalog_media_item')->getCollection();
    151
    + $limit = $this->getHelper()->getConfig('media_processing_products_limit');
    152
    + file_put_contents('/tmp/cron_dupe_test.log', "retreiving items $limit " . date('r') . "\n", FILE_APPEND);
    153
    + if (!is_numeric($limit)) {
    154
    + $limit = self::CRON_DOWNLOAD_LIMIT;
    155
    + }
    156
    + $items->getSelect()->limit($limit);
    157
    + file_put_contents('/tmp/cron_dupe_test.log', "retreived " . count($items) . " items\n", FILE_APPEND);
    158
    + } else {
    159
    + $items = array($item);
    160
    + }
    161
    + $result = array();
    162
    + /** @var $item RetailOps_Api_Model_Catalog_Media_Item */
    163
    + foreach ($items as $item) {
    164
    + $productId = $item->getProductId();
    165
    + $data = json_decode($item->getMediaData(), true);
    166
    + try {
    167
    + $imageResult = array();
    168
    +
    169
    + file_put_contents('/tmp/cron_dupe_test.log', "$productId new images: " . var_export($data, TRUE) . "\n", FILE_APPEND);
    170
    + foreach ($data as $newImage) {
    171
    + try {
    172
    + $product = Mage::getModel('catalog/product')->load($productId);
    173
    + $product->setStoreId(0); //using default store for images import
    174
    + $gallery = $this->_getGalleryAttribute($product);
    175
    + $sku = $product->getSku();
    176
    + if (!isset($result[$sku])) {
    177
    + $result[$sku] = array();
    178
    + }
    179
    +
    180
    + $file = $this->_existingImage($productId, $newImage);
    181
    +
    182
    + if (!$file) {
    183
    + file_put_contents('/tmp/cron_dupe_test.log', "$productId downloading new image: " . var_export($newImage, TRUE) . "\n", FILE_APPEND);
    184
    + $url = $newImage['download_url'];
    185
    + if (!$this->_httpFileExists($url)) {
    186
    + Mage::throwException('Image does not exist.');
    187
    + }
    188
    + $fileName = $this->_getFileName($url, $newImage['mediakey']);
    189
    + $fileName = $tmpDirectory . DS . $fileName;
    190
    + $ioAdapter->cp($url, $fileName);
    191
    +
    192
    + $color_id = $this->_getOptionId('color', $newImage['color']);
    193
    +
    194
    + $retry = 0;
    195
    + $remoteCopySuccess = false;
    196
    + while ($retry++ < $remoteCopyRetryLimit && !$remoteCopySuccess) {
    197
    + $remoteCopySuccess = $ioAdapter->cp($url, $fileName);
    198
    + }
    199
    +
    200
    + if (!$remoteCopySuccess) {
    201
    + $remoteCopyError = error_get_last();
    202
    +
    203
    + throw new Exception($remoteCopyError['message']);
    204
    + }
    205
    +
    206
    + // Out of paranoia, make sure that image hasn't been added to product since first check
    207
    + $recheck_file = $this->_existingImage($productId, $newImage);
    208
    + if ($recheck_file) {
    209
    + file_put_contents($errorLogPath, "$sku: Image added to product before download completed\n", FILE_APPEND);
    210
    + file_put_contents('/tmp/cron_dupe_test.log', "$sku: Image added to product before download completed\n", FILE_APPEND);
    211
    + $file = $recheck_file;
    212
    + }
    213
    + else {
    214
    + file_put_contents('/tmp/cron_dupe_test.log', "$productId adding new image $fileName \n", FILE_APPEND);
    215
    + // Adding image to gallery
    216
    + $file = $gallery->getBackend()->addImage(
    217
    + $product,
    218
    + $fileName,
    219
    + null,
    220
    + true
    221
    + );
    222
    + }
    223
    + }
    224
    +
    225
    + $gallery->getBackend()->updateImage($product, $file, $newImage);
    226
    + if (isset($newImage['types'])) {
    227
    + $gallery->getBackend()->setMediaAttribute($product, $newImage['types'], $file);
    228
    + }
    229
    +
    230
    + $existingImages1 = $this->_getResource()->getProductMedia($productId);
    231
    + file_put_contents('/tmp/cron_dupe_test.log', "$productId existing before save " . var_export($existingImages1, TRUE) . "\n", FILE_APPEND);
    232
    + file_put_contents('/tmp/cron_dupe_test.log', "$productId saving product\n", FILE_APPEND);
    233
    + $product->save();
    234
    + $existingImages2 = $this->_getResource()->getProductMedia($productId);
    235
    + file_put_contents('/tmp/cron_dupe_test.log', "$productId existing after save " . var_export($existingImages2, TRUE) . "\n", FILE_APPEND);
    236
    + file_put_contents('/tmp/cron_dupe_test.log', "$productId updating media key\n", FILE_APPEND);
    237
    + $this->_updateMediaKey($product->getId(), $file, $newImage);
    238
    + $existingImages3 = $this->_getResource()->getProductMedia($productId);
    239
    + file_put_contents('/tmp/cron_dupe_test.log', "$productId existing 3 " . var_export($existingImages3, TRUE) . "\n", FILE_APPEND);
    240
    +
    241
    + $product->clearInstance();
    242
    + } catch (Exception $e) {
    243
    + $message = sprintf("Could not process image %s, error message: %s", $newImage['download_url'], $e->getMessage());
    244
    + $imageResult[] = $message;
    245
    + file_put_contents($errorLogPath, "$message\n", FILE_APPEND);
    246
    + }
    247
    + }
    248
    + if ($imageResult) {
    249
    + $result[$sku]['images'] = $imageResult;
    250
    + }
    251
    + if ($item->getId()) {
    252
    + $item->delete();
    253
    + }
    254
    + } catch (Exception $e) {
    255
    + $result[$sku]['general'] = $e->getMessage();
    256
    + file_put_contents($errorLogPath, "{$e->getMessage()}\n", FILE_APPEND);
    257
    + }
    258
    + }
    259
    +
    260
    + // Apply CJM dropdown values
    261
    + // $this->_applyCjmValues($items);
    262
    +
    263
    + // Remove temporary directory
    264
    + $ioAdapter->rmdir($tmpDirectory, true);
    265
    +
    266
    + return $result;
    267
    + }
    268
    +
    269
    + /**
    270
    + * Apply CJM Color Swatch values to new downloaded images
    271
    + *
    272
    + * @param Varien_Object|null $item
    273
    + */
    274
    + protected function _applyCjmValues($items)
    275
    + {
    276
    +
    277
    + $cjmImageswitcher = array();
    278
    + $cjmMouseover = array();
    279
    + $cjmMoreviews = array();
    280
    + $colors = array();
    281
    + $count = 0;
    282
    +
    283
    + foreach ($items as $item) {
    284
    + $productId = $item->getProductId();
    285
    + $product = Mage::getModel('catalog/product')->load($productId);
    286
    + $product->setStoreId(0);
    287
    + $gallery = $this->_getGalleryAttribute($product);
    288
    + $allImages = $this->_getResource()->getProductEntityMedia($productId);
    289
    +
    290
    + foreach($allImages as $image) {
    291
    +
    292
    + unset($base);
    293
    + unset($rollover);
    294
    +
    295
    + // update image type radio buttons based on sequence and tags
    296
    + if($image['sequence'] === "1" && $image['tag'] == 'base') {
    297
    + $base = array('image'=>$image['value'], 'thumbnail'=>$image['value'], 'small_image'=>$image['value']);
    298
    + Mage::getSingleton('catalog/product_action')->updateAttributes(array($product->getId()), $base, 0);
    299
    + } elseif($image['sequence'] === "1" && $image['tag'] == 'rollover') {
    300
    + $rollover = array('over_image'=>$image['value']);
    301
    + Mage::getSingleton('catalog/product_action')->updateAttributes(array($product->getId()), $rollover, 0);
    302
    + }
    303
    +
    304
    + // update position
    305
    + $gallery->getBackend()->updateImage(
    306
    + $product,
    307
    + $image['value'],
    308
    + array('position' => $image['position'])
    309
    + );
    310
    + $product->getResource()->saveAttribute($product, 'media_gallery');
    311
    +
    312
    + // update CJM dropdown color values
    313
    + $color = $image['color'];
    314
    + $tag = $image['tag'];
    315
    + $valueId = $image['value_id'];
    316
    + $colorId = $this->_getOptionId("color", $color);
    317
    +
    318
    + $cjmMoreviews[$valueId] = $colorId;
    319
    +
    320
    + if (strpos($tag,'base') !== false) {
    321
    + $cjmImageswitcher[$valueId] = $colorId;
    322
    + } else {
    323
    + $cjmImageswitcher[$valueId] = '';
    324
    + }
    325
    + if (strpos($tag,'rollover') !== false) {
    326
    + $cjmMouseover[$valueId] = $colorId;
    327
    + } else {
    328
    + $cjmMouseover[$valueId] = '';
    329
    + }
    330
    +
    331
    + }
    332
    +
    333
    + $product->setCjmImageswitcher(serialize($cjmImageswitcher));
    334
    + $product->setCjmMoreviews(serialize($cjmMoreviews));
    335
    + $product->setCjmMouseover(serialize($cjmMouseover));
    336
    +
    337
    + try {
    338
    + $product->save();
    339
    + } catch (Exception $e) {
    340
    + Mage::logException($e);
    341
    + }
    342
    + }
    343
    + }
    344
    +
    345
    + /**
    346
    + * Save media data collected in processData and save to DB
    347
    + *
    348
    + * @param Array $mediaToSave
    349
    + * @param Array $skuIdToMap
    350
    + */
    351
    + protected function _processMediaToSave($mediaToSave, $skuToIdMap) {
    352
    + if ($mediaToSave) {
    353
    + foreach ($mediaToSave as $sku => $data) {
    354
    + $productId = $skuToIdMap[$sku];
    355
    + $dataToSave['media_data'] = json_encode($data);
    356
    + $dataToSave['product_id'] = $productId;
    357
    + $item = Mage::getModel('retailops_api/catalog_media_item')->setData($dataToSave);
    358
    + if (!$this->_straightMediaProcessing) {
    359
    + $item->save();
    360
    + } else {
    361
    + $this->downloadProductImages($item);
    362
    + }
    363
    + }
    364
    + }
    365
    + }
    366
    +
    367
    +
    368
    + /**
    369
    + * @param Mage_Catalog_Model_Product $product
    370
    + * @return array
    371
    + */
    372
    + public function outputData($product)
    373
    + {
    374
    + $galleryData = $this->_prepareGallery($product);
    375
    + $data = array();
    376
    + $data['media'] = array();
    377
    +
    378
    + if (!isset($galleryData['images']) || !is_array($galleryData['images'])) {
    379
    + return $data;
    380
    + }
    381
    +
    382
    + $result = array();
    383
    + $mediaWithMediaKey = $this->_getResource()->getProductMedia($product->getId());
    384
    + $valueIdToMediaKey = array();
    385
    + foreach ($mediaWithMediaKey as $media) {
    386
    + $valueIdToMediaKey[$media['value_id']] = $media['retailops_mediakey'];
    387
    + }
    388
    + foreach ($galleryData['images'] as &$image) {
    389
    + if (!empty($valueIdToMediaKey[$image['value_id']])) {
    390
    + $image['mediakey'] = $valueIdToMediaKey[$image['value_id']];
    391
    + }
    392
    + $result[] = $this->_imageToArray($image, $product);
    393
    + }
    394
    +
    395
    + $data['media'] = $result;
    396
    +
    397
    + return $data;
    398
    + }
    399
    +
    400
    + /**
    401
    + * Converts image to api array data
    402
    + *
    403
    + * @param array $image
    404
    + * @param Mage_Catalog_Model_Product $product
    405
    + * @return array
    406
    + */
    407
    + protected function _imageToArray(&$image, $product)
    408
    + {
    409
    + $result = array(
    410
    + 'file' => $image['file'],
    411
    + 'label' => $image['label'],
    412
    + 'position' => $image['position'],
    413
    + 'exclude' => $image['disabled'],
    414
    + 'mediakey' => $image['mediakey'],
    415
    + 'url' => $this->_getMediaConfig()->getMediaUrl($image['file']),
    416
    + 'types' => array()
    417
    + );
    418
    +
    419
    +
    420
    + foreach ($product->getMediaAttributes() as $attribute) {
    421
    + if ($product->getData($attribute->getAttributeCode()) == $image['file']) {
    422
    + $result['types'][] = $attribute->getAttributeCode();
    423
    + }
    424
    + }
    425
    +
    426
    + return $result;
    427
    + }
    428
    +
    429
    + /**
    430
    + * Retrieve media config
    431
    + *
    432
    + * @return Mage_Catalog_Model_Product_Media_Config
    433
    + */
    434
    + protected function _getMediaConfig()
    435
    + {
    436
    + return Mage::getSingleton('catalog/product_media_config');
    437
    + }
    438
    +
    439
    + /**
    440
    + * Prepare product's gallery data
    441
    + *
    442
    + * @param $product
    443
    + * @return mixed
    444
    + */
    445
    + protected function _prepareGallery($product)
    446
    + {
    447
    + $gallery = $this->_getGalleryAttribute($product);
    448
    + $gallery->getBackend()->afterLoad($product);
    449
    + $galleryData = $product->getData(self::ATTRIBUTE_CODE);
    450
    +
    451
    + return $galleryData;
    452
    + }
    453
    +
    454
    + /**
    455
    + * Check if image download url is valid
    456
    + *
    457
    + * @param $url
    458
    + * @return bool
    459
    + */
    460
    + protected function _httpFileExists($url)
    461
    + {
    462
    + $headers = @get_headers($url);
    463
    +
    464
    + return !(strpos($headers[0], '200') === false);
    465
    + }
    466
    +
    467
    + /**
    468
    + * Get existing image filename, if any, based on mediakey and filename
    469
    + *
    470
    + * @param $productId
    471
    + * @param $imageData
    472
    + * @return mixed
    473
    + */
    474
    + protected function _existingImage($productId, $newImageData)
    475
    + {
    476
    + $existingImages = $this->_getResource()->getProductMedia($productId);
    477
    + file_put_contents('/tmp/cron_dupe_test.log', "$productId _existingImage existing images " . var_export($existingImages, TRUE) . "\n", FILE_APPEND);
    478
    + file_put_contents('/tmp/cron_dupe_test.log', "$productId _existingImage new image data " . var_export($newImageData, TRUE) . "\n", FILE_APPEND);
    479
    +
    480
    + // Prioritize mediakeys. Search all existing images for mediakey before considering filename_match.
    481
    + foreach ($existingImages as $existingImage) {
    482
    + if ($newImageData['mediakey'] == $existingImage['retailops_mediakey']) {
    483
    + file_put_contents('/tmp/cron_dupe_test.log', "$productId _existingImage matched mediakey {$newImageData['mediakey']}\n", FILE_APPEND);
    484
    + return $existingImage['value'];
    485
    + }
    486
    + }
    487
    +
    488
    + foreach ($existingImages as $existingImage) {
    489
    + $fileNameMatch = preg_quote($newImageData['filename_match'], '~');
    490
    +
    491
    + if (strlen($fileNameMatch) && preg_grep('~' . $fileNameMatch . '~', $existingImages['value'])) {
    492
    + file_put_contents('/tmp/cron_dupe_test.log', "$productId _existingImage matched filename {$existingImage['value']}\n", FILE_APPEND);
    493
    + return $existingImage['value'];
    494
    + }
    495
    + }
    496
    +
    497
    + return false;
    498
    + }
    499
    +
    500
    + /**
    501
    + * Get filename of uploaded file
    502
    + *
    503
    + * @param string $url
    504
    + * @param string $mediakey
    505
    + * @return string $filename
    506
    + */
    507
    + protected function _getFileName($url, $mediakey)
    508
    + {
    509
    + $fileName = Varien_File_Uploader::getCorrectFileName(basename($url));
    510
    + $fileName = trim($fileName, '_');
    511
    +
    512
    + return $fileName;
    513
    + }
    514
    +
    515
    + /**
    516
    + * Update product's gallery with mediakeys
    517
    + *
    518
    + * @param $productId
    519
    + * @param $file
    520
    + * @param $newImage
    521
    + */
    522
    + protected function _updateMediaKey($productId, $file, $newImage)
    523
    + {
    524
    + $allImages = Mage::getResourceModel('retailops_api/api')->getProductMedia($productId);
    525
    + file_put_contents('/tmp/cron_dupe_test.log', "$productId _updateMediaKey all images " . var_export($allImages, TRUE) . "\n", FILE_APPEND);
    526
    + file_put_contents('/tmp/cron_dupe_test.log', "$productId _updateMediaKey file $file\n", FILE_APPEND);
    527
    + file_put_contents('/tmp/cron_dupe_test.log', "$productId _updateMediaKey new image " . var_export($newImage, TRUE) . "\n", FILE_APPEND);
    528
    + $dataToUpdate = array();
    529
    + foreach ($allImages as $image) {
    530
    + if ($image['value'] == $file) {
    531
    + file_put_contents('/tmp/cron_dupe_test.log', "$productId _updateMediaKey updating mediakey\n", FILE_APPEND);
    532
    + Mage::getResourceModel('retailops_api/api')->updateMediaKeys(array(
    533
    + 'value_id' => $image['value_id'],
    534
    + 'retailops_mediakey' => $newImage['mediakey'],
    535
    + // 'color' => $newImage['color'],
    536
    + // 'tag' => $newImage['tag'],
    537
    + // 'sequence' => $newImage['sequence'],
    538
    + // 'position' => $newImage['position'],
    539
    + ));
    540
    + }
    541
    + }
    542
    + }
    543
    +
    544
    + /**
    545
    + * Retrieve gallery attribute from product
    546
    + *
    547
    + * @param Mage_Catalog_Model_Product $product
    548
    + * @param Mage_Catalog_Model_Resource_Eav_Mysql4_Attribute|boolean
    549
    + */
    550
    + protected function _getGalleryAttribute($product)
    551
    + {
    552
    + $attributes = $product->getTypeInstance(true)
    553
    + ->getSetAttributes($product);
    554
    +
    555
    + if (!isset($attributes[self::ATTRIBUTE_CODE])) {
    556
    + $this->_throwException('Product has no media attribute', 'no_media_attribute');
    557
    + }
    558
    +
    559
    + return $attributes[self::ATTRIBUTE_CODE];
    560
    + }
    561
    +
    562
    + /**
    563
    + * Case sensitive option ID lookup by attribute label
    564
    + *
    565
    + * @param string $attribute_code
    566
    + * @param string $label
    567
    + * @return string Option ID
    568
    + */
    569
    + protected function _getOptionId($attribute_code, $label)
    570
    + {
    571
    + $attribute_model = Mage::getModel('eav/entity_attribute');
    572
    + $attribute_options_model= Mage::getModel('eav/entity_attribute_source_table') ;
    573
    + $attribute_code = $attribute_model->getIdByCode('catalog_product', $attribute_code);
    574
    + $attribute = $attribute_model->load($attribute_code);
    575
    +
    576
    + $attribute_table = $attribute_options_model->setAttribute($attribute);
    577
    + $options = $attribute_options_model->getAllOptions(false);
    578
    +
    579
    + foreach($options as $option)
    580
    + {
    581
    + if ($option['label'] == $label)
    582
    + {
    583
    + $optionId = $option['value'];
    584
    + break;
    585
    + }
    586
    + }
    587
    + return $optionId;
    588
    + }
    589
    +
    590
    + }
    app/code/community/RetailOps/Api/Model/Catalog/Adapter/media_cron.php~ ADDED
    @@ -0,0 +1,8 @@
     
     
     
     
     
     
     
     
    1
    + <?php
    2
    +
    3
    + require_once ‘app/Mage.php’;
    4
    + Mage::app();
    5
    +
    6
    + $model = Mage::getModel(‘retailops_api/observer::downloadProductImages’);
    7
    +
    8
    + $model->run();
    app/code/community/RetailOps/Api/Model/Catalog/Adapter/media_debug.log~ ADDED
    @@ -0,0 +1,4115 @@
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
    1
    + downloadProductImages existingImageMap: array (
    2
    + )
    3
    + downloadProductImages existingImageMap: array (
    4
    + 165438 =>
    5
    + array (
    6
    + 'mediakey' => NULL,
    7
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1.jpg',
    8
    + ),
    9
    + 165439 =>
    10
    + array (
    11
    + 'mediakey' => NULL,
    12
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1.jpg',
    13
    + ),
    14
    + 165440 =>
    15
    + array (
    16
    + 'mediakey' => NULL,
    17
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1.jpg',
    18
    + ),
    19
    + 165441 =>
    20
    + array (
    21
    + 'mediakey' => NULL,
    22
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1.jpg',
    23
    + ),
    24
    + 165442 =>
    25
    + array (
    26
    + 'mediakey' => NULL,
    27
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1.jpg',
    28
    + ),
    29
    + )
    30
    + downloadProductImages adding to existingImageMap:
    31
    + downloadProductImages adding to existingImageMap:
    32
    + downloadProductImages adding to existingImageMap:
    33
    + downloadProductImages adding to existingImageMap:
    34
    + downloadProductImages adding to existingImageMap:
    35
    + downloadProductImages existingImageMap: array (
    36
    + 165443 =>
    37
    + array (
    38
    + 'mediakey' => NULL,
    39
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_1.jpg',
    40
    + ),
    41
    + 165444 =>
    42
    + array (
    43
    + 'mediakey' => NULL,
    44
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_1.jpg',
    45
    + ),
    46
    + 165445 =>
    47
    + array (
    48
    + 'mediakey' => NULL,
    49
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_1.jpg',
    50
    + ),
    51
    + 165446 =>
    52
    + array (
    53
    + 'mediakey' => NULL,
    54
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_1.jpg',
    55
    + ),
    56
    + 165447 =>
    57
    + array (
    58
    + 'mediakey' => NULL,
    59
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_1.jpg',
    60
    + ),
    61
    + )
    62
    + downloadProductImages adding to existingImageMap:
    63
    + downloadProductImages adding to existingImageMap:
    64
    + downloadProductImages adding to existingImageMap:
    65
    + downloadProductImages adding to existingImageMap:
    66
    + downloadProductImages adding to existingImageMap:
    67
    + downloadProductImages existingImageMap: array (
    68
    + 165448 =>
    69
    + array (
    70
    + 'mediakey' => NULL,
    71
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_2.jpg',
    72
    + ),
    73
    + 165449 =>
    74
    + array (
    75
    + 'mediakey' => NULL,
    76
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_2.jpg',
    77
    + ),
    78
    + 165450 =>
    79
    + array (
    80
    + 'mediakey' => NULL,
    81
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_2.jpg',
    82
    + ),
    83
    + 165451 =>
    84
    + array (
    85
    + 'mediakey' => NULL,
    86
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_2.jpg',
    87
    + ),
    88
    + 165452 =>
    89
    + array (
    90
    + 'mediakey' => NULL,
    91
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_2.jpg',
    92
    + ),
    93
    + )
    94
    + downloadProductImages adding to existingImageMap:
    95
    + downloadProductImages adding to existingImageMap:
    96
    + downloadProductImages adding to existingImageMap:
    97
    + downloadProductImages adding to existingImageMap:
    98
    + downloadProductImages adding to existingImageMap:
    99
    + downloadProductImages existingImageMap: array (
    100
    + 165453 =>
    101
    + array (
    102
    + 'mediakey' => NULL,
    103
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_3.jpg',
    104
    + ),
    105
    + 165454 =>
    106
    + array (
    107
    + 'mediakey' => NULL,
    108
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_3.jpg',
    109
    + ),
    110
    + 165455 =>
    111
    + array (
    112
    + 'mediakey' => NULL,
    113
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_3.jpg',
    114
    + ),
    115
    + 165456 =>
    116
    + array (
    117
    + 'mediakey' => NULL,
    118
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_3.jpg',
    119
    + ),
    120
    + 165457 =>
    121
    + array (
    122
    + 'mediakey' => NULL,
    123
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_3.jpg',
    124
    + ),
    125
    + )
    126
    + downloadProductImages adding to existingImageMap:
    127
    + downloadProductImages adding to existingImageMap:
    128
    + downloadProductImages adding to existingImageMap:
    129
    + downloadProductImages adding to existingImageMap:
    130
    + downloadProductImages adding to existingImageMap:
    131
    + downloadProductImages existingImageMap: array (
    132
    + 165458 =>
    133
    + array (
    134
    + 'mediakey' => NULL,
    135
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_4.jpg',
    136
    + ),
    137
    + 165459 =>
    138
    + array (
    139
    + 'mediakey' => NULL,
    140
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_4.jpg',
    141
    + ),
    142
    + 165460 =>
    143
    + array (
    144
    + 'mediakey' => NULL,
    145
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_4.jpg',
    146
    + ),
    147
    + 165461 =>
    148
    + array (
    149
    + 'mediakey' => NULL,
    150
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_4.jpg',
    151
    + ),
    152
    + 165462 =>
    153
    + array (
    154
    + 'mediakey' => NULL,
    155
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_4.jpg',
    156
    + ),
    157
    + )
    158
    + downloadProductImages adding to existingImageMap:
    159
    + downloadProductImages adding to existingImageMap:
    160
    + downloadProductImages adding to existingImageMap:
    161
    + downloadProductImages adding to existingImageMap:
    162
    + downloadProductImages adding to existingImageMap:
    163
    + downloadProductImages existingImageMap: array (
    164
    + )
    165
    + downloadProductImages adding to existingImageMap:
    166
    + downloadProductImages adding to existingImageMap:
    167
    + downloadProductImages adding to existingImageMap:
    168
    + downloadProductImages adding to existingImageMap:
    169
    + downloadProductImages adding to existingImageMap:
    170
    + downloadProductImages adding to existingImageMap:
    171
    + downloadProductImages adding to existingImageMap:
    172
    + downloadProductImages adding to existingImageMap:
    173
    + downloadProductImages adding to existingImageMap:
    174
    + downloadProductImages adding to existingImageMap:
    175
    + downloadProductImages adding to existingImageMap:
    176
    + downloadProductImages adding to existingImageMap:
    177
    + downloadProductImages adding to existingImageMap:
    178
    + downloadProductImages adding to existingImageMap:
    179
    + downloadProductImages adding to existingImageMap:
    180
    + downloadProductImages adding to existingImageMap:
    181
    + downloadProductImages adding to existingImageMap:
    182
    + downloadProductImages adding to existingImageMap:
    183
    + downloadProductImages adding to existingImageMap:
    184
    + downloadProductImages adding to existingImageMap:
    185
    + downloadProductImages adding to existingImageMap:
    186
    + downloadProductImages adding to existingImageMap:
    187
    + downloadProductImages adding to existingImageMap:
    188
    + downloadProductImages adding to existingImageMap:
    189
    + downloadProductImages adding to existingImageMap:
    190
    +
    191
    +
    192
    +
    193
    +
    194
    +
    195
    +
    196
    +
    197
    +
    198
    +
    199
    +
    200
    +
    201
    +
    202
    +
    203
    +
    204
    +
    205
    +
    206
    +
    207
    +
    208
    +
    209
    +
    210
    +
    211
    +
    212
    + downloadProductImages existingImageMap: array (
    213
    + )
    214
    + downloadProductImages existingImageMap: array (
    215
    + 165438 =>
    216
    + array (
    217
    + 'mediakey' => NULL,
    218
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1.jpg',
    219
    + ),
    220
    + 165439 =>
    221
    + array (
    222
    + 'mediakey' => NULL,
    223
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1.jpg',
    224
    + ),
    225
    + 165440 =>
    226
    + array (
    227
    + 'mediakey' => NULL,
    228
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1.jpg',
    229
    + ),
    230
    + 165441 =>
    231
    + array (
    232
    + 'mediakey' => NULL,
    233
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1.jpg',
    234
    + ),
    235
    + 165442 =>
    236
    + array (
    237
    + 'mediakey' => NULL,
    238
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1.jpg',
    239
    + ),
    240
    + 166585 =>
    241
    + array (
    242
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    243
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_6.jpg',
    244
    + ),
    245
    + 166586 =>
    246
    + array (
    247
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    248
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_6.jpg',
    249
    + ),
    250
    + 166587 =>
    251
    + array (
    252
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    253
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_6.jpg',
    254
    + ),
    255
    + 166588 =>
    256
    + array (
    257
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    258
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_6.jpg',
    259
    + ),
    260
    + 166589 =>
    261
    + array (
    262
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    263
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_6.jpg',
    264
    + ),
    265
    + )
    266
    + downloadProductImages existingImageMap: array (
    267
    + 165443 =>
    268
    + array (
    269
    + 'mediakey' => NULL,
    270
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_1.jpg',
    271
    + ),
    272
    + 165444 =>
    273
    + array (
    274
    + 'mediakey' => NULL,
    275
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_1.jpg',
    276
    + ),
    277
    + 165445 =>
    278
    + array (
    279
    + 'mediakey' => NULL,
    280
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_1.jpg',
    281
    + ),
    282
    + 165446 =>
    283
    + array (
    284
    + 'mediakey' => NULL,
    285
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_1.jpg',
    286
    + ),
    287
    + 165447 =>
    288
    + array (
    289
    + 'mediakey' => NULL,
    290
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_1.jpg',
    291
    + ),
    292
    + 166590 =>
    293
    + array (
    294
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    295
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_7.jpg',
    296
    + ),
    297
    + 166591 =>
    298
    + array (
    299
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    300
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_7.jpg',
    301
    + ),
    302
    + 166592 =>
    303
    + array (
    304
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    305
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_7.jpg',
    306
    + ),
    307
    + 166593 =>
    308
    + array (
    309
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    310
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_7.jpg',
    311
    + ),
    312
    + 166594 =>
    313
    + array (
    314
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    315
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_7.jpg',
    316
    + ),
    317
    + )
    318
    + downloadProductImages existingImageMap: array (
    319
    + 165448 =>
    320
    + array (
    321
    + 'mediakey' => NULL,
    322
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_2.jpg',
    323
    + ),
    324
    + 165449 =>
    325
    + array (
    326
    + 'mediakey' => NULL,
    327
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_2.jpg',
    328
    + ),
    329
    + 165450 =>
    330
    + array (
    331
    + 'mediakey' => NULL,
    332
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_2.jpg',
    333
    + ),
    334
    + 165451 =>
    335
    + array (
    336
    + 'mediakey' => NULL,
    337
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_2.jpg',
    338
    + ),
    339
    + 165452 =>
    340
    + array (
    341
    + 'mediakey' => NULL,
    342
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_2.jpg',
    343
    + ),
    344
    + 166595 =>
    345
    + array (
    346
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    347
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_8.jpg',
    348
    + ),
    349
    + 166596 =>
    350
    + array (
    351
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    352
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_8.jpg',
    353
    + ),
    354
    + 166597 =>
    355
    + array (
    356
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    357
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_8.jpg',
    358
    + ),
    359
    + 166598 =>
    360
    + array (
    361
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    362
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_8.jpg',
    363
    + ),
    364
    + 166599 =>
    365
    + array (
    366
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    367
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_8.jpg',
    368
    + ),
    369
    + )
    370
    + downloadProductImages existingImageMap: array (
    371
    + 165453 =>
    372
    + array (
    373
    + 'mediakey' => NULL,
    374
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_3.jpg',
    375
    + ),
    376
    + 165454 =>
    377
    + array (
    378
    + 'mediakey' => NULL,
    379
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_3.jpg',
    380
    + ),
    381
    + 165455 =>
    382
    + array (
    383
    + 'mediakey' => NULL,
    384
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_3.jpg',
    385
    + ),
    386
    + 165456 =>
    387
    + array (
    388
    + 'mediakey' => NULL,
    389
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_3.jpg',
    390
    + ),
    391
    + 165457 =>
    392
    + array (
    393
    + 'mediakey' => NULL,
    394
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_3.jpg',
    395
    + ),
    396
    + 166600 =>
    397
    + array (
    398
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    399
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_9.jpg',
    400
    + ),
    401
    + 166601 =>
    402
    + array (
    403
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    404
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_9.jpg',
    405
    + ),
    406
    + 166602 =>
    407
    + array (
    408
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    409
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_9.jpg',
    410
    + ),
    411
    + 166603 =>
    412
    + array (
    413
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    414
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_9.jpg',
    415
    + ),
    416
    + 166604 =>
    417
    + array (
    418
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    419
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_9.jpg',
    420
    + ),
    421
    + )
    422
    + downloadProductImages existingImageMap: array (
    423
    + 165458 =>
    424
    + array (
    425
    + 'mediakey' => NULL,
    426
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_4.jpg',
    427
    + ),
    428
    + 165459 =>
    429
    + array (
    430
    + 'mediakey' => NULL,
    431
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_4.jpg',
    432
    + ),
    433
    + 165460 =>
    434
    + array (
    435
    + 'mediakey' => NULL,
    436
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_4.jpg',
    437
    + ),
    438
    + 165461 =>
    439
    + array (
    440
    + 'mediakey' => NULL,
    441
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_4.jpg',
    442
    + ),
    443
    + 165462 =>
    444
    + array (
    445
    + 'mediakey' => NULL,
    446
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_4.jpg',
    447
    + ),
    448
    + 166605 =>
    449
    + array (
    450
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    451
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_10.jpg',
    452
    + ),
    453
    + 166606 =>
    454
    + array (
    455
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    456
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_10.jpg',
    457
    + ),
    458
    + 166607 =>
    459
    + array (
    460
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    461
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_10.jpg',
    462
    + ),
    463
    + 166608 =>
    464
    + array (
    465
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    466
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_10.jpg',
    467
    + ),
    468
    + 166609 =>
    469
    + array (
    470
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    471
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_10.jpg',
    472
    + ),
    473
    + )
    474
    + downloadProductImages existingImageMap: array (
    475
    + )
    476
    + downloadProductImages adding to existingImageMap: X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg
    477
    + downloadProductImages adding to existingImageMap: nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo
    478
    + downloadProductImages adding to existingImageMap: sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7
    479
    + downloadProductImages adding to existingImageMap: ytycVVXLTs7BzU84E01Wqy92KEkKS7LT
    480
    + downloadProductImages adding to existingImageMap: ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW
    481
    + downloadProductImages adding to existingImageMap: X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg
    482
    + downloadProductImages adding to existingImageMap: nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo
    483
    + downloadProductImages adding to existingImageMap: sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7
    484
    + downloadProductImages adding to existingImageMap: ytycVVXLTs7BzU84E01Wqy92KEkKS7LT
    485
    + downloadProductImages adding to existingImageMap: ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW
    486
    + downloadProductImages adding to existingImageMap: X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg
    487
    + downloadProductImages adding to existingImageMap: nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo
    488
    + downloadProductImages adding to existingImageMap: sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7
    489
    + downloadProductImages adding to existingImageMap: ytycVVXLTs7BzU84E01Wqy92KEkKS7LT
    490
    + downloadProductImages adding to existingImageMap: ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW
    491
    + downloadProductImages adding to existingImageMap: X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg
    492
    + downloadProductImages adding to existingImageMap: nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo
    493
    + downloadProductImages adding to existingImageMap: sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7
    494
    + downloadProductImages adding to existingImageMap: ytycVVXLTs7BzU84E01Wqy92KEkKS7LT
    495
    + downloadProductImages adding to existingImageMap: ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW
    496
    + downloadProductImages adding to existingImageMap: X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg
    497
    + downloadProductImages adding to existingImageMap: nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo
    498
    + downloadProductImages adding to existingImageMap: sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7
    499
    + downloadProductImages adding to existingImageMap: ytycVVXLTs7BzU84E01Wqy92KEkKS7LT
    500
    + downloadProductImages adding to existingImageMap: ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW
    501
    +
    502
    +
    503
    +
    504
    +
    505
    +
    506
    +
    507
    +
    508
    +
    509
    +
    510
    +
    511
    +
    512
    +
    513
    +
    514
    + downloadProductImages existingImageMap: array (
    515
    + )
    516
    + downloadProductImages existingImageMap: array (
    517
    + 165438 =>
    518
    + array (
    519
    + 'mediakey' => NULL,
    520
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1.jpg',
    521
    + ),
    522
    + 165439 =>
    523
    + array (
    524
    + 'mediakey' => NULL,
    525
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1.jpg',
    526
    + ),
    527
    + 165440 =>
    528
    + array (
    529
    + 'mediakey' => NULL,
    530
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1.jpg',
    531
    + ),
    532
    + 165441 =>
    533
    + array (
    534
    + 'mediakey' => NULL,
    535
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1.jpg',
    536
    + ),
    537
    + 165442 =>
    538
    + array (
    539
    + 'mediakey' => NULL,
    540
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1.jpg',
    541
    + ),
    542
    + 166585 =>
    543
    + array (
    544
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    545
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_6.jpg',
    546
    + ),
    547
    + 166586 =>
    548
    + array (
    549
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    550
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_6.jpg',
    551
    + ),
    552
    + 166587 =>
    553
    + array (
    554
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    555
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_6.jpg',
    556
    + ),
    557
    + 166588 =>
    558
    + array (
    559
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    560
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_6.jpg',
    561
    + ),
    562
    + 166589 =>
    563
    + array (
    564
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    565
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_6.jpg',
    566
    + ),
    567
    + )
    568
    + downloadProductImages existingImageMap: array (
    569
    + 165443 =>
    570
    + array (
    571
    + 'mediakey' => NULL,
    572
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_1.jpg',
    573
    + ),
    574
    + 165444 =>
    575
    + array (
    576
    + 'mediakey' => NULL,
    577
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_1.jpg',
    578
    + ),
    579
    + 165445 =>
    580
    + array (
    581
    + 'mediakey' => NULL,
    582
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_1.jpg',
    583
    + ),
    584
    + 165446 =>
    585
    + array (
    586
    + 'mediakey' => NULL,
    587
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_1.jpg',
    588
    + ),
    589
    + 165447 =>
    590
    + array (
    591
    + 'mediakey' => NULL,
    592
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_1.jpg',
    593
    + ),
    594
    + 166590 =>
    595
    + array (
    596
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    597
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_7.jpg',
    598
    + ),
    599
    + 166591 =>
    600
    + array (
    601
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    602
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_7.jpg',
    603
    + ),
    604
    + 166592 =>
    605
    + array (
    606
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    607
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_7.jpg',
    608
    + ),
    609
    + 166593 =>
    610
    + array (
    611
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    612
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_7.jpg',
    613
    + ),
    614
    + 166594 =>
    615
    + array (
    616
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    617
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_7.jpg',
    618
    + ),
    619
    + )
    620
    + downloadProductImages existingImageMap: array (
    621
    + 165448 =>
    622
    + array (
    623
    + 'mediakey' => NULL,
    624
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_2.jpg',
    625
    + ),
    626
    + 165449 =>
    627
    + array (
    628
    + 'mediakey' => NULL,
    629
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_2.jpg',
    630
    + ),
    631
    + 165450 =>
    632
    + array (
    633
    + 'mediakey' => NULL,
    634
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_2.jpg',
    635
    + ),
    636
    + 165451 =>
    637
    + array (
    638
    + 'mediakey' => NULL,
    639
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_2.jpg',
    640
    + ),
    641
    + 165452 =>
    642
    + array (
    643
    + 'mediakey' => NULL,
    644
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_2.jpg',
    645
    + ),
    646
    + 166595 =>
    647
    + array (
    648
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    649
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_8.jpg',
    650
    + ),
    651
    + 166596 =>
    652
    + array (
    653
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    654
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_8.jpg',
    655
    + ),
    656
    + 166597 =>
    657
    + array (
    658
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    659
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_8.jpg',
    660
    + ),
    661
    + 166598 =>
    662
    + array (
    663
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    664
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_8.jpg',
    665
    + ),
    666
    + 166599 =>
    667
    + array (
    668
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    669
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_8.jpg',
    670
    + ),
    671
    + )
    672
    + downloadProductImages existingImageMap: array (
    673
    + 165453 =>
    674
    + array (
    675
    + 'mediakey' => NULL,
    676
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_3.jpg',
    677
    + ),
    678
    + 165454 =>
    679
    + array (
    680
    + 'mediakey' => NULL,
    681
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_3.jpg',
    682
    + ),
    683
    + 165455 =>
    684
    + array (
    685
    + 'mediakey' => NULL,
    686
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_3.jpg',
    687
    + ),
    688
    + 165456 =>
    689
    + array (
    690
    + 'mediakey' => NULL,
    691
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_3.jpg',
    692
    + ),
    693
    + 165457 =>
    694
    + array (
    695
    + 'mediakey' => NULL,
    696
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_3.jpg',
    697
    + ),
    698
    + 166600 =>
    699
    + array (
    700
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    701
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_9.jpg',
    702
    + ),
    703
    + 166601 =>
    704
    + array (
    705
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    706
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_9.jpg',
    707
    + ),
    708
    + 166602 =>
    709
    + array (
    710
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    711
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_9.jpg',
    712
    + ),
    713
    + 166603 =>
    714
    + array (
    715
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    716
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_9.jpg',
    717
    + ),
    718
    + 166604 =>
    719
    + array (
    720
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    721
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_9.jpg',
    722
    + ),
    723
    + )
    724
    + downloadProductImages existingImageMap: array (
    725
    + 165458 =>
    726
    + array (
    727
    + 'mediakey' => NULL,
    728
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_4.jpg',
    729
    + ),
    730
    + 165459 =>
    731
    + array (
    732
    + 'mediakey' => NULL,
    733
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_4.jpg',
    734
    + ),
    735
    + 165460 =>
    736
    + array (
    737
    + 'mediakey' => NULL,
    738
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_4.jpg',
    739
    + ),
    740
    + 165461 =>
    741
    + array (
    742
    + 'mediakey' => NULL,
    743
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_4.jpg',
    744
    + ),
    745
    + 165462 =>
    746
    + array (
    747
    + 'mediakey' => NULL,
    748
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_4.jpg',
    749
    + ),
    750
    + 166605 =>
    751
    + array (
    752
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    753
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_10.jpg',
    754
    + ),
    755
    + 166606 =>
    756
    + array (
    757
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    758
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_10.jpg',
    759
    + ),
    760
    + 166607 =>
    761
    + array (
    762
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    763
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_10.jpg',
    764
    + ),
    765
    + 166608 =>
    766
    + array (
    767
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    768
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_10.jpg',
    769
    + ),
    770
    + 166609 =>
    771
    + array (
    772
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    773
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_10.jpg',
    774
    + ),
    775
    + )
    776
    + downloadProductImages existingImageMap: array (
    777
    + )
    778
    + downloadProductImages adding to existingImageMap: X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg
    779
    + downloadProductImages new file: /X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_13.jpg
    780
    + downloadProductImages adding to existingImageMap: nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo
    781
    + downloadProductImages new file: /n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_13.jpg
    782
    + downloadProductImages adding to existingImageMap: sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7
    783
    + downloadProductImages new file: /s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_13.jpg
    784
    + downloadProductImages adding to existingImageMap: ytycVVXLTs7BzU84E01Wqy92KEkKS7LT
    785
    + downloadProductImages new file: /y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_13.jpg
    786
    + downloadProductImages adding to existingImageMap: ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW
    787
    + downloadProductImages new file: /A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_13.jpg
    788
    + downloadProductImages adding to existingImageMap: X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg
    789
    + downloadProductImages new file: /X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_13_1.jpg
    790
    + downloadProductImages adding to existingImageMap: nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo
    791
    + downloadProductImages new file: /n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_13_1.jpg
    792
    + downloadProductImages adding to existingImageMap: sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7
    793
    + downloadProductImages new file: /s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_13_1.jpg
    794
    + downloadProductImages adding to existingImageMap: ytycVVXLTs7BzU84E01Wqy92KEkKS7LT
    795
    + downloadProductImages new file: /y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_13_1.jpg
    796
    + downloadProductImages adding to existingImageMap: ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW
    797
    + downloadProductImages new file: /A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_13_1.jpg
    798
    + downloadProductImages adding to existingImageMap: X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg
    799
    + downloadProductImages new file: /X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_13_2.jpg
    800
    + downloadProductImages adding to existingImageMap: nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo
    801
    + downloadProductImages new file: /n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_13_2.jpg
    802
    + downloadProductImages adding to existingImageMap: sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7
    803
    + downloadProductImages new file: /s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_13_2.jpg
    804
    + downloadProductImages adding to existingImageMap: ytycVVXLTs7BzU84E01Wqy92KEkKS7LT
    805
    + downloadProductImages new file: /y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_13_2.jpg
    806
    + downloadProductImages adding to existingImageMap: ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW
    807
    + downloadProductImages new file: /A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_13_2.jpg
    808
    + downloadProductImages adding to existingImageMap: X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg
    809
    + downloadProductImages new file: /X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_13_3.jpg
    810
    + downloadProductImages adding to existingImageMap: nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo
    811
    + downloadProductImages new file: /n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_13_3.jpg
    812
    + downloadProductImages adding to existingImageMap: sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7
    813
    + downloadProductImages new file: /s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_13_3.jpg
    814
    + downloadProductImages adding to existingImageMap: ytycVVXLTs7BzU84E01Wqy92KEkKS7LT
    815
    + downloadProductImages new file: /y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_13_3.jpg
    816
    + downloadProductImages adding to existingImageMap: ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW
    817
    + downloadProductImages new file: /A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_13_3.jpg
    818
    + downloadProductImages adding to existingImageMap: X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg
    819
    + downloadProductImages new file: /X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_13_4.jpg
    820
    + downloadProductImages adding to existingImageMap: nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo
    821
    + downloadProductImages new file: /n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_13_4.jpg
    822
    + downloadProductImages adding to existingImageMap: sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7
    823
    + downloadProductImages new file: /s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_13_4.jpg
    824
    + downloadProductImages adding to existingImageMap: ytycVVXLTs7BzU84E01Wqy92KEkKS7LT
    825
    + downloadProductImages new file: /y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_13_4.jpg
    826
    + downloadProductImages adding to existingImageMap: ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW
    827
    + downloadProductImages new file: /A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_13_4.jpg
    828
    +
    829
    +
    830
    +
    831
    +
    832
    +
    833
    +
    834
    +
    835
    +
    836
    +
    837
    +
    838
    +
    839
    +
    840
    +
    841
    +
    842
    + downloadProductImages existingImageMap: array (
    843
    + )
    844
    + downloadProductImages existingImageMap: array (
    845
    + 165438 =>
    846
    + array (
    847
    + 'mediakey' => NULL,
    848
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1.jpg',
    849
    + ),
    850
    + 165439 =>
    851
    + array (
    852
    + 'mediakey' => NULL,
    853
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1.jpg',
    854
    + ),
    855
    + 165440 =>
    856
    + array (
    857
    + 'mediakey' => NULL,
    858
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1.jpg',
    859
    + ),
    860
    + 165441 =>
    861
    + array (
    862
    + 'mediakey' => NULL,
    863
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1.jpg',
    864
    + ),
    865
    + 165442 =>
    866
    + array (
    867
    + 'mediakey' => NULL,
    868
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1.jpg',
    869
    + ),
    870
    + 166585 =>
    871
    + array (
    872
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    873
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_6.jpg',
    874
    + ),
    875
    + 166586 =>
    876
    + array (
    877
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    878
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_6.jpg',
    879
    + ),
    880
    + 166587 =>
    881
    + array (
    882
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    883
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_6.jpg',
    884
    + ),
    885
    + 166588 =>
    886
    + array (
    887
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    888
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_6.jpg',
    889
    + ),
    890
    + 166589 =>
    891
    + array (
    892
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    893
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_6.jpg',
    894
    + ),
    895
    + )
    896
    + _existingImage map: array (
    897
    + 165438 =>
    898
    + array (
    899
    + 'mediakey' => NULL,
    900
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1.jpg',
    901
    + ),
    902
    + 165439 =>
    903
    + array (
    904
    + 'mediakey' => NULL,
    905
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1.jpg',
    906
    + ),
    907
    + 165440 =>
    908
    + array (
    909
    + 'mediakey' => NULL,
    910
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1.jpg',
    911
    + ),
    912
    + 165441 =>
    913
    + array (
    914
    + 'mediakey' => NULL,
    915
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1.jpg',
    916
    + ),
    917
    + 165442 =>
    918
    + array (
    919
    + 'mediakey' => NULL,
    920
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1.jpg',
    921
    + ),
    922
    + 166585 =>
    923
    + array (
    924
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    925
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_6.jpg',
    926
    + ),
    927
    + 166586 =>
    928
    + array (
    929
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    930
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_6.jpg',
    931
    + ),
    932
    + 166587 =>
    933
    + array (
    934
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    935
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_6.jpg',
    936
    + ),
    937
    + 166588 =>
    938
    + array (
    939
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    940
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_6.jpg',
    941
    + ),
    942
    + 166589 =>
    943
    + array (
    944
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    945
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_6.jpg',
    946
    + ),
    947
    + )
    948
    + _existingImage new data: array (
    949
    + 'types' =>
    950
    + array (
    951
    + 0 => 'image',
    952
    + 1 => 'small_image',
    953
    + 2 => 'thumbnail',
    954
    + ),
    955
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1.jpg',
    956
    + 'file' =>
    957
    + array (
    958
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 1',
    959
    + ),
    960
    + 'position' => 1,
    961
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    962
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    963
    + 'extra' =>
    964
    + array (
    965
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    966
    + ),
    967
    + 'exclude' => 0,
    968
    + 'color' => 'LIGHT GRAY',
    969
    + 'tag' => 'base',
    970
    + 'sequence' => 1,
    971
    + )
    972
    + _existingImage map: array (
    973
    + 165438 =>
    974
    + array (
    975
    + 'mediakey' => NULL,
    976
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1.jpg',
    977
    + ),
    978
    + 165439 =>
    979
    + array (
    980
    + 'mediakey' => NULL,
    981
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1.jpg',
    982
    + ),
    983
    + 165440 =>
    984
    + array (
    985
    + 'mediakey' => NULL,
    986
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1.jpg',
    987
    + ),
    988
    + 165441 =>
    989
    + array (
    990
    + 'mediakey' => NULL,
    991
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1.jpg',
    992
    + ),
    993
    + 165442 =>
    994
    + array (
    995
    + 'mediakey' => NULL,
    996
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1.jpg',
    997
    + ),
    998
    + 166585 =>
    999
    + array (
    1000
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    1001
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_6.jpg',
    1002
    + ),
    1003
    + 166586 =>
    1004
    + array (
    1005
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    1006
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_6.jpg',
    1007
    + ),
    1008
    + 166587 =>
    1009
    + array (
    1010
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    1011
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_6.jpg',
    1012
    + ),
    1013
    + 166588 =>
    1014
    + array (
    1015
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    1016
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_6.jpg',
    1017
    + ),
    1018
    + 166589 =>
    1019
    + array (
    1020
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    1021
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_6.jpg',
    1022
    + ),
    1023
    + )
    1024
    + _existingImage new data: array (
    1025
    + 'types' =>
    1026
    + array (
    1027
    + ),
    1028
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1.jpg',
    1029
    + 'file' =>
    1030
    + array (
    1031
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 3',
    1032
    + ),
    1033
    + 'position' => 3,
    1034
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    1035
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    1036
    + 'extra' =>
    1037
    + array (
    1038
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    1039
    + ),
    1040
    + 'exclude' => 0,
    1041
    + 'color' => 'LIGHT GRAY',
    1042
    + 'sequence' => 1,
    1043
    + )
    1044
    + _existingImage map: array (
    1045
    + 165438 =>
    1046
    + array (
    1047
    + 'mediakey' => NULL,
    1048
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1.jpg',
    1049
    + ),
    1050
    + 165439 =>
    1051
    + array (
    1052
    + 'mediakey' => NULL,
    1053
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1.jpg',
    1054
    + ),
    1055
    + 165440 =>
    1056
    + array (
    1057
    + 'mediakey' => NULL,
    1058
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1.jpg',
    1059
    + ),
    1060
    + 165441 =>
    1061
    + array (
    1062
    + 'mediakey' => NULL,
    1063
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1.jpg',
    1064
    + ),
    1065
    + 165442 =>
    1066
    + array (
    1067
    + 'mediakey' => NULL,
    1068
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1.jpg',
    1069
    + ),
    1070
    + 166585 =>
    1071
    + array (
    1072
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    1073
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_6.jpg',
    1074
    + ),
    1075
    + 166586 =>
    1076
    + array (
    1077
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    1078
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_6.jpg',
    1079
    + ),
    1080
    + 166587 =>
    1081
    + array (
    1082
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    1083
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_6.jpg',
    1084
    + ),
    1085
    + 166588 =>
    1086
    + array (
    1087
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    1088
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_6.jpg',
    1089
    + ),
    1090
    + 166589 =>
    1091
    + array (
    1092
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    1093
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_6.jpg',
    1094
    + ),
    1095
    + )
    1096
    + _existingImage new data: array (
    1097
    + 'types' =>
    1098
    + array (
    1099
    + ),
    1100
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1.jpg',
    1101
    + 'file' =>
    1102
    + array (
    1103
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 7',
    1104
    + ),
    1105
    + 'position' => 5,
    1106
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    1107
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    1108
    + 'extra' =>
    1109
    + array (
    1110
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    1111
    + ),
    1112
    + 'exclude' => 0,
    1113
    + 'color' => 'LIGHT GRAY',
    1114
    + 'sequence' => 1,
    1115
    + )
    1116
    + _existingImage map: array (
    1117
    + 165438 =>
    1118
    + array (
    1119
    + 'mediakey' => NULL,
    1120
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1.jpg',
    1121
    + ),
    1122
    + 165439 =>
    1123
    + array (
    1124
    + 'mediakey' => NULL,
    1125
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1.jpg',
    1126
    + ),
    1127
    + 165440 =>
    1128
    + array (
    1129
    + 'mediakey' => NULL,
    1130
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1.jpg',
    1131
    + ),
    1132
    + 165441 =>
    1133
    + array (
    1134
    + 'mediakey' => NULL,
    1135
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1.jpg',
    1136
    + ),
    1137
    + 165442 =>
    1138
    + array (
    1139
    + 'mediakey' => NULL,
    1140
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1.jpg',
    1141
    + ),
    1142
    + 166585 =>
    1143
    + array (
    1144
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    1145
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_6.jpg',
    1146
    + ),
    1147
    + 166586 =>
    1148
    + array (
    1149
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    1150
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_6.jpg',
    1151
    + ),
    1152
    + 166587 =>
    1153
    + array (
    1154
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    1155
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_6.jpg',
    1156
    + ),
    1157
    + 166588 =>
    1158
    + array (
    1159
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    1160
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_6.jpg',
    1161
    + ),
    1162
    + 166589 =>
    1163
    + array (
    1164
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    1165
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_6.jpg',
    1166
    + ),
    1167
    + )
    1168
    + _existingImage new data: array (
    1169
    + 'types' =>
    1170
    + array (
    1171
    + 0 => 'over_image',
    1172
    + ),
    1173
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1.jpg',
    1174
    + 'file' =>
    1175
    + array (
    1176
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 2',
    1177
    + ),
    1178
    + 'position' => 2,
    1179
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    1180
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    1181
    + 'extra' =>
    1182
    + array (
    1183
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    1184
    + ),
    1185
    + 'exclude' => 0,
    1186
    + 'color' => 'LIGHT GRAY',
    1187
    + 'tag' => 'rollover',
    1188
    + 'sequence' => 1,
    1189
    + )
    1190
    + _existingImage map: array (
    1191
    + 165438 =>
    1192
    + array (
    1193
    + 'mediakey' => NULL,
    1194
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1.jpg',
    1195
    + ),
    1196
    + 165439 =>
    1197
    + array (
    1198
    + 'mediakey' => NULL,
    1199
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1.jpg',
    1200
    + ),
    1201
    + 165440 =>
    1202
    + array (
    1203
    + 'mediakey' => NULL,
    1204
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1.jpg',
    1205
    + ),
    1206
    + 165441 =>
    1207
    + array (
    1208
    + 'mediakey' => NULL,
    1209
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1.jpg',
    1210
    + ),
    1211
    + 165442 =>
    1212
    + array (
    1213
    + 'mediakey' => NULL,
    1214
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1.jpg',
    1215
    + ),
    1216
    + 166585 =>
    1217
    + array (
    1218
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    1219
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_6.jpg',
    1220
    + ),
    1221
    + 166586 =>
    1222
    + array (
    1223
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    1224
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_6.jpg',
    1225
    + ),
    1226
    + 166587 =>
    1227
    + array (
    1228
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    1229
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_6.jpg',
    1230
    + ),
    1231
    + 166588 =>
    1232
    + array (
    1233
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    1234
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_6.jpg',
    1235
    + ),
    1236
    + 166589 =>
    1237
    + array (
    1238
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    1239
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_6.jpg',
    1240
    + ),
    1241
    + )
    1242
    + _existingImage new data: array (
    1243
    + 'types' =>
    1244
    + array (
    1245
    + ),
    1246
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1.jpg',
    1247
    + 'file' =>
    1248
    + array (
    1249
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 5',
    1250
    + ),
    1251
    + 'position' => 4,
    1252
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    1253
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    1254
    + 'extra' =>
    1255
    + array (
    1256
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    1257
    + ),
    1258
    + 'exclude' => 0,
    1259
    + 'color' => 'LIGHT GRAY',
    1260
    + 'sequence' => 1,
    1261
    + )
    1262
    + downloadProductImages existingImageMap: array (
    1263
    + 165443 =>
    1264
    + array (
    1265
    + 'mediakey' => NULL,
    1266
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_1.jpg',
    1267
    + ),
    1268
    + 165444 =>
    1269
    + array (
    1270
    + 'mediakey' => NULL,
    1271
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_1.jpg',
    1272
    + ),
    1273
    + 165445 =>
    1274
    + array (
    1275
    + 'mediakey' => NULL,
    1276
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_1.jpg',
    1277
    + ),
    1278
    + 165446 =>
    1279
    + array (
    1280
    + 'mediakey' => NULL,
    1281
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_1.jpg',
    1282
    + ),
    1283
    + 165447 =>
    1284
    + array (
    1285
    + 'mediakey' => NULL,
    1286
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_1.jpg',
    1287
    + ),
    1288
    + 166590 =>
    1289
    + array (
    1290
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    1291
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_7.jpg',
    1292
    + ),
    1293
    + 166591 =>
    1294
    + array (
    1295
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    1296
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_7.jpg',
    1297
    + ),
    1298
    + 166592 =>
    1299
    + array (
    1300
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    1301
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_7.jpg',
    1302
    + ),
    1303
    + 166593 =>
    1304
    + array (
    1305
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    1306
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_7.jpg',
    1307
    + ),
    1308
    + 166594 =>
    1309
    + array (
    1310
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    1311
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_7.jpg',
    1312
    + ),
    1313
    + )
    1314
    + _existingImage map: array (
    1315
    + 165443 =>
    1316
    + array (
    1317
    + 'mediakey' => NULL,
    1318
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_1.jpg',
    1319
    + ),
    1320
    + 165444 =>
    1321
    + array (
    1322
    + 'mediakey' => NULL,
    1323
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_1.jpg',
    1324
    + ),
    1325
    + 165445 =>
    1326
    + array (
    1327
    + 'mediakey' => NULL,
    1328
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_1.jpg',
    1329
    + ),
    1330
    + 165446 =>
    1331
    + array (
    1332
    + 'mediakey' => NULL,
    1333
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_1.jpg',
    1334
    + ),
    1335
    + 165447 =>
    1336
    + array (
    1337
    + 'mediakey' => NULL,
    1338
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_1.jpg',
    1339
    + ),
    1340
    + 166590 =>
    1341
    + array (
    1342
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    1343
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_7.jpg',
    1344
    + ),
    1345
    + 166591 =>
    1346
    + array (
    1347
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    1348
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_7.jpg',
    1349
    + ),
    1350
    + 166592 =>
    1351
    + array (
    1352
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    1353
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_7.jpg',
    1354
    + ),
    1355
    + 166593 =>
    1356
    + array (
    1357
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    1358
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_7.jpg',
    1359
    + ),
    1360
    + 166594 =>
    1361
    + array (
    1362
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    1363
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_7.jpg',
    1364
    + ),
    1365
    + )
    1366
    + _existingImage new data: array (
    1367
    + 'types' =>
    1368
    + array (
    1369
    + 0 => 'image',
    1370
    + 1 => 'small_image',
    1371
    + 2 => 'thumbnail',
    1372
    + ),
    1373
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1.jpg',
    1374
    + 'file' =>
    1375
    + array (
    1376
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 1',
    1377
    + ),
    1378
    + 'position' => 1,
    1379
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    1380
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    1381
    + 'extra' =>
    1382
    + array (
    1383
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    1384
    + ),
    1385
    + 'exclude' => 0,
    1386
    + 'color' => 'LIGHT GRAY',
    1387
    + 'tag' => 'base',
    1388
    + 'sequence' => 1,
    1389
    + )
    1390
    + _existingImage map: array (
    1391
    + 165443 =>
    1392
    + array (
    1393
    + 'mediakey' => NULL,
    1394
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_1.jpg',
    1395
    + ),
    1396
    + 165444 =>
    1397
    + array (
    1398
    + 'mediakey' => NULL,
    1399
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_1.jpg',
    1400
    + ),
    1401
    + 165445 =>
    1402
    + array (
    1403
    + 'mediakey' => NULL,
    1404
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_1.jpg',
    1405
    + ),
    1406
    + 165446 =>
    1407
    + array (
    1408
    + 'mediakey' => NULL,
    1409
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_1.jpg',
    1410
    + ),
    1411
    + 165447 =>
    1412
    + array (
    1413
    + 'mediakey' => NULL,
    1414
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_1.jpg',
    1415
    + ),
    1416
    + 166590 =>
    1417
    + array (
    1418
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    1419
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_7.jpg',
    1420
    + ),
    1421
    + 166591 =>
    1422
    + array (
    1423
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    1424
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_7.jpg',
    1425
    + ),
    1426
    + 166592 =>
    1427
    + array (
    1428
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    1429
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_7.jpg',
    1430
    + ),
    1431
    + 166593 =>
    1432
    + array (
    1433
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    1434
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_7.jpg',
    1435
    + ),
    1436
    + 166594 =>
    1437
    + array (
    1438
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    1439
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_7.jpg',
    1440
    + ),
    1441
    + )
    1442
    + _existingImage new data: array (
    1443
    + 'types' =>
    1444
    + array (
    1445
    + ),
    1446
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1.jpg',
    1447
    + 'file' =>
    1448
    + array (
    1449
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 3',
    1450
    + ),
    1451
    + 'position' => 3,
    1452
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    1453
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    1454
    + 'extra' =>
    1455
    + array (
    1456
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    1457
    + ),
    1458
    + 'exclude' => 0,
    1459
    + 'color' => 'LIGHT GRAY',
    1460
    + 'sequence' => 1,
    1461
    + )
    1462
    + _existingImage map: array (
    1463
    + 165443 =>
    1464
    + array (
    1465
    + 'mediakey' => NULL,
    1466
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_1.jpg',
    1467
    + ),
    1468
    + 165444 =>
    1469
    + array (
    1470
    + 'mediakey' => NULL,
    1471
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_1.jpg',
    1472
    + ),
    1473
    + 165445 =>
    1474
    + array (
    1475
    + 'mediakey' => NULL,
    1476
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_1.jpg',
    1477
    + ),
    1478
    + 165446 =>
    1479
    + array (
    1480
    + 'mediakey' => NULL,
    1481
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_1.jpg',
    1482
    + ),
    1483
    + 165447 =>
    1484
    + array (
    1485
    + 'mediakey' => NULL,
    1486
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_1.jpg',
    1487
    + ),
    1488
    + 166590 =>
    1489
    + array (
    1490
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    1491
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_7.jpg',
    1492
    + ),
    1493
    + 166591 =>
    1494
    + array (
    1495
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    1496
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_7.jpg',
    1497
    + ),
    1498
    + 166592 =>
    1499
    + array (
    1500
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    1501
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_7.jpg',
    1502
    + ),
    1503
    + 166593 =>
    1504
    + array (
    1505
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    1506
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_7.jpg',
    1507
    + ),
    1508
    + 166594 =>
    1509
    + array (
    1510
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    1511
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_7.jpg',
    1512
    + ),
    1513
    + )
    1514
    + _existingImage new data: array (
    1515
    + 'types' =>
    1516
    + array (
    1517
    + ),
    1518
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1.jpg',
    1519
    + 'file' =>
    1520
    + array (
    1521
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 7',
    1522
    + ),
    1523
    + 'position' => 5,
    1524
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    1525
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    1526
    + 'extra' =>
    1527
    + array (
    1528
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    1529
    + ),
    1530
    + 'exclude' => 0,
    1531
    + 'color' => 'LIGHT GRAY',
    1532
    + 'sequence' => 1,
    1533
    + )
    1534
    + _existingImage map: array (
    1535
    + 165443 =>
    1536
    + array (
    1537
    + 'mediakey' => NULL,
    1538
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_1.jpg',
    1539
    + ),
    1540
    + 165444 =>
    1541
    + array (
    1542
    + 'mediakey' => NULL,
    1543
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_1.jpg',
    1544
    + ),
    1545
    + 165445 =>
    1546
    + array (
    1547
    + 'mediakey' => NULL,
    1548
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_1.jpg',
    1549
    + ),
    1550
    + 165446 =>
    1551
    + array (
    1552
    + 'mediakey' => NULL,
    1553
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_1.jpg',
    1554
    + ),
    1555
    + 165447 =>
    1556
    + array (
    1557
    + 'mediakey' => NULL,
    1558
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_1.jpg',
    1559
    + ),
    1560
    + 166590 =>
    1561
    + array (
    1562
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    1563
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_7.jpg',
    1564
    + ),
    1565
    + 166591 =>
    1566
    + array (
    1567
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    1568
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_7.jpg',
    1569
    + ),
    1570
    + 166592 =>
    1571
    + array (
    1572
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    1573
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_7.jpg',
    1574
    + ),
    1575
    + 166593 =>
    1576
    + array (
    1577
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    1578
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_7.jpg',
    1579
    + ),
    1580
    + 166594 =>
    1581
    + array (
    1582
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    1583
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_7.jpg',
    1584
    + ),
    1585
    + )
    1586
    + _existingImage new data: array (
    1587
    + 'types' =>
    1588
    + array (
    1589
    + 0 => 'over_image',
    1590
    + ),
    1591
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1.jpg',
    1592
    + 'file' =>
    1593
    + array (
    1594
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 2',
    1595
    + ),
    1596
    + 'position' => 2,
    1597
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    1598
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    1599
    + 'extra' =>
    1600
    + array (
    1601
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    1602
    + ),
    1603
    + 'exclude' => 0,
    1604
    + 'color' => 'LIGHT GRAY',
    1605
    + 'tag' => 'rollover',
    1606
    + 'sequence' => 1,
    1607
    + )
    1608
    + _existingImage map: array (
    1609
    + 165443 =>
    1610
    + array (
    1611
    + 'mediakey' => NULL,
    1612
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_1.jpg',
    1613
    + ),
    1614
    + 165444 =>
    1615
    + array (
    1616
    + 'mediakey' => NULL,
    1617
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_1.jpg',
    1618
    + ),
    1619
    + 165445 =>
    1620
    + array (
    1621
    + 'mediakey' => NULL,
    1622
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_1.jpg',
    1623
    + ),
    1624
    + 165446 =>
    1625
    + array (
    1626
    + 'mediakey' => NULL,
    1627
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_1.jpg',
    1628
    + ),
    1629
    + 165447 =>
    1630
    + array (
    1631
    + 'mediakey' => NULL,
    1632
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_1.jpg',
    1633
    + ),
    1634
    + 166590 =>
    1635
    + array (
    1636
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    1637
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_7.jpg',
    1638
    + ),
    1639
    + 166591 =>
    1640
    + array (
    1641
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    1642
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_7.jpg',
    1643
    + ),
    1644
    + 166592 =>
    1645
    + array (
    1646
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    1647
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_7.jpg',
    1648
    + ),
    1649
    + 166593 =>
    1650
    + array (
    1651
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    1652
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_7.jpg',
    1653
    + ),
    1654
    + 166594 =>
    1655
    + array (
    1656
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    1657
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_7.jpg',
    1658
    + ),
    1659
    + )
    1660
    + _existingImage new data: array (
    1661
    + 'types' =>
    1662
    + array (
    1663
    + ),
    1664
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1.jpg',
    1665
    + 'file' =>
    1666
    + array (
    1667
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 5',
    1668
    + ),
    1669
    + 'position' => 4,
    1670
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    1671
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    1672
    + 'extra' =>
    1673
    + array (
    1674
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    1675
    + ),
    1676
    + 'exclude' => 0,
    1677
    + 'color' => 'LIGHT GRAY',
    1678
    + 'sequence' => 1,
    1679
    + )
    1680
    + downloadProductImages existingImageMap: array (
    1681
    + 165448 =>
    1682
    + array (
    1683
    + 'mediakey' => NULL,
    1684
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_2.jpg',
    1685
    + ),
    1686
    + 165449 =>
    1687
    + array (
    1688
    + 'mediakey' => NULL,
    1689
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_2.jpg',
    1690
    + ),
    1691
    + 165450 =>
    1692
    + array (
    1693
    + 'mediakey' => NULL,
    1694
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_2.jpg',
    1695
    + ),
    1696
    + 165451 =>
    1697
    + array (
    1698
    + 'mediakey' => NULL,
    1699
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_2.jpg',
    1700
    + ),
    1701
    + 165452 =>
    1702
    + array (
    1703
    + 'mediakey' => NULL,
    1704
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_2.jpg',
    1705
    + ),
    1706
    + 166595 =>
    1707
    + array (
    1708
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    1709
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_8.jpg',
    1710
    + ),
    1711
    + 166596 =>
    1712
    + array (
    1713
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    1714
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_8.jpg',
    1715
    + ),
    1716
    + 166597 =>
    1717
    + array (
    1718
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    1719
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_8.jpg',
    1720
    + ),
    1721
    + 166598 =>
    1722
    + array (
    1723
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    1724
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_8.jpg',
    1725
    + ),
    1726
    + 166599 =>
    1727
    + array (
    1728
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    1729
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_8.jpg',
    1730
    + ),
    1731
    + )
    1732
    + _existingImage map: array (
    1733
    + 165448 =>
    1734
    + array (
    1735
    + 'mediakey' => NULL,
    1736
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_2.jpg',
    1737
    + ),
    1738
    + 165449 =>
    1739
    + array (
    1740
    + 'mediakey' => NULL,
    1741
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_2.jpg',
    1742
    + ),
    1743
    + 165450 =>
    1744
    + array (
    1745
    + 'mediakey' => NULL,
    1746
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_2.jpg',
    1747
    + ),
    1748
    + 165451 =>
    1749
    + array (
    1750
    + 'mediakey' => NULL,
    1751
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_2.jpg',
    1752
    + ),
    1753
    + 165452 =>
    1754
    + array (
    1755
    + 'mediakey' => NULL,
    1756
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_2.jpg',
    1757
    + ),
    1758
    + 166595 =>
    1759
    + array (
    1760
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    1761
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_8.jpg',
    1762
    + ),
    1763
    + 166596 =>
    1764
    + array (
    1765
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    1766
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_8.jpg',
    1767
    + ),
    1768
    + 166597 =>
    1769
    + array (
    1770
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    1771
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_8.jpg',
    1772
    + ),
    1773
    + 166598 =>
    1774
    + array (
    1775
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    1776
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_8.jpg',
    1777
    + ),
    1778
    + 166599 =>
    1779
    + array (
    1780
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    1781
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_8.jpg',
    1782
    + ),
    1783
    + )
    1784
    + _existingImage new data: array (
    1785
    + 'types' =>
    1786
    + array (
    1787
    + 0 => 'image',
    1788
    + 1 => 'small_image',
    1789
    + 2 => 'thumbnail',
    1790
    + ),
    1791
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1.jpg',
    1792
    + 'file' =>
    1793
    + array (
    1794
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 1',
    1795
    + ),
    1796
    + 'position' => 1,
    1797
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    1798
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    1799
    + 'extra' =>
    1800
    + array (
    1801
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    1802
    + ),
    1803
    + 'exclude' => 0,
    1804
    + 'color' => 'LIGHT GRAY',
    1805
    + 'tag' => 'base',
    1806
    + 'sequence' => 1,
    1807
    + )
    1808
    + _existingImage map: array (
    1809
    + 165448 =>
    1810
    + array (
    1811
    + 'mediakey' => NULL,
    1812
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_2.jpg',
    1813
    + ),
    1814
    + 165449 =>
    1815
    + array (
    1816
    + 'mediakey' => NULL,
    1817
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_2.jpg',
    1818
    + ),
    1819
    + 165450 =>
    1820
    + array (
    1821
    + 'mediakey' => NULL,
    1822
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_2.jpg',
    1823
    + ),
    1824
    + 165451 =>
    1825
    + array (
    1826
    + 'mediakey' => NULL,
    1827
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_2.jpg',
    1828
    + ),
    1829
    + 165452 =>
    1830
    + array (
    1831
    + 'mediakey' => NULL,
    1832
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_2.jpg',
    1833
    + ),
    1834
    + 166595 =>
    1835
    + array (
    1836
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    1837
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_8.jpg',
    1838
    + ),
    1839
    + 166596 =>
    1840
    + array (
    1841
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    1842
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_8.jpg',
    1843
    + ),
    1844
    + 166597 =>
    1845
    + array (
    1846
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    1847
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_8.jpg',
    1848
    + ),
    1849
    + 166598 =>
    1850
    + array (
    1851
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    1852
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_8.jpg',
    1853
    + ),
    1854
    + 166599 =>
    1855
    + array (
    1856
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    1857
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_8.jpg',
    1858
    + ),
    1859
    + )
    1860
    + _existingImage new data: array (
    1861
    + 'types' =>
    1862
    + array (
    1863
    + ),
    1864
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1.jpg',
    1865
    + 'file' =>
    1866
    + array (
    1867
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 3',
    1868
    + ),
    1869
    + 'position' => 3,
    1870
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    1871
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    1872
    + 'extra' =>
    1873
    + array (
    1874
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    1875
    + ),
    1876
    + 'exclude' => 0,
    1877
    + 'color' => 'LIGHT GRAY',
    1878
    + 'sequence' => 1,
    1879
    + )
    1880
    + _existingImage map: array (
    1881
    + 165448 =>
    1882
    + array (
    1883
    + 'mediakey' => NULL,
    1884
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_2.jpg',
    1885
    + ),
    1886
    + 165449 =>
    1887
    + array (
    1888
    + 'mediakey' => NULL,
    1889
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_2.jpg',
    1890
    + ),
    1891
    + 165450 =>
    1892
    + array (
    1893
    + 'mediakey' => NULL,
    1894
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_2.jpg',
    1895
    + ),
    1896
    + 165451 =>
    1897
    + array (
    1898
    + 'mediakey' => NULL,
    1899
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_2.jpg',
    1900
    + ),
    1901
    + 165452 =>
    1902
    + array (
    1903
    + 'mediakey' => NULL,
    1904
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_2.jpg',
    1905
    + ),
    1906
    + 166595 =>
    1907
    + array (
    1908
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    1909
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_8.jpg',
    1910
    + ),
    1911
    + 166596 =>
    1912
    + array (
    1913
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    1914
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_8.jpg',
    1915
    + ),
    1916
    + 166597 =>
    1917
    + array (
    1918
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    1919
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_8.jpg',
    1920
    + ),
    1921
    + 166598 =>
    1922
    + array (
    1923
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    1924
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_8.jpg',
    1925
    + ),
    1926
    + 166599 =>
    1927
    + array (
    1928
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    1929
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_8.jpg',
    1930
    + ),
    1931
    + )
    1932
    + _existingImage new data: array (
    1933
    + 'types' =>
    1934
    + array (
    1935
    + ),
    1936
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1.jpg',
    1937
    + 'file' =>
    1938
    + array (
    1939
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 7',
    1940
    + ),
    1941
    + 'position' => 5,
    1942
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    1943
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    1944
    + 'extra' =>
    1945
    + array (
    1946
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    1947
    + ),
    1948
    + 'exclude' => 0,
    1949
    + 'color' => 'LIGHT GRAY',
    1950
    + 'sequence' => 1,
    1951
    + )
    1952
    + _existingImage map: array (
    1953
    + 165448 =>
    1954
    + array (
    1955
    + 'mediakey' => NULL,
    1956
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_2.jpg',
    1957
    + ),
    1958
    + 165449 =>
    1959
    + array (
    1960
    + 'mediakey' => NULL,
    1961
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_2.jpg',
    1962
    + ),
    1963
    + 165450 =>
    1964
    + array (
    1965
    + 'mediakey' => NULL,
    1966
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_2.jpg',
    1967
    + ),
    1968
    + 165451 =>
    1969
    + array (
    1970
    + 'mediakey' => NULL,
    1971
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_2.jpg',
    1972
    + ),
    1973
    + 165452 =>
    1974
    + array (
    1975
    + 'mediakey' => NULL,
    1976
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_2.jpg',
    1977
    + ),
    1978
    + 166595 =>
    1979
    + array (
    1980
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    1981
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_8.jpg',
    1982
    + ),
    1983
    + 166596 =>
    1984
    + array (
    1985
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    1986
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_8.jpg',
    1987
    + ),
    1988
    + 166597 =>
    1989
    + array (
    1990
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    1991
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_8.jpg',
    1992
    + ),
    1993
    + 166598 =>
    1994
    + array (
    1995
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    1996
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_8.jpg',
    1997
    + ),
    1998
    + 166599 =>
    1999
    + array (
    2000
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    2001
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_8.jpg',
    2002
    + ),
    2003
    + )
    2004
    + _existingImage new data: array (
    2005
    + 'types' =>
    2006
    + array (
    2007
    + 0 => 'over_image',
    2008
    + ),
    2009
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1.jpg',
    2010
    + 'file' =>
    2011
    + array (
    2012
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 2',
    2013
    + ),
    2014
    + 'position' => 2,
    2015
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    2016
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    2017
    + 'extra' =>
    2018
    + array (
    2019
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    2020
    + ),
    2021
    + 'exclude' => 0,
    2022
    + 'color' => 'LIGHT GRAY',
    2023
    + 'tag' => 'rollover',
    2024
    + 'sequence' => 1,
    2025
    + )
    2026
    + _existingImage map: array (
    2027
    + 165448 =>
    2028
    + array (
    2029
    + 'mediakey' => NULL,
    2030
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_2.jpg',
    2031
    + ),
    2032
    + 165449 =>
    2033
    + array (
    2034
    + 'mediakey' => NULL,
    2035
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_2.jpg',
    2036
    + ),
    2037
    + 165450 =>
    2038
    + array (
    2039
    + 'mediakey' => NULL,
    2040
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_2.jpg',
    2041
    + ),
    2042
    + 165451 =>
    2043
    + array (
    2044
    + 'mediakey' => NULL,
    2045
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_2.jpg',
    2046
    + ),
    2047
    + 165452 =>
    2048
    + array (
    2049
    + 'mediakey' => NULL,
    2050
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_2.jpg',
    2051
    + ),
    2052
    + 166595 =>
    2053
    + array (
    2054
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    2055
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_8.jpg',
    2056
    + ),
    2057
    + 166596 =>
    2058
    + array (
    2059
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    2060
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_8.jpg',
    2061
    + ),
    2062
    + 166597 =>
    2063
    + array (
    2064
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    2065
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_8.jpg',
    2066
    + ),
    2067
    + 166598 =>
    2068
    + array (
    2069
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    2070
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_8.jpg',
    2071
    + ),
    2072
    + 166599 =>
    2073
    + array (
    2074
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    2075
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_8.jpg',
    2076
    + ),
    2077
    + )
    2078
    + _existingImage new data: array (
    2079
    + 'types' =>
    2080
    + array (
    2081
    + ),
    2082
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1.jpg',
    2083
    + 'file' =>
    2084
    + array (
    2085
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 5',
    2086
    + ),
    2087
    + 'position' => 4,
    2088
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    2089
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    2090
    + 'extra' =>
    2091
    + array (
    2092
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    2093
    + ),
    2094
    + 'exclude' => 0,
    2095
    + 'color' => 'LIGHT GRAY',
    2096
    + 'sequence' => 1,
    2097
    + )
    2098
    + downloadProductImages existingImageMap: array (
    2099
    + 165453 =>
    2100
    + array (
    2101
    + 'mediakey' => NULL,
    2102
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_3.jpg',
    2103
    + ),
    2104
    + 165454 =>
    2105
    + array (
    2106
    + 'mediakey' => NULL,
    2107
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_3.jpg',
    2108
    + ),
    2109
    + 165455 =>
    2110
    + array (
    2111
    + 'mediakey' => NULL,
    2112
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_3.jpg',
    2113
    + ),
    2114
    + 165456 =>
    2115
    + array (
    2116
    + 'mediakey' => NULL,
    2117
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_3.jpg',
    2118
    + ),
    2119
    + 165457 =>
    2120
    + array (
    2121
    + 'mediakey' => NULL,
    2122
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_3.jpg',
    2123
    + ),
    2124
    + 166600 =>
    2125
    + array (
    2126
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    2127
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_9.jpg',
    2128
    + ),
    2129
    + 166601 =>
    2130
    + array (
    2131
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    2132
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_9.jpg',
    2133
    + ),
    2134
    + 166602 =>
    2135
    + array (
    2136
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    2137
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_9.jpg',
    2138
    + ),
    2139
    + 166603 =>
    2140
    + array (
    2141
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    2142
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_9.jpg',
    2143
    + ),
    2144
    + 166604 =>
    2145
    + array (
    2146
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    2147
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_9.jpg',
    2148
    + ),
    2149
    + )
    2150
    + _existingImage map: array (
    2151
    + 165453 =>
    2152
    + array (
    2153
    + 'mediakey' => NULL,
    2154
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_3.jpg',
    2155
    + ),
    2156
    + 165454 =>
    2157
    + array (
    2158
    + 'mediakey' => NULL,
    2159
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_3.jpg',
    2160
    + ),
    2161
    + 165455 =>
    2162
    + array (
    2163
    + 'mediakey' => NULL,
    2164
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_3.jpg',
    2165
    + ),
    2166
    + 165456 =>
    2167
    + array (
    2168
    + 'mediakey' => NULL,
    2169
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_3.jpg',
    2170
    + ),
    2171
    + 165457 =>
    2172
    + array (
    2173
    + 'mediakey' => NULL,
    2174
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_3.jpg',
    2175
    + ),
    2176
    + 166600 =>
    2177
    + array (
    2178
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    2179
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_9.jpg',
    2180
    + ),
    2181
    + 166601 =>
    2182
    + array (
    2183
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    2184
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_9.jpg',
    2185
    + ),
    2186
    + 166602 =>
    2187
    + array (
    2188
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    2189
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_9.jpg',
    2190
    + ),
    2191
    + 166603 =>
    2192
    + array (
    2193
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    2194
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_9.jpg',
    2195
    + ),
    2196
    + 166604 =>
    2197
    + array (
    2198
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    2199
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_9.jpg',
    2200
    + ),
    2201
    + )
    2202
    + _existingImage new data: array (
    2203
    + 'types' =>
    2204
    + array (
    2205
    + 0 => 'image',
    2206
    + 1 => 'small_image',
    2207
    + 2 => 'thumbnail',
    2208
    + ),
    2209
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1.jpg',
    2210
    + 'file' =>
    2211
    + array (
    2212
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 1',
    2213
    + ),
    2214
    + 'position' => 1,
    2215
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    2216
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    2217
    + 'extra' =>
    2218
    + array (
    2219
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    2220
    + ),
    2221
    + 'exclude' => 0,
    2222
    + 'color' => 'LIGHT GRAY',
    2223
    + 'tag' => 'base',
    2224
    + 'sequence' => 1,
    2225
    + )
    2226
    + _existingImage map: array (
    2227
    + 165453 =>
    2228
    + array (
    2229
    + 'mediakey' => NULL,
    2230
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_3.jpg',
    2231
    + ),
    2232
    + 165454 =>
    2233
    + array (
    2234
    + 'mediakey' => NULL,
    2235
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_3.jpg',
    2236
    + ),
    2237
    + 165455 =>
    2238
    + array (
    2239
    + 'mediakey' => NULL,
    2240
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_3.jpg',
    2241
    + ),
    2242
    + 165456 =>
    2243
    + array (
    2244
    + 'mediakey' => NULL,
    2245
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_3.jpg',
    2246
    + ),
    2247
    + 165457 =>
    2248
    + array (
    2249
    + 'mediakey' => NULL,
    2250
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_3.jpg',
    2251
    + ),
    2252
    + 166600 =>
    2253
    + array (
    2254
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    2255
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_9.jpg',
    2256
    + ),
    2257
    + 166601 =>
    2258
    + array (
    2259
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    2260
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_9.jpg',
    2261
    + ),
    2262
    + 166602 =>
    2263
    + array (
    2264
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    2265
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_9.jpg',
    2266
    + ),
    2267
    + 166603 =>
    2268
    + array (
    2269
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    2270
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_9.jpg',
    2271
    + ),
    2272
    + 166604 =>
    2273
    + array (
    2274
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    2275
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_9.jpg',
    2276
    + ),
    2277
    + )
    2278
    + _existingImage new data: array (
    2279
    + 'types' =>
    2280
    + array (
    2281
    + ),
    2282
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1.jpg',
    2283
    + 'file' =>
    2284
    + array (
    2285
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 3',
    2286
    + ),
    2287
    + 'position' => 3,
    2288
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    2289
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    2290
    + 'extra' =>
    2291
    + array (
    2292
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    2293
    + ),
    2294
    + 'exclude' => 0,
    2295
    + 'color' => 'LIGHT GRAY',
    2296
    + 'sequence' => 1,
    2297
    + )
    2298
    + _existingImage map: array (
    2299
    + 165453 =>
    2300
    + array (
    2301
    + 'mediakey' => NULL,
    2302
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_3.jpg',
    2303
    + ),
    2304
    + 165454 =>
    2305
    + array (
    2306
    + 'mediakey' => NULL,
    2307
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_3.jpg',
    2308
    + ),
    2309
    + 165455 =>
    2310
    + array (
    2311
    + 'mediakey' => NULL,
    2312
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_3.jpg',
    2313
    + ),
    2314
    + 165456 =>
    2315
    + array (
    2316
    + 'mediakey' => NULL,
    2317
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_3.jpg',
    2318
    + ),
    2319
    + 165457 =>
    2320
    + array (
    2321
    + 'mediakey' => NULL,
    2322
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_3.jpg',
    2323
    + ),
    2324
    + 166600 =>
    2325
    + array (
    2326
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    2327
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_9.jpg',
    2328
    + ),
    2329
    + 166601 =>
    2330
    + array (
    2331
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    2332
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_9.jpg',
    2333
    + ),
    2334
    + 166602 =>
    2335
    + array (
    2336
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    2337
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_9.jpg',
    2338
    + ),
    2339
    + 166603 =>
    2340
    + array (
    2341
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    2342
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_9.jpg',
    2343
    + ),
    2344
    + 166604 =>
    2345
    + array (
    2346
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    2347
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_9.jpg',
    2348
    + ),
    2349
    + )
    2350
    + _existingImage new data: array (
    2351
    + 'types' =>
    2352
    + array (
    2353
    + ),
    2354
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1.jpg',
    2355
    + 'file' =>
    2356
    + array (
    2357
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 7',
    2358
    + ),
    2359
    + 'position' => 5,
    2360
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    2361
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    2362
    + 'extra' =>
    2363
    + array (
    2364
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    2365
    + ),
    2366
    + 'exclude' => 0,
    2367
    + 'color' => 'LIGHT GRAY',
    2368
    + 'sequence' => 1,
    2369
    + )
    2370
    + _existingImage map: array (
    2371
    + 165453 =>
    2372
    + array (
    2373
    + 'mediakey' => NULL,
    2374
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_3.jpg',
    2375
    + ),
    2376
    + 165454 =>
    2377
    + array (
    2378
    + 'mediakey' => NULL,
    2379
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_3.jpg',
    2380
    + ),
    2381
    + 165455 =>
    2382
    + array (
    2383
    + 'mediakey' => NULL,
    2384
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_3.jpg',
    2385
    + ),
    2386
    + 165456 =>
    2387
    + array (
    2388
    + 'mediakey' => NULL,
    2389
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_3.jpg',
    2390
    + ),
    2391
    + 165457 =>
    2392
    + array (
    2393
    + 'mediakey' => NULL,
    2394
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_3.jpg',
    2395
    + ),
    2396
    + 166600 =>
    2397
    + array (
    2398
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    2399
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_9.jpg',
    2400
    + ),
    2401
    + 166601 =>
    2402
    + array (
    2403
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    2404
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_9.jpg',
    2405
    + ),
    2406
    + 166602 =>
    2407
    + array (
    2408
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    2409
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_9.jpg',
    2410
    + ),
    2411
    + 166603 =>
    2412
    + array (
    2413
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    2414
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_9.jpg',
    2415
    + ),
    2416
    + 166604 =>
    2417
    + array (
    2418
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    2419
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_9.jpg',
    2420
    + ),
    2421
    + )
    2422
    + _existingImage new data: array (
    2423
    + 'types' =>
    2424
    + array (
    2425
    + 0 => 'over_image',
    2426
    + ),
    2427
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1.jpg',
    2428
    + 'file' =>
    2429
    + array (
    2430
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 2',
    2431
    + ),
    2432
    + 'position' => 2,
    2433
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    2434
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    2435
    + 'extra' =>
    2436
    + array (
    2437
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    2438
    + ),
    2439
    + 'exclude' => 0,
    2440
    + 'color' => 'LIGHT GRAY',
    2441
    + 'tag' => 'rollover',
    2442
    + 'sequence' => 1,
    2443
    + )
    2444
    + _existingImage map: array (
    2445
    + 165453 =>
    2446
    + array (
    2447
    + 'mediakey' => NULL,
    2448
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_3.jpg',
    2449
    + ),
    2450
    + 165454 =>
    2451
    + array (
    2452
    + 'mediakey' => NULL,
    2453
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_3.jpg',
    2454
    + ),
    2455
    + 165455 =>
    2456
    + array (
    2457
    + 'mediakey' => NULL,
    2458
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_3.jpg',
    2459
    + ),
    2460
    + 165456 =>
    2461
    + array (
    2462
    + 'mediakey' => NULL,
    2463
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_3.jpg',
    2464
    + ),
    2465
    + 165457 =>
    2466
    + array (
    2467
    + 'mediakey' => NULL,
    2468
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_3.jpg',
    2469
    + ),
    2470
    + 166600 =>
    2471
    + array (
    2472
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    2473
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_9.jpg',
    2474
    + ),
    2475
    + 166601 =>
    2476
    + array (
    2477
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    2478
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_9.jpg',
    2479
    + ),
    2480
    + 166602 =>
    2481
    + array (
    2482
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    2483
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_9.jpg',
    2484
    + ),
    2485
    + 166603 =>
    2486
    + array (
    2487
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    2488
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_9.jpg',
    2489
    + ),
    2490
    + 166604 =>
    2491
    + array (
    2492
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    2493
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_9.jpg',
    2494
    + ),
    2495
    + )
    2496
    + _existingImage new data: array (
    2497
    + 'types' =>
    2498
    + array (
    2499
    + ),
    2500
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1.jpg',
    2501
    + 'file' =>
    2502
    + array (
    2503
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 5',
    2504
    + ),
    2505
    + 'position' => 4,
    2506
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    2507
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    2508
    + 'extra' =>
    2509
    + array (
    2510
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    2511
    + ),
    2512
    + 'exclude' => 0,
    2513
    + 'color' => 'LIGHT GRAY',
    2514
    + 'sequence' => 1,
    2515
    + )
    2516
    + downloadProductImages existingImageMap: array (
    2517
    + 165458 =>
    2518
    + array (
    2519
    + 'mediakey' => NULL,
    2520
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_4.jpg',
    2521
    + ),
    2522
    + 165459 =>
    2523
    + array (
    2524
    + 'mediakey' => NULL,
    2525
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_4.jpg',
    2526
    + ),
    2527
    + 165460 =>
    2528
    + array (
    2529
    + 'mediakey' => NULL,
    2530
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_4.jpg',
    2531
    + ),
    2532
    + 165461 =>
    2533
    + array (
    2534
    + 'mediakey' => NULL,
    2535
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_4.jpg',
    2536
    + ),
    2537
    + 165462 =>
    2538
    + array (
    2539
    + 'mediakey' => NULL,
    2540
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_4.jpg',
    2541
    + ),
    2542
    + 166605 =>
    2543
    + array (
    2544
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    2545
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_10.jpg',
    2546
    + ),
    2547
    + 166606 =>
    2548
    + array (
    2549
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    2550
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_10.jpg',
    2551
    + ),
    2552
    + 166607 =>
    2553
    + array (
    2554
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    2555
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_10.jpg',
    2556
    + ),
    2557
    + 166608 =>
    2558
    + array (
    2559
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    2560
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_10.jpg',
    2561
    + ),
    2562
    + 166609 =>
    2563
    + array (
    2564
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    2565
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_10.jpg',
    2566
    + ),
    2567
    + )
    2568
    + _existingImage map: array (
    2569
    + 165458 =>
    2570
    + array (
    2571
    + 'mediakey' => NULL,
    2572
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_4.jpg',
    2573
    + ),
    2574
    + 165459 =>
    2575
    + array (
    2576
    + 'mediakey' => NULL,
    2577
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_4.jpg',
    2578
    + ),
    2579
    + 165460 =>
    2580
    + array (
    2581
    + 'mediakey' => NULL,
    2582
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_4.jpg',
    2583
    + ),
    2584
    + 165461 =>
    2585
    + array (
    2586
    + 'mediakey' => NULL,
    2587
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_4.jpg',
    2588
    + ),
    2589
    + 165462 =>
    2590
    + array (
    2591
    + 'mediakey' => NULL,
    2592
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_4.jpg',
    2593
    + ),
    2594
    + 166605 =>
    2595
    + array (
    2596
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    2597
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_10.jpg',
    2598
    + ),
    2599
    + 166606 =>
    2600
    + array (
    2601
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    2602
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_10.jpg',
    2603
    + ),
    2604
    + 166607 =>
    2605
    + array (
    2606
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    2607
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_10.jpg',
    2608
    + ),
    2609
    + 166608 =>
    2610
    + array (
    2611
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    2612
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_10.jpg',
    2613
    + ),
    2614
    + 166609 =>
    2615
    + array (
    2616
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    2617
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_10.jpg',
    2618
    + ),
    2619
    + )
    2620
    + _existingImage new data: array (
    2621
    + 'types' =>
    2622
    + array (
    2623
    + 0 => 'image',
    2624
    + 1 => 'small_image',
    2625
    + 2 => 'thumbnail',
    2626
    + ),
    2627
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1.jpg',
    2628
    + 'file' =>
    2629
    + array (
    2630
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 1',
    2631
    + ),
    2632
    + 'position' => 1,
    2633
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    2634
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    2635
    + 'extra' =>
    2636
    + array (
    2637
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    2638
    + ),
    2639
    + 'exclude' => 0,
    2640
    + 'color' => 'LIGHT GRAY',
    2641
    + 'tag' => 'base',
    2642
    + 'sequence' => 1,
    2643
    + )
    2644
    + _existingImage map: array (
    2645
    + 165458 =>
    2646
    + array (
    2647
    + 'mediakey' => NULL,
    2648
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_4.jpg',
    2649
    + ),
    2650
    + 165459 =>
    2651
    + array (
    2652
    + 'mediakey' => NULL,
    2653
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_4.jpg',
    2654
    + ),
    2655
    + 165460 =>
    2656
    + array (
    2657
    + 'mediakey' => NULL,
    2658
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_4.jpg',
    2659
    + ),
    2660
    + 165461 =>
    2661
    + array (
    2662
    + 'mediakey' => NULL,
    2663
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_4.jpg',
    2664
    + ),
    2665
    + 165462 =>
    2666
    + array (
    2667
    + 'mediakey' => NULL,
    2668
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_4.jpg',
    2669
    + ),
    2670
    + 166605 =>
    2671
    + array (
    2672
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    2673
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_10.jpg',
    2674
    + ),
    2675
    + 166606 =>
    2676
    + array (
    2677
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    2678
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_10.jpg',
    2679
    + ),
    2680
    + 166607 =>
    2681
    + array (
    2682
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    2683
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_10.jpg',
    2684
    + ),
    2685
    + 166608 =>
    2686
    + array (
    2687
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    2688
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_10.jpg',
    2689
    + ),
    2690
    + 166609 =>
    2691
    + array (
    2692
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    2693
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_10.jpg',
    2694
    + ),
    2695
    + )
    2696
    + _existingImage new data: array (
    2697
    + 'types' =>
    2698
    + array (
    2699
    + ),
    2700
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1.jpg',
    2701
    + 'file' =>
    2702
    + array (
    2703
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 3',
    2704
    + ),
    2705
    + 'position' => 3,
    2706
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    2707
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    2708
    + 'extra' =>
    2709
    + array (
    2710
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    2711
    + ),
    2712
    + 'exclude' => 0,
    2713
    + 'color' => 'LIGHT GRAY',
    2714
    + 'sequence' => 1,
    2715
    + )
    2716
    + _existingImage map: array (
    2717
    + 165458 =>
    2718
    + array (
    2719
    + 'mediakey' => NULL,
    2720
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_4.jpg',
    2721
    + ),
    2722
    + 165459 =>
    2723
    + array (
    2724
    + 'mediakey' => NULL,
    2725
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_4.jpg',
    2726
    + ),
    2727
    + 165460 =>
    2728
    + array (
    2729
    + 'mediakey' => NULL,
    2730
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_4.jpg',
    2731
    + ),
    2732
    + 165461 =>
    2733
    + array (
    2734
    + 'mediakey' => NULL,
    2735
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_4.jpg',
    2736
    + ),
    2737
    + 165462 =>
    2738
    + array (
    2739
    + 'mediakey' => NULL,
    2740
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_4.jpg',
    2741
    + ),
    2742
    + 166605 =>
    2743
    + array (
    2744
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    2745
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_10.jpg',
    2746
    + ),
    2747
    + 166606 =>
    2748
    + array (
    2749
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    2750
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_10.jpg',
    2751
    + ),
    2752
    + 166607 =>
    2753
    + array (
    2754
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    2755
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_10.jpg',
    2756
    + ),
    2757
    + 166608 =>
    2758
    + array (
    2759
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    2760
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_10.jpg',
    2761
    + ),
    2762
    + 166609 =>
    2763
    + array (
    2764
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    2765
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_10.jpg',
    2766
    + ),
    2767
    + )
    2768
    + _existingImage new data: array (
    2769
    + 'types' =>
    2770
    + array (
    2771
    + ),
    2772
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1.jpg',
    2773
    + 'file' =>
    2774
    + array (
    2775
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 7',
    2776
    + ),
    2777
    + 'position' => 5,
    2778
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    2779
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    2780
    + 'extra' =>
    2781
    + array (
    2782
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    2783
    + ),
    2784
    + 'exclude' => 0,
    2785
    + 'color' => 'LIGHT GRAY',
    2786
    + 'sequence' => 1,
    2787
    + )
    2788
    + _existingImage map: array (
    2789
    + 165458 =>
    2790
    + array (
    2791
    + 'mediakey' => NULL,
    2792
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_4.jpg',
    2793
    + ),
    2794
    + 165459 =>
    2795
    + array (
    2796
    + 'mediakey' => NULL,
    2797
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_4.jpg',
    2798
    + ),
    2799
    + 165460 =>
    2800
    + array (
    2801
    + 'mediakey' => NULL,
    2802
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_4.jpg',
    2803
    + ),
    2804
    + 165461 =>
    2805
    + array (
    2806
    + 'mediakey' => NULL,
    2807
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_4.jpg',
    2808
    + ),
    2809
    + 165462 =>
    2810
    + array (
    2811
    + 'mediakey' => NULL,
    2812
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_4.jpg',
    2813
    + ),
    2814
    + 166605 =>
    2815
    + array (
    2816
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    2817
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_10.jpg',
    2818
    + ),
    2819
    + 166606 =>
    2820
    + array (
    2821
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    2822
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_10.jpg',
    2823
    + ),
    2824
    + 166607 =>
    2825
    + array (
    2826
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    2827
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_10.jpg',
    2828
    + ),
    2829
    + 166608 =>
    2830
    + array (
    2831
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    2832
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_10.jpg',
    2833
    + ),
    2834
    + 166609 =>
    2835
    + array (
    2836
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    2837
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_10.jpg',
    2838
    + ),
    2839
    + )
    2840
    + _existingImage new data: array (
    2841
    + 'types' =>
    2842
    + array (
    2843
    + 0 => 'over_image',
    2844
    + ),
    2845
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1.jpg',
    2846
    + 'file' =>
    2847
    + array (
    2848
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 2',
    2849
    + ),
    2850
    + 'position' => 2,
    2851
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    2852
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    2853
    + 'extra' =>
    2854
    + array (
    2855
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    2856
    + ),
    2857
    + 'exclude' => 0,
    2858
    + 'color' => 'LIGHT GRAY',
    2859
    + 'tag' => 'rollover',
    2860
    + 'sequence' => 1,
    2861
    + )
    2862
    + _existingImage map: array (
    2863
    + 165458 =>
    2864
    + array (
    2865
    + 'mediakey' => NULL,
    2866
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_4.jpg',
    2867
    + ),
    2868
    + 165459 =>
    2869
    + array (
    2870
    + 'mediakey' => NULL,
    2871
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_4.jpg',
    2872
    + ),
    2873
    + 165460 =>
    2874
    + array (
    2875
    + 'mediakey' => NULL,
    2876
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_4.jpg',
    2877
    + ),
    2878
    + 165461 =>
    2879
    + array (
    2880
    + 'mediakey' => NULL,
    2881
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_4.jpg',
    2882
    + ),
    2883
    + 165462 =>
    2884
    + array (
    2885
    + 'mediakey' => NULL,
    2886
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_4.jpg',
    2887
    + ),
    2888
    + 166605 =>
    2889
    + array (
    2890
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    2891
    + 'filename' => '/X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_10.jpg',
    2892
    + ),
    2893
    + 166606 =>
    2894
    + array (
    2895
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    2896
    + 'filename' => '/n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_10.jpg',
    2897
    + ),
    2898
    + 166607 =>
    2899
    + array (
    2900
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    2901
    + 'filename' => '/s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_10.jpg',
    2902
    + ),
    2903
    + 166608 =>
    2904
    + array (
    2905
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    2906
    + 'filename' => '/y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_10.jpg',
    2907
    + ),
    2908
    + 166609 =>
    2909
    + array (
    2910
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    2911
    + 'filename' => '/A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_10.jpg',
    2912
    + ),
    2913
    + )
    2914
    + _existingImage new data: array (
    2915
    + 'types' =>
    2916
    + array (
    2917
    + ),
    2918
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1.jpg',
    2919
    + 'file' =>
    2920
    + array (
    2921
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 5',
    2922
    + ),
    2923
    + 'position' => 4,
    2924
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    2925
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    2926
    + 'extra' =>
    2927
    + array (
    2928
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    2929
    + ),
    2930
    + 'exclude' => 0,
    2931
    + 'color' => 'LIGHT GRAY',
    2932
    + 'sequence' => 1,
    2933
    + )
    2934
    + downloadProductImages existingImageMap: array (
    2935
    + )
    2936
    + _existingImage map: array (
    2937
    + )
    2938
    + _existingImage new data: array (
    2939
    + 'types' =>
    2940
    + array (
    2941
    + 0 => 'image',
    2942
    + 1 => 'small_image',
    2943
    + 2 => 'thumbnail',
    2944
    + ),
    2945
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1.jpg',
    2946
    + 'file' =>
    2947
    + array (
    2948
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 1',
    2949
    + ),
    2950
    + 'position' => 1,
    2951
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    2952
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    2953
    + 'extra' =>
    2954
    + array (
    2955
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    2956
    + ),
    2957
    + 'exclude' => 0,
    2958
    + 'color' => 'LIGHT GRAY',
    2959
    + 'tag' => 'base',
    2960
    + 'sequence' => 1,
    2961
    + )
    2962
    + downloadProductImages adding to existingImageMap: X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg
    2963
    + downloadProductImages new file: /X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_14.jpg
    2964
    + _existingImage map: array (
    2965
    + 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg' =>
    2966
    + array (
    2967
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    2968
    + 'filename' => NULL,
    2969
    + ),
    2970
    + )
    2971
    + _existingImage new data: array (
    2972
    + 'types' =>
    2973
    + array (
    2974
    + ),
    2975
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1.jpg',
    2976
    + 'file' =>
    2977
    + array (
    2978
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 3',
    2979
    + ),
    2980
    + 'position' => 3,
    2981
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    2982
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    2983
    + 'extra' =>
    2984
    + array (
    2985
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    2986
    + ),
    2987
    + 'exclude' => 0,
    2988
    + 'color' => 'LIGHT GRAY',
    2989
    + 'sequence' => 1,
    2990
    + )
    2991
    + downloadProductImages adding to existingImageMap: nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo
    2992
    + downloadProductImages new file: /n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_14.jpg
    2993
    + _existingImage map: array (
    2994
    + 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg' =>
    2995
    + array (
    2996
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    2997
    + 'filename' => NULL,
    2998
    + ),
    2999
    + 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo' =>
    3000
    + array (
    3001
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    3002
    + 'filename' => NULL,
    3003
    + ),
    3004
    + )
    3005
    + _existingImage new data: array (
    3006
    + 'types' =>
    3007
    + array (
    3008
    + ),
    3009
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1.jpg',
    3010
    + 'file' =>
    3011
    + array (
    3012
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 7',
    3013
    + ),
    3014
    + 'position' => 5,
    3015
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    3016
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    3017
    + 'extra' =>
    3018
    + array (
    3019
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    3020
    + ),
    3021
    + 'exclude' => 0,
    3022
    + 'color' => 'LIGHT GRAY',
    3023
    + 'sequence' => 1,
    3024
    + )
    3025
    + downloadProductImages adding to existingImageMap: sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7
    3026
    + downloadProductImages new file: /s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_14.jpg
    3027
    + _existingImage map: array (
    3028
    + 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg' =>
    3029
    + array (
    3030
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    3031
    + 'filename' => NULL,
    3032
    + ),
    3033
    + 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo' =>
    3034
    + array (
    3035
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    3036
    + 'filename' => NULL,
    3037
    + ),
    3038
    + 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7' =>
    3039
    + array (
    3040
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    3041
    + 'filename' => NULL,
    3042
    + ),
    3043
    + )
    3044
    + _existingImage new data: array (
    3045
    + 'types' =>
    3046
    + array (
    3047
    + 0 => 'over_image',
    3048
    + ),
    3049
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1.jpg',
    3050
    + 'file' =>
    3051
    + array (
    3052
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 2',
    3053
    + ),
    3054
    + 'position' => 2,
    3055
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    3056
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    3057
    + 'extra' =>
    3058
    + array (
    3059
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    3060
    + ),
    3061
    + 'exclude' => 0,
    3062
    + 'color' => 'LIGHT GRAY',
    3063
    + 'tag' => 'rollover',
    3064
    + 'sequence' => 1,
    3065
    + )
    3066
    + downloadProductImages adding to existingImageMap: ytycVVXLTs7BzU84E01Wqy92KEkKS7LT
    3067
    + downloadProductImages new file: /y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_14.jpg
    3068
    + _existingImage map: array (
    3069
    + 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg' =>
    3070
    + array (
    3071
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    3072
    + 'filename' => NULL,
    3073
    + ),
    3074
    + 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo' =>
    3075
    + array (
    3076
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    3077
    + 'filename' => NULL,
    3078
    + ),
    3079
    + 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7' =>
    3080
    + array (
    3081
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    3082
    + 'filename' => NULL,
    3083
    + ),
    3084
    + 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT' =>
    3085
    + array (
    3086
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    3087
    + 'filename' => NULL,
    3088
    + ),
    3089
    + )
    3090
    + _existingImage new data: array (
    3091
    + 'types' =>
    3092
    + array (
    3093
    + ),
    3094
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1.jpg',
    3095
    + 'file' =>
    3096
    + array (
    3097
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 5',
    3098
    + ),
    3099
    + 'position' => 4,
    3100
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    3101
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    3102
    + 'extra' =>
    3103
    + array (
    3104
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    3105
    + ),
    3106
    + 'exclude' => 0,
    3107
    + 'color' => 'LIGHT GRAY',
    3108
    + 'sequence' => 1,
    3109
    + )
    3110
    + downloadProductImages adding to existingImageMap: ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW
    3111
    + downloadProductImages new file: /A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_14.jpg
    3112
    + _existingImage map: array (
    3113
    + 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg' =>
    3114
    + array (
    3115
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    3116
    + 'filename' => NULL,
    3117
    + ),
    3118
    + 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo' =>
    3119
    + array (
    3120
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    3121
    + 'filename' => NULL,
    3122
    + ),
    3123
    + 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7' =>
    3124
    + array (
    3125
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    3126
    + 'filename' => NULL,
    3127
    + ),
    3128
    + 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT' =>
    3129
    + array (
    3130
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    3131
    + 'filename' => NULL,
    3132
    + ),
    3133
    + 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW' =>
    3134
    + array (
    3135
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    3136
    + 'filename' => NULL,
    3137
    + ),
    3138
    + )
    3139
    + _existingImage new data: array (
    3140
    + 'types' =>
    3141
    + array (
    3142
    + 0 => 'image',
    3143
    + 1 => 'small_image',
    3144
    + 2 => 'thumbnail',
    3145
    + ),
    3146
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1.jpg',
    3147
    + 'file' =>
    3148
    + array (
    3149
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 1',
    3150
    + ),
    3151
    + 'position' => 1,
    3152
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    3153
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    3154
    + 'extra' =>
    3155
    + array (
    3156
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    3157
    + ),
    3158
    + 'exclude' => 0,
    3159
    + 'color' => 'LIGHT GRAY',
    3160
    + 'tag' => 'base',
    3161
    + 'sequence' => 1,
    3162
    + )
    3163
    + downloadProductImages adding to existingImageMap: X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg
    3164
    + downloadProductImages new file: /X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_14_1.jpg
    3165
    + _existingImage map: array (
    3166
    + 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg' =>
    3167
    + array (
    3168
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    3169
    + 'filename' => NULL,
    3170
    + ),
    3171
    + 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo' =>
    3172
    + array (
    3173
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    3174
    + 'filename' => NULL,
    3175
    + ),
    3176
    + 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7' =>
    3177
    + array (
    3178
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    3179
    + 'filename' => NULL,
    3180
    + ),
    3181
    + 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT' =>
    3182
    + array (
    3183
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    3184
    + 'filename' => NULL,
    3185
    + ),
    3186
    + 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW' =>
    3187
    + array (
    3188
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    3189
    + 'filename' => NULL,
    3190
    + ),
    3191
    + )
    3192
    + _existingImage new data: array (
    3193
    + 'types' =>
    3194
    + array (
    3195
    + ),
    3196
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1.jpg',
    3197
    + 'file' =>
    3198
    + array (
    3199
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 3',
    3200
    + ),
    3201
    + 'position' => 3,
    3202
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    3203
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    3204
    + 'extra' =>
    3205
    + array (
    3206
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    3207
    + ),
    3208
    + 'exclude' => 0,
    3209
    + 'color' => 'LIGHT GRAY',
    3210
    + 'sequence' => 1,
    3211
    + )
    3212
    + downloadProductImages adding to existingImageMap: nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo
    3213
    + downloadProductImages new file: /n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_14_1.jpg
    3214
    + _existingImage map: array (
    3215
    + 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg' =>
    3216
    + array (
    3217
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    3218
    + 'filename' => NULL,
    3219
    + ),
    3220
    + 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo' =>
    3221
    + array (
    3222
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    3223
    + 'filename' => NULL,
    3224
    + ),
    3225
    + 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7' =>
    3226
    + array (
    3227
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    3228
    + 'filename' => NULL,
    3229
    + ),
    3230
    + 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT' =>
    3231
    + array (
    3232
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    3233
    + 'filename' => NULL,
    3234
    + ),
    3235
    + 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW' =>
    3236
    + array (
    3237
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    3238
    + 'filename' => NULL,
    3239
    + ),
    3240
    + )
    3241
    + _existingImage new data: array (
    3242
    + 'types' =>
    3243
    + array (
    3244
    + ),
    3245
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1.jpg',
    3246
    + 'file' =>
    3247
    + array (
    3248
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 7',
    3249
    + ),
    3250
    + 'position' => 5,
    3251
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    3252
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    3253
    + 'extra' =>
    3254
    + array (
    3255
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    3256
    + ),
    3257
    + 'exclude' => 0,
    3258
    + 'color' => 'LIGHT GRAY',
    3259
    + 'sequence' => 1,
    3260
    + )
    3261
    + downloadProductImages adding to existingImageMap: sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7
    3262
    + downloadProductImages new file: /s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_14_1.jpg
    3263
    + _existingImage map: array (
    3264
    + 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg' =>
    3265
    + array (
    3266
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    3267
    + 'filename' => NULL,
    3268
    + ),
    3269
    + 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo' =>
    3270
    + array (
    3271
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    3272
    + 'filename' => NULL,
    3273
    + ),
    3274
    + 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7' =>
    3275
    + array (
    3276
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    3277
    + 'filename' => NULL,
    3278
    + ),
    3279
    + 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT' =>
    3280
    + array (
    3281
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    3282
    + 'filename' => NULL,
    3283
    + ),
    3284
    + 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW' =>
    3285
    + array (
    3286
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    3287
    + 'filename' => NULL,
    3288
    + ),
    3289
    + )
    3290
    + _existingImage new data: array (
    3291
    + 'types' =>
    3292
    + array (
    3293
    + 0 => 'over_image',
    3294
    + ),
    3295
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1.jpg',
    3296
    + 'file' =>
    3297
    + array (
    3298
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 2',
    3299
    + ),
    3300
    + 'position' => 2,
    3301
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    3302
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    3303
    + 'extra' =>
    3304
    + array (
    3305
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    3306
    + ),
    3307
    + 'exclude' => 0,
    3308
    + 'color' => 'LIGHT GRAY',
    3309
    + 'tag' => 'rollover',
    3310
    + 'sequence' => 1,
    3311
    + )
    3312
    + downloadProductImages adding to existingImageMap: ytycVVXLTs7BzU84E01Wqy92KEkKS7LT
    3313
    + downloadProductImages new file: /y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_14_1.jpg
    3314
    + _existingImage map: array (
    3315
    + 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg' =>
    3316
    + array (
    3317
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    3318
    + 'filename' => NULL,
    3319
    + ),
    3320
    + 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo' =>
    3321
    + array (
    3322
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    3323
    + 'filename' => NULL,
    3324
    + ),
    3325
    + 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7' =>
    3326
    + array (
    3327
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    3328
    + 'filename' => NULL,
    3329
    + ),
    3330
    + 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT' =>
    3331
    + array (
    3332
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    3333
    + 'filename' => NULL,
    3334
    + ),
    3335
    + 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW' =>
    3336
    + array (
    3337
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    3338
    + 'filename' => NULL,
    3339
    + ),
    3340
    + )
    3341
    + _existingImage new data: array (
    3342
    + 'types' =>
    3343
    + array (
    3344
    + ),
    3345
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1.jpg',
    3346
    + 'file' =>
    3347
    + array (
    3348
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 5',
    3349
    + ),
    3350
    + 'position' => 4,
    3351
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    3352
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    3353
    + 'extra' =>
    3354
    + array (
    3355
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    3356
    + ),
    3357
    + 'exclude' => 0,
    3358
    + 'color' => 'LIGHT GRAY',
    3359
    + 'sequence' => 1,
    3360
    + )
    3361
    + downloadProductImages adding to existingImageMap: ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW
    3362
    + downloadProductImages new file: /A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_14_1.jpg
    3363
    + _existingImage map: array (
    3364
    + 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg' =>
    3365
    + array (
    3366
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    3367
    + 'filename' => NULL,
    3368
    + ),
    3369
    + 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo' =>
    3370
    + array (
    3371
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    3372
    + 'filename' => NULL,
    3373
    + ),
    3374
    + 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7' =>
    3375
    + array (
    3376
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    3377
    + 'filename' => NULL,
    3378
    + ),
    3379
    + 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT' =>
    3380
    + array (
    3381
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    3382
    + 'filename' => NULL,
    3383
    + ),
    3384
    + 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW' =>
    3385
    + array (
    3386
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    3387
    + 'filename' => NULL,
    3388
    + ),
    3389
    + )
    3390
    + _existingImage new data: array (
    3391
    + 'types' =>
    3392
    + array (
    3393
    + 0 => 'image',
    3394
    + 1 => 'small_image',
    3395
    + 2 => 'thumbnail',
    3396
    + ),
    3397
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1.jpg',
    3398
    + 'file' =>
    3399
    + array (
    3400
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 1',
    3401
    + ),
    3402
    + 'position' => 1,
    3403
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    3404
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    3405
    + 'extra' =>
    3406
    + array (
    3407
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    3408
    + ),
    3409
    + 'exclude' => 0,
    3410
    + 'color' => 'LIGHT GRAY',
    3411
    + 'tag' => 'base',
    3412
    + 'sequence' => 1,
    3413
    + )
    3414
    + downloadProductImages adding to existingImageMap: X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg
    3415
    + downloadProductImages new file: /X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_14_2.jpg
    3416
    + _existingImage map: array (
    3417
    + 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg' =>
    3418
    + array (
    3419
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    3420
    + 'filename' => NULL,
    3421
    + ),
    3422
    + 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo' =>
    3423
    + array (
    3424
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    3425
    + 'filename' => NULL,
    3426
    + ),
    3427
    + 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7' =>
    3428
    + array (
    3429
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    3430
    + 'filename' => NULL,
    3431
    + ),
    3432
    + 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT' =>
    3433
    + array (
    3434
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    3435
    + 'filename' => NULL,
    3436
    + ),
    3437
    + 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW' =>
    3438
    + array (
    3439
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    3440
    + 'filename' => NULL,
    3441
    + ),
    3442
    + )
    3443
    + _existingImage new data: array (
    3444
    + 'types' =>
    3445
    + array (
    3446
    + ),
    3447
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1.jpg',
    3448
    + 'file' =>
    3449
    + array (
    3450
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 3',
    3451
    + ),
    3452
    + 'position' => 3,
    3453
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    3454
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    3455
    + 'extra' =>
    3456
    + array (
    3457
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    3458
    + ),
    3459
    + 'exclude' => 0,
    3460
    + 'color' => 'LIGHT GRAY',
    3461
    + 'sequence' => 1,
    3462
    + )
    3463
    + downloadProductImages adding to existingImageMap: nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo
    3464
    + downloadProductImages new file: /n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_14_2.jpg
    3465
    + _existingImage map: array (
    3466
    + 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg' =>
    3467
    + array (
    3468
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    3469
    + 'filename' => NULL,
    3470
    + ),
    3471
    + 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo' =>
    3472
    + array (
    3473
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    3474
    + 'filename' => NULL,
    3475
    + ),
    3476
    + 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7' =>
    3477
    + array (
    3478
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    3479
    + 'filename' => NULL,
    3480
    + ),
    3481
    + 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT' =>
    3482
    + array (
    3483
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    3484
    + 'filename' => NULL,
    3485
    + ),
    3486
    + 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW' =>
    3487
    + array (
    3488
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    3489
    + 'filename' => NULL,
    3490
    + ),
    3491
    + )
    3492
    + _existingImage new data: array (
    3493
    + 'types' =>
    3494
    + array (
    3495
    + ),
    3496
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1.jpg',
    3497
    + 'file' =>
    3498
    + array (
    3499
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 7',
    3500
    + ),
    3501
    + 'position' => 5,
    3502
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    3503
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    3504
    + 'extra' =>
    3505
    + array (
    3506
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    3507
    + ),
    3508
    + 'exclude' => 0,
    3509
    + 'color' => 'LIGHT GRAY',
    3510
    + 'sequence' => 1,
    3511
    + )
    3512
    + downloadProductImages adding to existingImageMap: sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7
    3513
    + downloadProductImages new file: /s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_14_2.jpg
    3514
    + _existingImage map: array (
    3515
    + 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg' =>
    3516
    + array (
    3517
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    3518
    + 'filename' => NULL,
    3519
    + ),
    3520
    + 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo' =>
    3521
    + array (
    3522
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    3523
    + 'filename' => NULL,
    3524
    + ),
    3525
    + 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7' =>
    3526
    + array (
    3527
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    3528
    + 'filename' => NULL,
    3529
    + ),
    3530
    + 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT' =>
    3531
    + array (
    3532
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    3533
    + 'filename' => NULL,
    3534
    + ),
    3535
    + 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW' =>
    3536
    + array (
    3537
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    3538
    + 'filename' => NULL,
    3539
    + ),
    3540
    + )
    3541
    + _existingImage new data: array (
    3542
    + 'types' =>
    3543
    + array (
    3544
    + 0 => 'over_image',
    3545
    + ),
    3546
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1.jpg',
    3547
    + 'file' =>
    3548
    + array (
    3549
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 2',
    3550
    + ),
    3551
    + 'position' => 2,
    3552
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    3553
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    3554
    + 'extra' =>
    3555
    + array (
    3556
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    3557
    + ),
    3558
    + 'exclude' => 0,
    3559
    + 'color' => 'LIGHT GRAY',
    3560
    + 'tag' => 'rollover',
    3561
    + 'sequence' => 1,
    3562
    + )
    3563
    + downloadProductImages adding to existingImageMap: ytycVVXLTs7BzU84E01Wqy92KEkKS7LT
    3564
    + downloadProductImages new file: /y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_14_2.jpg
    3565
    + _existingImage map: array (
    3566
    + 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg' =>
    3567
    + array (
    3568
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    3569
    + 'filename' => NULL,
    3570
    + ),
    3571
    + 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo' =>
    3572
    + array (
    3573
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    3574
    + 'filename' => NULL,
    3575
    + ),
    3576
    + 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7' =>
    3577
    + array (
    3578
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    3579
    + 'filename' => NULL,
    3580
    + ),
    3581
    + 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT' =>
    3582
    + array (
    3583
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    3584
    + 'filename' => NULL,
    3585
    + ),
    3586
    + 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW' =>
    3587
    + array (
    3588
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    3589
    + 'filename' => NULL,
    3590
    + ),
    3591
    + )
    3592
    + _existingImage new data: array (
    3593
    + 'types' =>
    3594
    + array (
    3595
    + ),
    3596
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1.jpg',
    3597
    + 'file' =>
    3598
    + array (
    3599
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 5',
    3600
    + ),
    3601
    + 'position' => 4,
    3602
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    3603
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    3604
    + 'extra' =>
    3605
    + array (
    3606
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    3607
    + ),
    3608
    + 'exclude' => 0,
    3609
    + 'color' => 'LIGHT GRAY',
    3610
    + 'sequence' => 1,
    3611
    + )
    3612
    + downloadProductImages adding to existingImageMap: ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW
    3613
    + downloadProductImages new file: /A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_14_2.jpg
    3614
    + _existingImage map: array (
    3615
    + 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg' =>
    3616
    + array (
    3617
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    3618
    + 'filename' => NULL,
    3619
    + ),
    3620
    + 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo' =>
    3621
    + array (
    3622
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    3623
    + 'filename' => NULL,
    3624
    + ),
    3625
    + 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7' =>
    3626
    + array (
    3627
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    3628
    + 'filename' => NULL,
    3629
    + ),
    3630
    + 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT' =>
    3631
    + array (
    3632
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    3633
    + 'filename' => NULL,
    3634
    + ),
    3635
    + 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW' =>
    3636
    + array (
    3637
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    3638
    + 'filename' => NULL,
    3639
    + ),
    3640
    + )
    3641
    + _existingImage new data: array (
    3642
    + 'types' =>
    3643
    + array (
    3644
    + 0 => 'image',
    3645
    + 1 => 'small_image',
    3646
    + 2 => 'thumbnail',
    3647
    + ),
    3648
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1.jpg',
    3649
    + 'file' =>
    3650
    + array (
    3651
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 1',
    3652
    + ),
    3653
    + 'position' => 1,
    3654
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    3655
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    3656
    + 'extra' =>
    3657
    + array (
    3658
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    3659
    + ),
    3660
    + 'exclude' => 0,
    3661
    + 'color' => 'LIGHT GRAY',
    3662
    + 'tag' => 'base',
    3663
    + 'sequence' => 1,
    3664
    + )
    3665
    + downloadProductImages adding to existingImageMap: X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg
    3666
    + downloadProductImages new file: /X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_14_3.jpg
    3667
    + _existingImage map: array (
    3668
    + 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg' =>
    3669
    + array (
    3670
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    3671
    + 'filename' => NULL,
    3672
    + ),
    3673
    + 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo' =>
    3674
    + array (
    3675
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    3676
    + 'filename' => NULL,
    3677
    + ),
    3678
    + 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7' =>
    3679
    + array (
    3680
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    3681
    + 'filename' => NULL,
    3682
    + ),
    3683
    + 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT' =>
    3684
    + array (
    3685
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    3686
    + 'filename' => NULL,
    3687
    + ),
    3688
    + 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW' =>
    3689
    + array (
    3690
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    3691
    + 'filename' => NULL,
    3692
    + ),
    3693
    + )
    3694
    + _existingImage new data: array (
    3695
    + 'types' =>
    3696
    + array (
    3697
    + ),
    3698
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1.jpg',
    3699
    + 'file' =>
    3700
    + array (
    3701
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 3',
    3702
    + ),
    3703
    + 'position' => 3,
    3704
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    3705
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    3706
    + 'extra' =>
    3707
    + array (
    3708
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    3709
    + ),
    3710
    + 'exclude' => 0,
    3711
    + 'color' => 'LIGHT GRAY',
    3712
    + 'sequence' => 1,
    3713
    + )
    3714
    + downloadProductImages adding to existingImageMap: nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo
    3715
    + downloadProductImages new file: /n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_14_3.jpg
    3716
    + _existingImage map: array (
    3717
    + 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg' =>
    3718
    + array (
    3719
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    3720
    + 'filename' => NULL,
    3721
    + ),
    3722
    + 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo' =>
    3723
    + array (
    3724
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    3725
    + 'filename' => NULL,
    3726
    + ),
    3727
    + 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7' =>
    3728
    + array (
    3729
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    3730
    + 'filename' => NULL,
    3731
    + ),
    3732
    + 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT' =>
    3733
    + array (
    3734
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    3735
    + 'filename' => NULL,
    3736
    + ),
    3737
    + 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW' =>
    3738
    + array (
    3739
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    3740
    + 'filename' => NULL,
    3741
    + ),
    3742
    + )
    3743
    + _existingImage new data: array (
    3744
    + 'types' =>
    3745
    + array (
    3746
    + ),
    3747
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1.jpg',
    3748
    + 'file' =>
    3749
    + array (
    3750
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 7',
    3751
    + ),
    3752
    + 'position' => 5,
    3753
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    3754
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    3755
    + 'extra' =>
    3756
    + array (
    3757
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    3758
    + ),
    3759
    + 'exclude' => 0,
    3760
    + 'color' => 'LIGHT GRAY',
    3761
    + 'sequence' => 1,
    3762
    + )
    3763
    + downloadProductImages adding to existingImageMap: sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7
    3764
    + downloadProductImages new file: /s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_14_3.jpg
    3765
    + _existingImage map: array (
    3766
    + 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg' =>
    3767
    + array (
    3768
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    3769
    + 'filename' => NULL,
    3770
    + ),
    3771
    + 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo' =>
    3772
    + array (
    3773
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    3774
    + 'filename' => NULL,
    3775
    + ),
    3776
    + 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7' =>
    3777
    + array (
    3778
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    3779
    + 'filename' => NULL,
    3780
    + ),
    3781
    + 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT' =>
    3782
    + array (
    3783
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    3784
    + 'filename' => NULL,
    3785
    + ),
    3786
    + 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW' =>
    3787
    + array (
    3788
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    3789
    + 'filename' => NULL,
    3790
    + ),
    3791
    + )
    3792
    + _existingImage new data: array (
    3793
    + 'types' =>
    3794
    + array (
    3795
    + 0 => 'over_image',
    3796
    + ),
    3797
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1.jpg',
    3798
    + 'file' =>
    3799
    + array (
    3800
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 2',
    3801
    + ),
    3802
    + 'position' => 2,
    3803
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    3804
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    3805
    + 'extra' =>
    3806
    + array (
    3807
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    3808
    + ),
    3809
    + 'exclude' => 0,
    3810
    + 'color' => 'LIGHT GRAY',
    3811
    + 'tag' => 'rollover',
    3812
    + 'sequence' => 1,
    3813
    + )
    3814
    + downloadProductImages adding to existingImageMap: ytycVVXLTs7BzU84E01Wqy92KEkKS7LT
    3815
    + downloadProductImages new file: /y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_14_3.jpg
    3816
    + _existingImage map: array (
    3817
    + 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg' =>
    3818
    + array (
    3819
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    3820
    + 'filename' => NULL,
    3821
    + ),
    3822
    + 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo' =>
    3823
    + array (
    3824
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    3825
    + 'filename' => NULL,
    3826
    + ),
    3827
    + 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7' =>
    3828
    + array (
    3829
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    3830
    + 'filename' => NULL,
    3831
    + ),
    3832
    + 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT' =>
    3833
    + array (
    3834
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    3835
    + 'filename' => NULL,
    3836
    + ),
    3837
    + 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW' =>
    3838
    + array (
    3839
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    3840
    + 'filename' => NULL,
    3841
    + ),
    3842
    + )
    3843
    + _existingImage new data: array (
    3844
    + 'types' =>
    3845
    + array (
    3846
    + ),
    3847
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1.jpg',
    3848
    + 'file' =>
    3849
    + array (
    3850
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 5',
    3851
    + ),
    3852
    + 'position' => 4,
    3853
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    3854
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    3855
    + 'extra' =>
    3856
    + array (
    3857
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    3858
    + ),
    3859
    + 'exclude' => 0,
    3860
    + 'color' => 'LIGHT GRAY',
    3861
    + 'sequence' => 1,
    3862
    + )
    3863
    + downloadProductImages adding to existingImageMap: ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW
    3864
    + downloadProductImages new file: /A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_14_3.jpg
    3865
    + _existingImage map: array (
    3866
    + 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg' =>
    3867
    + array (
    3868
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    3869
    + 'filename' => NULL,
    3870
    + ),
    3871
    + 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo' =>
    3872
    + array (
    3873
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    3874
    + 'filename' => NULL,
    3875
    + ),
    3876
    + 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7' =>
    3877
    + array (
    3878
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    3879
    + 'filename' => NULL,
    3880
    + ),
    3881
    + 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT' =>
    3882
    + array (
    3883
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    3884
    + 'filename' => NULL,
    3885
    + ),
    3886
    + 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW' =>
    3887
    + array (
    3888
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    3889
    + 'filename' => NULL,
    3890
    + ),
    3891
    + )
    3892
    + _existingImage new data: array (
    3893
    + 'types' =>
    3894
    + array (
    3895
    + 0 => 'image',
    3896
    + 1 => 'small_image',
    3897
    + 2 => 'thumbnail',
    3898
    + ),
    3899
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1.jpg',
    3900
    + 'file' =>
    3901
    + array (
    3902
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 1',
    3903
    + ),
    3904
    + 'position' => 1,
    3905
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    3906
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    3907
    + 'extra' =>
    3908
    + array (
    3909
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    3910
    + ),
    3911
    + 'exclude' => 0,
    3912
    + 'color' => 'LIGHT GRAY',
    3913
    + 'tag' => 'base',
    3914
    + 'sequence' => 1,
    3915
    + )
    3916
    + downloadProductImages adding to existingImageMap: X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg
    3917
    + downloadProductImages new file: /X/8/X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg-1_14_4.jpg
    3918
    + _existingImage map: array (
    3919
    + 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg' =>
    3920
    + array (
    3921
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    3922
    + 'filename' => NULL,
    3923
    + ),
    3924
    + 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo' =>
    3925
    + array (
    3926
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    3927
    + 'filename' => NULL,
    3928
    + ),
    3929
    + 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7' =>
    3930
    + array (
    3931
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    3932
    + 'filename' => NULL,
    3933
    + ),
    3934
    + 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT' =>
    3935
    + array (
    3936
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    3937
    + 'filename' => NULL,
    3938
    + ),
    3939
    + 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW' =>
    3940
    + array (
    3941
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    3942
    + 'filename' => NULL,
    3943
    + ),
    3944
    + )
    3945
    + _existingImage new data: array (
    3946
    + 'types' =>
    3947
    + array (
    3948
    + ),
    3949
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1.jpg',
    3950
    + 'file' =>
    3951
    + array (
    3952
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 3',
    3953
    + ),
    3954
    + 'position' => 3,
    3955
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    3956
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    3957
    + 'extra' =>
    3958
    + array (
    3959
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    3960
    + ),
    3961
    + 'exclude' => 0,
    3962
    + 'color' => 'LIGHT GRAY',
    3963
    + 'sequence' => 1,
    3964
    + )
    3965
    + downloadProductImages adding to existingImageMap: nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo
    3966
    + downloadProductImages new file: /n/I/nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo-1_14_4.jpg
    3967
    + _existingImage map: array (
    3968
    + 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg' =>
    3969
    + array (
    3970
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    3971
    + 'filename' => NULL,
    3972
    + ),
    3973
    + 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo' =>
    3974
    + array (
    3975
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    3976
    + 'filename' => NULL,
    3977
    + ),
    3978
    + 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7' =>
    3979
    + array (
    3980
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    3981
    + 'filename' => NULL,
    3982
    + ),
    3983
    + 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT' =>
    3984
    + array (
    3985
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    3986
    + 'filename' => NULL,
    3987
    + ),
    3988
    + 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW' =>
    3989
    + array (
    3990
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    3991
    + 'filename' => NULL,
    3992
    + ),
    3993
    + )
    3994
    + _existingImage new data: array (
    3995
    + 'types' =>
    3996
    + array (
    3997
    + ),
    3998
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1.jpg',
    3999
    + 'file' =>
    4000
    + array (
    4001
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 7',
    4002
    + ),
    4003
    + 'position' => 5,
    4004
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    4005
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    4006
    + 'extra' =>
    4007
    + array (
    4008
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    4009
    + ),
    4010
    + 'exclude' => 0,
    4011
    + 'color' => 'LIGHT GRAY',
    4012
    + 'sequence' => 1,
    4013
    + )
    4014
    + downloadProductImages adding to existingImageMap: sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7
    4015
    + downloadProductImages new file: /s/X/sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7-1_14_4.jpg
    4016
    + _existingImage map: array (
    4017
    + 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg' =>
    4018
    + array (
    4019
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    4020
    + 'filename' => NULL,
    4021
    + ),
    4022
    + 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo' =>
    4023
    + array (
    4024
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    4025
    + 'filename' => NULL,
    4026
    + ),
    4027
    + 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7' =>
    4028
    + array (
    4029
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    4030
    + 'filename' => NULL,
    4031
    + ),
    4032
    + 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT' =>
    4033
    + array (
    4034
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    4035
    + 'filename' => NULL,
    4036
    + ),
    4037
    + 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW' =>
    4038
    + array (
    4039
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    4040
    + 'filename' => NULL,
    4041
    + ),
    4042
    + )
    4043
    + _existingImage new data: array (
    4044
    + 'types' =>
    4045
    + array (
    4046
    + 0 => 'over_image',
    4047
    + ),
    4048
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1.jpg',
    4049
    + 'file' =>
    4050
    + array (
    4051
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 2',
    4052
    + ),
    4053
    + 'position' => 2,
    4054
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    4055
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    4056
    + 'extra' =>
    4057
    + array (
    4058
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    4059
    + ),
    4060
    + 'exclude' => 0,
    4061
    + 'color' => 'LIGHT GRAY',
    4062
    + 'tag' => 'rollover',
    4063
    + 'sequence' => 1,
    4064
    + )
    4065
    + downloadProductImages adding to existingImageMap: ytycVVXLTs7BzU84E01Wqy92KEkKS7LT
    4066
    + downloadProductImages new file: /y/t/ytycVVXLTs7BzU84E01Wqy92KEkKS7LT-1_14_4.jpg
    4067
    + _existingImage map: array (
    4068
    + 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg' =>
    4069
    + array (
    4070
    + 'mediakey' => 'X8baMXdTnHf3qYVYP2kl3UnJVc89CkZg',
    4071
    + 'filename' => NULL,
    4072
    + ),
    4073
    + 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo' =>
    4074
    + array (
    4075
    + 'mediakey' => 'nId4w3n6Liz56w1dZyoBaG8TTj5bNhvo',
    4076
    + 'filename' => NULL,
    4077
    + ),
    4078
    + 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7' =>
    4079
    + array (
    4080
    + 'mediakey' => 'sXOsjZYIfEe7Ysp4EFhQ0x4XnNYe3KY7',
    4081
    + 'filename' => NULL,
    4082
    + ),
    4083
    + 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT' =>
    4084
    + array (
    4085
    + 'mediakey' => 'ytycVVXLTs7BzU84E01Wqy92KEkKS7LT',
    4086
    + 'filename' => NULL,
    4087
    + ),
    4088
    + 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW' =>
    4089
    + array (
    4090
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    4091
    + 'filename' => NULL,
    4092
    + ),
    4093
    + )
    4094
    + _existingImage new data: array (
    4095
    + 'types' =>
    4096
    + array (
    4097
    + ),
    4098
    + 'download_url' => 'https://d1mqai8gfnbs7r.cloudfront.net/media/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1.jpg',
    4099
    + 'file' =>
    4100
    + array (
    4101
    + 'name' => 'Salt N\' Pepper Bell Sleeve Top AW15-305-1 5',
    4102
    + ),
    4103
    + 'position' => 4,
    4104
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    4105
    + 'label' => 'LAVISH ALICE Salt N\' Pepper Bell Sleeve Top',
    4106
    + 'extra' =>
    4107
    + array (
    4108
    + 'mediakey' => 'ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW',
    4109
    + ),
    4110
    + 'exclude' => 0,
    4111
    + 'color' => 'LIGHT GRAY',
    4112
    + 'sequence' => 1,
    4113
    + )
    4114
    + downloadProductImages adding to existingImageMap: ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW
    4115
    + downloadProductImages new file: /A/N/ANmwaNqSKsV6IozsnX8oM9pHOFSYneyW-1_14_4.jpg
    app/code/community/RetailOps/Api/Model/Catalog/Push/Api.php CHANGED
    @@ -162,7 +162,6 @@ class RetailOps_Api_Model_Catalog_Push_Api extends RetailOps_Api_Model_Catalog_A
    162
      */
    163
      public function catalogPush($productsData)
    164
      {
    165
    - file_put_contents('/tmp/magento_debug', 'catalogPush data ' . var_export($productsData, true) . "\n", FILE_APPEND);
    166
      if (isset($productsData['records'])) {
    167
      $productsData = $productsData['records'];
    168
      }
    162
      */
    163
      public function catalogPush($productsData)
    164
      {
     
    165
      if (isset($productsData['records'])) {
    166
      $productsData = $productsData['records'];
    167
      }
    app/code/community/RetailOps/Api/Model/Inventory/Api.php CHANGED
    @@ -38,36 +38,26 @@ class RetailOps_Api_Model_Inventory_Api extends Mage_CatalogInventory_Model_Stoc
    38
      }
    39
      $response = array();
    40
      $response['records'] = array();
    41
    - $orderItemsCollection = Mage::getResourceModel('retailops_api/api')->getRetailopsNonretrievedOrderItems();
    42
    - $orderItems = $this->filterOrderItems($orderItemsCollection);
    43
      $productIds = $this->getProductIds($itemData);
    44
     
    45
      foreach ($itemData as $item) {
    46
      try {
    47
    - $itemObj = new Varien_Object($item);
    48
    -
    49
      Mage::dispatchEvent(
    50
      'retailops_inventory_push_record',
    51
    - array('record' => $itemObj)
    52
      );
    53
     
    54
    - $result = array();
    55
    - $result['sku'] = $itemObj->getSku();
    56
    -
    57
    - $itemObj->setQty($itemObj->getQuantity()); // api update accepts qty not quantity parameter
    58
    -
    59
    - $qty = $itemObj->getQty();
    60
    - if (isset($orderItems[$itemObj->getSku()])) {
    61
    - $qty = $itemObj->getQty() - $orderItems[$itemObj->getSku()];
    62
    - }
    63
    - $itemObj->setQty($qty);
    64
     
    65
      Mage::dispatchEvent(
    66
      'retailops_inventory_push_record_qty_processed',
    67
    - array('record' => $itemObj)
    68
      );
    69
     
    70
    - $this->update($productIds[$itemObj->getSku()], $itemObj->getData());
     
    71
      $result['status'] = RetailOps_Api_Helper_Data::API_STATUS_SUCCESS;
    72
      } catch (Mage_Core_Exception $e) {
    73
      $result['status'] = RetailOps_Api_Helper_Data::API_STATUS_FAIL;
    @@ -82,33 +72,6 @@ class RetailOps_Api_Model_Inventory_Api extends Mage_CatalogInventory_Model_Stoc
    82
      return $response;
    83
      }
    84
     
    85
    - /**
    86
    - * Removes parent order items from collection
    87
    - *
    88
    - * @param $collection Mage_Sales_Model_Resource_Order_Item_Collection
    89
    - * @return array
    90
    - */
    91
    - public function filterOrderItems(Mage_Sales_Model_Resource_Order_Item_Collection $collection)
    92
    - {
    93
    - $result = array();
    94
    -
    95
    - /* remove parent items */
    96
    - foreach ($collection as $item) {
    97
    - $collection->removeItemByKey($item->getParentItemId());
    98
    - }
    99
    -
    100
    - /* calculate total ordered quantity per item */
    101
    - foreach ($collection as $item) {
    102
    - if (isset($result[$item->getSku()])){
    103
    - $result[$item->getSku()] += $item->getQtyOrdered();
    104
    - } else {
    105
    - $result[$item->getSku()] = $item->getQtyOrdered();
    106
    - }
    107
    - }
    108
    -
    109
    - return $result;
    110
    - }
    111
    -
    112
      /**
    113
      * Update product stock data
    114
      *
    38
      }
    39
      $response = array();
    40
      $response['records'] = array();
    41
    + $resourceModel = Mage::getResourceModel('retailops_api/api');
    42
    + $orderQtys = $resourceModel->getRetailopsNonretrievedQtys();
    43
      $productIds = $this->getProductIds($itemData);
    44
     
    45
      foreach ($itemData as $item) {
    46
      try {
     
     
    47
      Mage::dispatchEvent(
    48
      'retailops_inventory_push_record',
    49
    + array('record' => $stockObj)
    50
      );
    51
     
    52
    + $stockObj = $resourceModel->subtractNonretrievedQtys($orderQtys, $item);
     
     
     
     
     
     
     
     
     
    53
     
    54
      Mage::dispatchEvent(
    55
      'retailops_inventory_push_record_qty_processed',
    56
    + array('record' => $stockObj)
    57
      );
    58
     
    59
    + $this->update($productIds[$stockObj->getSku()], $stockObj->getData());
    60
    +
    61
      $result['status'] = RetailOps_Api_Helper_Data::API_STATUS_SUCCESS;
    62
      } catch (Mage_Core_Exception $e) {
    63
      $result['status'] = RetailOps_Api_Helper_Data::API_STATUS_FAIL;
    72
      return $response;
    73
      }
    74
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
    75
      /**
    76
      * Update product stock data
    77
      *
    app/code/community/RetailOps/Api/Model/Observer2.php~ DELETED
    @@ -1,47 +0,0 @@
    1
    - <?php
    2
    - /**
    3
    - The MIT License (MIT)
    4
    -
    5
    - Copyright (c) 2015 Gud Technologies Incorporated (RetailOps by GüdTech)
    6
    -
    7
    - Permission is hereby granted, free of charge, to any person obtaining a copy
    8
    - of this software and associated documentation files (the "Software"), to deal
    9
    - in the Software without restriction, including without limitation the rights
    10
    - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    11
    - copies of the Software, and to permit persons to whom the Software is
    12
    - furnished to do so, subject to the following conditions:
    13
    -
    14
    - The above copyright notice and this permission notice shall be included in
    15
    - all copies or substantial portions of the Software.
    16
    -
    17
    - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    18
    - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    19
    - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    20
    - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    21
    - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    22
    - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    23
    - THE SOFTWARE.
    24
    - */
    25
    -
    26
    - class RetailOps_Api_Model_Observer
    27
    - {
    28
    - /**
    29
    - * Update retailops order status when payment is made
    30
    - *
    31
    - * @param $observer
    32
    - */
    33
    - public function updateRetailopsStatus($observer)
    34
    - {
    35
    - $order = $observer->getEvent()->getPayment()->getOrder();
    36
    - $order->setRetailopsStatus(RetailOps_Api_Helper_Data::RETAILOPS_ORDER_READY);
    37
    - }
    38
    -
    39
    - /**
    40
    - * Download product images
    41
    - */
    42
    - public function downloadProductImages()
    43
    - {
    44
    - $mediaAdapter = new RetailOps_Api_Model_Catalog_Adapter_Media();
    45
    - $mediaAdapter->downloadProductImages();
    46
    - }
    47
    - }
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
    app/code/community/RetailOps/Api/Model/Resource/Api.php CHANGED
    @@ -96,6 +96,35 @@ class RetailOps_Api_Model_Resource_Api extends Mage_Core_Model_Resource_Db_Abstr
    96
      return $collection;
    97
      }
    98
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
    99
      /**
    100
      * Get product's media gallery records
    101
      *
    @@ -120,4 +149,27 @@ class RetailOps_Api_Model_Resource_Api extends Mage_Core_Model_Resource_Db_Abstr
    120
      $adapter = $this->_getWriteAdapter();
    121
      $adapter->insertOnDuplicate($this->getTable('catalog/product_attribute_media_gallery'), $data);
    122
      }
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
    123
      }
    96
      return $collection;
    97
      }
    98
     
    99
    + /**
    100
    + * Get hash of SKUs with non-retrieved qtys
    101
    + *
    102
    + * @param $collection Mage_Sales_Model_Resource_Order_Item_Collection
    103
    + * @return array
    104
    + */
    105
    + public function getRetailopsNonretrievedQtys()
    106
    + {
    107
    + $result = array();
    108
    +
    109
    + $collection = $this->getRetailopsNonretrievedOrderItems();
    110
    +
    111
    + /* remove parent items */
    112
    + foreach ($collection as $item) {
    113
    + $collection->removeItemByKey($item->getParentItemId());
    114
    + }
    115
    +
    116
    + /* calculate total ordered quantity per item */
    117
    + foreach ($collection as $item) {
    118
    + if (isset($result[$item->getSku()])){
    119
    + $result[$item->getSku()] += $item->getQtyOrdered();
    120
    + } else {
    121
    + $result[$item->getSku()] = $item->getQtyOrdered();
    122
    + }
    123
    + }
    124
    +
    125
    + return $result;
    126
    + }
    127
    +
    128
      /**
    129
      * Get product's media gallery records
    130
      *
    149
      $adapter = $this->_getWriteAdapter();
    150
      $adapter->insertOnDuplicate($this->getTable('catalog/product_attribute_media_gallery'), $data);
    151
      }
    152
    +
    153
    + /**
    154
    + * Subtract non-retreived qtys from stock data
    155
    + *
    156
    + * @param $nonretrievedQtys
    157
    + * @param $stockData
    158
    + * @return Varien_Object
    159
    + */
    160
    + public function subtractNonretrievedQtys($nonretrievedQtys, $stockData) {
    161
    + $stockObj = new Varien_Object($stockData);
    162
    +
    163
    + $result = array();
    164
    + $result['sku'] = $stockObj->getSku();
    165
    +
    166
    + $stockObj->setQty($stockObj->getQuantity()); // api update accepts qty not quantity parameter
    167
    +
    168
    + if (isset($nonretrievedQtys[$stockObj->getSku()])) {
    169
    + $qty = $stockObj->getQty() - $nonretrievedQtys[$stockObj->getSku()];
    170
    + $stockObj->setQty($qty);
    171
    + }
    172
    +
    173
    + return $stockObj;
    174
    + }
    175
      }
    app/code/community/RetailOps/Api/Model/Return/Api.php CHANGED
    @@ -60,9 +60,9 @@ class RetailOps_Api_Model_Return_Api extends Mage_Sales_Model_Order_Creditmemo_A
    60
      array('record' => $returnObj)
    61
      );
    62
      $order = Mage::getModel('sales/order')->loadByIncrementId($returnObj->getOrderIncrementId());
    63
    - $result = $this->create($order, $returnObj->getCreditmemoData(),
    64
      $returnObj->getComment(), $returnObj->getNotifyCustomer(), $returnObj->getIncludeComment(),
    65
    - $returnObj->getRefundToStoreCredit());
    66
      } catch (Exception $e) {
    67
      $result['message'] = $e->getMessage();
    68
      $result['status'] = RetailOps_Api_Helper_Data::API_STATUS_FAIL;
    @@ -87,8 +87,9 @@ class RetailOps_Api_Model_Return_Api extends Mage_Sales_Model_Order_Creditmemo_A
    87
      * @param string $refundToStoreCreditAmount
    88
      * @return string $creditmemoIncrementId
    89
      */
    90
    - public function create($order, $creditmemoData = null, $comment = null, $notifyCustomer = false,
    91
    - $includeComment = false, $refundToStoreCreditAmount = null)
     
    92
      {
    93
      /** @var $helper RetailOps_Api_Helper_Data */
    94
      $helper = Mage::helper('retailops_api');
    @@ -134,6 +135,15 @@ class RetailOps_Api_Model_Return_Api extends Mage_Sales_Model_Order_Creditmemo_A
    134
      }
    135
      $creditmemo->setPaymentRefundDisallowed(true);
    136
      }
     
     
     
     
     
     
     
     
     
    137
      $creditmemo->register();
    138
      // add comment to creditmemo
    139
      if (!empty($comment)) {
    60
      array('record' => $returnObj)
    61
      );
    62
      $order = Mage::getModel('sales/order')->loadByIncrementId($returnObj->getOrderIncrementId());
    63
    + $result = $this->create($order, $returnObj->getCreditmemoData(), $returnObj->getRefundedOffline(),
    64
      $returnObj->getComment(), $returnObj->getNotifyCustomer(), $returnObj->getIncludeComment(),
    65
    + $returnObj->getRefundToStoreCredit(), $returnObj->getRefundedToRetailopsStoreCredit());
    66
      } catch (Exception $e) {
    67
      $result['message'] = $e->getMessage();
    68
      $result['status'] = RetailOps_Api_Helper_Data::API_STATUS_FAIL;
    87
      * @param string $refundToStoreCreditAmount
    88
      * @return string $creditmemoIncrementId
    89
      */
    90
    + public function create($order, $creditmemoData = null, $refundedOffline = false,
    91
    + $comment = null, $notifyCustomer = false, $includeComment = false,
    92
    + $refundToStoreCreditAmount = null, $refundedToRetailopsStoreCredit = null)
    93
      {
    94
      /** @var $helper RetailOps_Api_Helper_Data */
    95
      $helper = Mage::helper('retailops_api');
    135
      }
    136
      $creditmemo->setPaymentRefundDisallowed(true);
    137
      }
    138
    + if ($refundedToRetailopsStoreCredit || $refundedOffline) {
    139
    + $ro_refund_message = 'Refunded amount of '
    140
    + . $order->getBaseCurrency()->formatTxt($creditmemo->getBaseGrandTotal())
    141
    + . ($refundedOffline ? ' offline.' : ' to RetailOps store credit.');
    142
    + $order->addStatusHistoryComment($ro_refund_message);
    143
    + $creditmemo->addComment($ro_refund_message, $notifyCustomer);
    144
    + $creditmemo->setPaymentRefundDisallowed(true);
    145
    + $creditmemo->setOfflineRequested(true);
    146
    + }
    147
      $creditmemo->register();
    148
      // add comment to creditmemo
    149
      if (!empty($comment)) {
    app/code/community/RetailOps/Api/Model/Shipment/Api.php CHANGED
    @@ -238,6 +238,7 @@ class RetailOps_Api_Model_Shipment_Api extends Mage_Sales_Model_Order_Shipment_A
    238
      $invoiceResult = $this->_createInvoiceAndCapture(
    239
      $order,
    240
      $invoice->getItemsToInvoice(),
     
    241
      $invoice->getComment(),
    242
      $invoice->getEmail(),
    243
      $invoice->getIncludeComment()
    @@ -319,10 +320,10 @@ class RetailOps_Api_Model_Shipment_Api extends Mage_Sales_Model_Order_Shipment_A
    319
      }
    320
      }
    321
      if ($itemsToCapture) {
    322
    - $result['invoice_result'] = $this->_createInvoiceAndCapture($order, $itemsToCapture);
    323
      }
    324
      if ($itemsToReturn) {
    325
    - $result['creditmemo_result'] = $this->_getCreditMemoApi()->create($order, array('qtys' => $itemsToReturn));
    326
      }
    327
      /**
    328
      * Cancel the rest items if any
    @@ -362,7 +363,7 @@ class RetailOps_Api_Model_Shipment_Api extends Mage_Sales_Model_Order_Shipment_A
    362
      * @param bool $includeComment
    363
      * @return string
    364
      */
    365
    - protected function _createInvoiceAndCapture($order, $itemsQty, $comment = null, $email = false, $includeComment = false)
    366
      {
    367
      /** @var $helper RetailOps_Api_Helper_Data */
    368
      $helper = Mage::helper('retailops_api');
    @@ -374,7 +375,8 @@ class RetailOps_Api_Model_Shipment_Api extends Mage_Sales_Model_Order_Shipment_A
    374
      }
    375
      }
    376
      $invoice = $order->prepareInvoice($itemsQtyFomratted);
    377
    - $invoice->setRequestedCaptureCase(Mage_Sales_Model_Order_Invoice::CAPTURE_ONLINE);
     
    378
      $invoice->register();
    379
     
    380
      if ($comment !== null) {
    238
      $invoiceResult = $this->_createInvoiceAndCapture(
    239
      $order,
    240
      $invoice->getItemsToInvoice(),
    241
    + $invoice->getCapturedOffline(),
    242
      $invoice->getComment(),
    243
      $invoice->getEmail(),
    244
      $invoice->getIncludeComment()
    320
      }
    321
      }
    322
      if ($itemsToCapture) {
    323
    + $result['invoice_result'] = $this->_createInvoiceAndCapture($order, $itemsToCapture, $orderData['captured_offline']);
    324
      }
    325
      if ($itemsToReturn) {
    326
    + $result['creditmemo_result'] = $this->_getCreditMemoApi()->create($order, array('qtys' => $itemsToReturn), $orderData['captured_offline']);
    327
      }
    328
      /**
    329
      * Cancel the rest items if any
    363
      * @param bool $includeComment
    364
      * @return string
    365
      */
    366
    + protected function _createInvoiceAndCapture($order, $itemsQty, $capturedOffline = false, $comment = null, $email = false, $includeComment = false)
    367
      {
    368
      /** @var $helper RetailOps_Api_Helper_Data */
    369
      $helper = Mage::helper('retailops_api');
    375
      }
    376
      }
    377
      $invoice = $order->prepareInvoice($itemsQtyFomratted);
    378
    + $invoice->setRequestedCaptureCase($capturedOffline
    379
    + ? Mage_Sales_Model_Order_Invoice::CAPTURE_OFFLINE : Mage_Sales_Model_Order_Invoice::CAPTURE_ONLINE);
    380
      $invoice->register();
    381
     
    382
      if ($comment !== null) {
    app/code/community/RetailOps/Api/Model/Shipment/Api.php.~80d30a79e43e602a0b5b5da0b2b1a8007dc0ada9~ DELETED
    @@ -1,355 +0,0 @@
    1
    - <?php
    2
    - /**
    3
    - The MIT License (MIT)
    4
    -
    5
    - Copyright (c) 2015 Gud Technologies Incorporated (RetailOps by GüdTech)
    6
    -
    7
    - Permission is hereby granted, free of charge, to any person obtaining a copy
    8
    - of this software and associated documentation files (the "Software"), to deal
    9
    - in the Software without restriction, including without limitation the rights
    10
    - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    11
    - copies of the Software, and to permit persons to whom the Software is
    12
    - furnished to do so, subject to the following conditions:
    13
    -
    14
    - The above copyright notice and this permission notice shall be included in
    15
    - all copies or substantial portions of the Software.
    16
    -
    17
    - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    18
    - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    19
    - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    20
    - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    21
    - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    22
    - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    23
    - THE SOFTWARE.
    24
    - */
    25
    -
    26
    - class RetailOps_Api_Model_Shipment_Api extends Mage_Sales_Model_Order_Shipment_Api
    27
    - {
    28
    - /**
    29
    - * Creates shipment, adds track numbers, creates new invoices
    30
    - *
    31
    - * @param $shipments array
    32
    - * @return array
    33
    - */
    34
    - public function shipmentPush($shipments)
    35
    - {
    36
    - $fullResult = array();
    37
    - $fullResult['records'] = array();
    38
    - if (isset($shipments['records'])) {
    39
    - $shipments = $shipments['records'];
    40
    - }
    41
    - foreach ($shipments as $shipmentData) {
    42
    - $result = array();
    43
    - try{
    44
    - $shipment = new Varien_Object($shipmentData);
    45
    -
    46
    - Mage::dispatchEvent(
    47
    - 'retailops_shipment_process_before',
    48
    - array('record' => $shipment)
    49
    - );
    50
    -
    51
    - $result['order_increment_id'] = $shipment->getOrderIncrementId();
    52
    -
    53
    - $orderIncrementId = $shipment->getOrderIncrementId();
    54
    - $shipmentInfo = $shipment->getShipment();
    55
    - $trackInfo = isset($shipmentInfo['track']) ? $shipmentInfo['track'] : array();
    56
    - $invoiceInfo = isset($shipmentInfo['invoice']) ? $shipmentInfo['invoice'] : array();
    57
    - $shipmentIncrementId = null;
    58
    - // create shipment
    59
    - try {
    60
    - $shipmentResult = array();
    61
    - $shipmentIncrementId = $this->create($orderIncrementId,
    62
    - $shipmentInfo['qtys'],
    63
    - $shipmentInfo['comment'],
    64
    - $shipmentInfo['email'],
    65
    - $shipmentInfo['include_comment']
    66
    - );
    67
    -
    68
    - if ($shipmentIncrementId) {
    69
    - $shipmentResult['status'] = RetailOps_Api_Helper_Data::API_STATUS_SUCCESS;
    70
    - $shipmentResult['shipment_increment_id'] = $shipmentIncrementId;
    71
    - } else {
    72
    - $shipmentResult['status'] = RetailOps_Api_Helper_Data::API_STATUS_FAIL;
    73
    - $shipmentResult['message'] = Mage::helper('retailops_api')->__('Can not create shipment');
    74
    - }
    75
    - } catch (Mage_Core_Exception $e) {
    76
    - $shipmentResult['status'] = RetailOps_Api_Helper_Data::API_STATUS_FAIL;
    77
    - $shipmentResult['message'] = $e->getCustomMessage() ? $e->getCustomMessage() : $e->getMessage();
    78
    - }
    79
    -
    80
    - $result['shipment_result'] = $shipmentResult;
    81
    - if ($shipmentIncrementId) {
    82
    - if ($trackInfo) {
    83
    - $result['track_result'] = array();
    84
    - foreach ($trackInfo as $track) {
    85
    - // add shipment track
    86
    - try {
    87
    - $trackResult = array();
    88
    - $track = new Varien_Object($track);
    89
    -
    90
    - Mage::dispatchEvent(
    91
    - 'retailops_shipment_add_track_before',
    92
    - array('record' => $track)
    93
    - );
    94
    - $trackResult['track_number'] = $track->getData('track_number');
    95
    -
    96
    - $trackId = $this->addTrack($shipmentIncrementId,
    97
    - $track->getData('carrier'),
    98
    - $track->getData('title'),
    99
    - $track->getData('track_number')
    100
    - );
    101
    -
    102
    - $trackResult['status'] = RetailOps_Api_Helper_Data::API_STATUS_SUCCESS;
    103
    - $trackResult['track_id'] = $trackId;
    104
    - } catch (Mage_Core_Exception $e) {
    105
    - $trackResult['status'] = RetailOps_Api_Helper_Data::API_STATUS_FAIL;
    106
    - $trackResult['message'] = $e->getMessage();
    107
    - }
    108
    - $result['track_result'][] = $trackResult;
    109
    - }
    110
    - }
    111
    -
    112
    - // create invoice
    113
    - /** @var Mage_Sales_Model_Order $order */
    114
    - $order = Mage::getModel('sales/order');
    115
    - $order->loadByIncrementId($orderIncrementId);
    116
    - $isFullyShipped = $this->_checkAllItemsShipped($order);
    117
    - $invoices = $order->getInvoiceCollection();
    118
    - $invoiceResult = array();
    119
    - if ($order->canInvoice()) {
    120
    - $itemsToInvoice = array();
    121
    - if ($order->getPayment()->canCapturePartial()) {
    122
    - /**
    123
    - * If payment allows partial capture, trying to create invoice with shipped items only and capture it
    124
    - */
    125
    - $itemsToInvoice = $shipmentInfo['qtys'];
    126
    - }
    127
    - if (($itemsToInvoice || $isFullyShipped) && $invoiceInfo) {
    128
    -
    129
    - $invoice = new Varien_Object($invoiceInfo);
    130
    - $invoice->setData('items_to_invoice', $itemsToInvoice);
    131
    -
    132
    - Mage::dispatchEvent(
    133
    - 'retailops_shipment_invoice_before',
    134
    - array('record' => $invoice)
    135
    - );
    136
    -
    137
    - $invoiceResult = $this->_createInvoiceAndCapture(
    138
    - $order,
    139
    - $invoice->getItemsToInvoice(),
    140
    - $invoice->getComment(),
    141
    - $invoice->getEmail(),
    142
    - $invoice->getIncludeComment()
    143
    - );
    144
    -
    145
    - $invoiceResult = array($invoiceResult);
    146
    - }
    147
    - } else {
    148
    - if ($isFullyShipped) {
    149
    - /**
    150
    - * Capturing all available invoices if all order items are shipped
    151
    - */
    152
    - $invoiceResult = $this->_captureInvoices($invoices);
    153
    - }
    154
    - }
    155
    - $result['invoice_result'] = $invoiceResult;
    156
    - }
    157
    - } catch (Exception $e) {
    158
    - $result['status'] = RetailOps_Api_Helper_Data::API_STATUS_FAIL;
    159
    - $result['message'] = $e->getMessage();
    160
    - }
    161
    - $fullResult['records'][] = $result;
    162
    - }
    163
    -
    164
    - return $fullResult;
    165
    - }
    166
    -
    167
    - /**
    168
    - * @param array $ordersData
    169
    - * @return array
    170
    - */
    171
    - public function orderClose($ordersData)
    172
    - {
    173
    - $fullResult = array();
    174
    - $fullResult['records'] = array();
    175
    - if (isset($ordersData['records'])) {
    176
    - $ordersData = $ordersData['records'];
    177
    - }
    178
    - foreach ($ordersData as $orderData) {
    179
    - try {
    180
    - if (!empty($orderData['order_increment_id'])) {
    181
    - $result = array(
    182
    - 'order_increment_id' => $orderData['order_increment_id']
    183
    - );
    184
    - /** @var Mage_Sales_Model_Order $order */
    185
    - $order = Mage::getModel('sales/order');
    186
    - $order->loadByIncrementId($orderData['order_increment_id']);
    187
    - if (!$order->getId()) {
    188
    - throw new Exception('Order is not found');
    189
    - }
    190
    - Mage::dispatchEvent(
    191
    - 'retailops_order_close_before',
    192
    - array('order' => $order)
    193
    - );
    194
    - $items = $order->getAllItems();
    195
    - $itemsToReturn = array();
    196
    - $itemsToCancel = array();
    197
    - $itemsToCapture = array();
    198
    - /** @var $item Mage_Sales_Model_Order_Item */
    199
    - foreach ($items as $item) {
    200
    - $qtyToShip = $item->getQtyToShip();
    201
    - $qtyToInvoice = $item->getQtyToInvoice();
    202
    - if ($qtyToShip + $qtyToInvoice > 0) {
    203
    - if ($qtyToShip < $qtyToInvoice) {
    204
    - /**
    205
    - * If we have shipped more items than invoiced, capture the difference
    206
    - */
    207
    - $itemsToCapture[$item->getId()] = $qtyToInvoice - $qtyToShip;
    208
    - } elseif ($qtyToShip > $qtyToInvoice) {
    209
    - /**
    210
    - * If we have invoiced more items than shipped, return the difference
    211
    - */
    212
    - $itemsToReturn[$item->getId()] = $qtyToShip - $qtyToInvoice;
    213
    - }
    214
    - }
    215
    - }
    216
    - if ($itemsToCapture) {
    217
    - $result['invoice_result'] = $this->_createInvoiceAndCapture($order, $itemsToCapture);
    218
    - }
    219
    - if ($itemsToReturn) {
    220
    - $result['creditmemo_result'] = $this->_getCreditMemoApi()->create($order, array('qtys' => $itemsToReturn));
    221
    - }
    222
    - /**
    223
    - * Cancel the rest items if any
    224
    - */
    225
    - $order->registerCancellation(Mage::helper('retailops_api')->__('No more items will be shipped'));
    226
    - if (isset($orderData['retailops_status'])) {
    227
    - $order->setRetailopsStatus($orderData['retailops_status']);
    228
    - }
    229
    - $order->save();
    230
    - $result['status'] = RetailOps_Api_Helper_Data::API_STATUS_SUCCESS;
    231
    - }
    232
    - } catch (Exception $e) {
    233
    - $result['status'] = RetailOps_Api_Helper_Data::API_STATUS_FAIL;
    234
    - $result['message'] = $e->getMessage();
    235
    - }
    236
    - $fullResult['records'][] = $result;
    237
    - }
    238
    -
    239
    - return $fullResult;
    240
    - }
    241
    -
    242
    - /**
    243
    - * @return RetailOps_Api_Model_Return_Api
    244
    - */
    245
    - protected function _getCreditMemoApi()
    246
    - {
    247
    - return Mage::getModel('retailops_api/return_api');
    248
    - }
    249
    -
    250
    - /**
    251
    - * @param Mage_Sales_Model_Order $order
    252
    - * @param array $itemsQty
    253
    - * @param string $comment
    254
    - * @param bool $email
    255
    - * @param bool $includeComment
    256
    - * @return string
    257
    - */
    258
    - protected function _createInvoiceAndCapture($order, $itemsQty, $comment = null, $email = false, $includeComment = false)
    259
    - {
    260
    - /** @var $helper RetailOps_Api_Helper_Data */
    261
    - $helper = Mage::helper('retailops_api');
    262
    - try {
    263
    - $itemsQtyFomratted = array();
    264
    - if ($itemsQty) {
    265
    - foreach ($order->getAllItems() as $item) {
    266
    - $itemsQtyFomratted[$item->getId()] = isset($itemsQty[$item->getId()]) ? $itemsQty[$item->getId()] : 0;
    267
    - }
    268
    - }
    269
    - $invoice = $order->prepareInvoice($itemsQtyFomratted);
    270
    - $invoice->setRequestedCaptureCase(Mage_Sales_Model_Order_Invoice::CAPTURE_ONLINE);
    271
    - $invoice->register();
    272
    -
    273
    - if ($comment !== null) {
    274
    - $invoice->addComment($comment, $email);
    275
    - }
    276
    -
    277
    - if ($email) {
    278
    - $invoice->setEmailSent(true);
    279
    - }
    280
    -
    281
    - $invoice->getOrder()->setIsInProcess(true);
    282
    -
    283
    -
    284
    - $transactionSave = Mage::getModel('core/resource_transaction')
    285
    - ->addObject($invoice)
    286
    - ->addObject($invoice->getOrder())
    287
    - ->save();
    288
    -
    289
    - $invoice->sendEmail($email, ($includeComment ? $comment : ''));
    290
    -
    291
    - $result['invoice'] = $helper->removeObjectsFromResult($this->_getAttributes($invoice, 'invoice'));
    292
    - $result['items'] = array();
    293
    - foreach ($invoice->getAllItems() as $item) {
    294
    - $result['items'][] = $helper->removeObjectsFromResult($this->_getAttributes($item, 'invoice_item'));
    295
    - }
    296
    - $result['status'] = RetailOps_Api_Helper_Data::API_STATUS_SUCCESS;
    297
    - } catch (Exception $e) {
    298
    - $result['status'] = RetailOps_Api_Helper_Data::API_STATUS_FAIL;
    299
    - $result['message'] = $e->getMessage();
    300
    - }
    301
    -
    302
    - return $result;
    303
    - }
    304
    -
    305
    - /**
    306
    - * Check that there are no items left for shipping
    307
    - *
    308
    - * @param Mage_Sales_Model_Order $order $order
    309
    - * @return bool
    310
    - */
    311
    - protected function _checkAllItemsShipped($order)
    312
    - {
    313
    - $items = $order->getAllItems();
    314
    - /** @var $item Mage_Sales_Model_Order_Item */
    315
    - foreach ($items as $item) {
    316
    - if ($item->getQtyToShip()) {
    317
    - return false;
    318
    - }
    319
    - }
    320
    -
    321
    - return true;
    322
    - }
    323
    -
    324
    - /**
    325
    - * @param Mage_Sales_Model_Resource_Order_Invoice_Collection $invoices
    326
    - * @return array
    327
    - */
    328
    - protected function _captureInvoices($invoices)
    329
    - {
    330
    - $result = array();
    331
    - /** @var $invoice Mage_Sales_Model_Order_Invoice */
    332
    - foreach ($invoices as $invoice) {
    333
    - try {
    334
    - $invoiceResult = array();
    335
    - $invoiceResult['invoice_increment_id'] = $invoice->getIncrementId();
    336
    - if (!$invoice->canCapture()) {
    337
    - throw new Exception('Invoice cannot be captured.');
    338
    - }
    339
    - $invoice->capture();
    340
    - $invoice->getOrder()->setIsInProcess(true);
    341
    - $transactionSave = Mage::getModel('core/resource_transaction')
    342
    - ->addObject($invoice)
    343
    - ->addObject($invoice->getOrder())
    344
    - ->save();
    345
    - $invoiceResult['status'] = RetailOps_Api_Helper_Data::API_STATUS_SUCCESS;
    346
    - } catch (Exception $e) {
    347
    - $invoiceResult['message'] = $e->getMessage();
    348
    - $invoiceResult['status'] = RetailOps_Api_Helper_Data::API_STATUS_FAIL;
    349
    - }
    350
    - $result[] = $invoiceResult;
    351
    - }
    352
    -
    353
    - return $result;
    354
    - }
    355
    - }
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
    app/code/community/RetailOps/Api/Model/Shipment/Api.php.~84b644444a1b813b9b5956dbc9eeabb8577db950~ DELETED
    @@ -1,355 +0,0 @@
    1
    - <?php
    2
    - /**
    3
    - The MIT License (MIT)
    4
    -
    5
    - Copyright (c) 2015 Gud Technologies Incorporated (RetailOps by GüdTech)
    6
    -
    7
    - Permission is hereby granted, free of charge, to any person obtaining a copy
    8
    - of this software and associated documentation files (the "Software"), to deal
    9
    - in the Software without restriction, including without limitation the rights
    10
    - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    11
    - copies of the Software, and to permit persons to whom the Software is
    12
    - furnished to do so, subject to the following conditions:
    13
    -
    14
    - The above copyright notice and this permission notice shall be included in
    15
    - all copies or substantial portions of the Software.
    16
    -
    17
    - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    18
    - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    19
    - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    20
    - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    21
    - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    22
    - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    23
    - THE SOFTWARE.
    24
    - */
    25
    -
    26
    - class RetailOps_Api_Model_Shipment_Api extends Mage_Sales_Model_Order_Shipment_Api
    27
    - {
    28
    - /**
    29
    - * Creates shipment, adds track numbers, creates new invoices
    30
    - *
    31
    - * @param $shipments array
    32
    - * @return array
    33
    - */
    34
    - public function shipmentPush($shipments)
    35
    - {
    36
    - $fullResult = array();
    37
    - $fullResult['records'] = array();
    38
    - if (isset($shipments['records'])) {
    39
    - $shipments = $shipments['records'];
    40
    - }
    41
    - foreach ($shipments as $shipmentData) {
    42
    - $result = array();
    43
    - try{
    44
    - $shipment = new Varien_Object($shipmentData);
    45
    -
    46
    - Mage::dispatchEvent(
    47
    - 'retailops_shipment_process_before',
    48
    - array('record' => $shipment)
    49
    - );
    50
    -
    51
    - $result['order_increment_id'] = $shipment->getOrderIncrementId();
    52
    -
    53
    - $orderIncrementId = $shipment->getOrderIncrementId();
    54
    - $shipmentInfo = $shipment->getShipment();
    55
    - $trackInfo = isset($shipmentInfo['track']) ? $shipmentInfo['track'] : array();
    56
    - $invoiceInfo = isset($shipmentInfo['invoice']) ? $shipmentInfo['invoice'] : array();
    57
    - $shipmentIncrementId = null;
    58
    - // create shipment
    59
    - try {
    60
    - $shipmentResult = array();
    61
    - $shipmentIncrementId = $this->create($orderIncrementId,
    62
    - $shipmentInfo['qtys'],
    63
    - $shipmentInfo['comment'],
    64
    - $shipmentInfo['email'],
    65
    - $shipmentInfo['include_comment']
    66
    - );
    67
    -
    68
    - if ($shipmentIncrementId) {
    69
    - $shipmentResult['status'] = RetailOps_Api_Helper_Data::API_STATUS_SUCCESS;
    70
    - $shipmentResult['shipment_increment_id'] = $shipmentIncrementId;
    71
    - } else {
    72
    - $shipmentResult['status'] = RetailOps_Api_Helper_Data::API_STATUS_FAIL;
    73
    - $shipmentResult['message'] = Mage::helper('retailops_api')->__('Can not create shipment');
    74
    - }
    75
    - } catch (Mage_Core_Exception $e) {
    76
    - $shipmentResult['status'] = RetailOps_Api_Helper_Data::API_STATUS_FAIL;
    77
    - $shipmentResult['message'] = $e->getCustomMessage() ? $e->getCustomMessage() : $e->getMessage();
    78
    - }
    79
    -
    80
    - $result['shipment_result'] = $shipmentResult;
    81
    - if ($shipmentIncrementId) {
    82
    - if ($trackInfo) {
    83
    - $result['track_result'] = array();
    84
    - foreach ($trackInfo as $track) {
    85
    - // add shipment track
    86
    - try {
    87
    - $trackResult = array();
    88
    - $track = new Varien_Object($track);
    89
    -
    90
    - Mage::dispatchEvent(
    91
    - 'retailops_shipment_add_track_before',
    92
    - array('record' => $track)
    93
    - );
    94
    - $trackResult['track_number'] = $track->getData('track_number');
    95
    -
    96
    - $trackId = $this->addTrack($shipmentIncrementId,
    97
    - $track->getData('carrier'),
    98
    - $track->getData('title'),
    99
    - $track->getData('track_number')
    100
    - );
    101
    -
    102
    - $trackResult['status'] = RetailOps_Api_Helper_Data::API_STATUS_SUCCESS;
    103
    - $trackResult['track_id'] = $trackId;
    104
    - } catch (Mage_Core_Exception $e) {
    105
    - $trackResult['status'] = RetailOps_Api_Helper_Data::API_STATUS_FAIL;
    106
    - $trackResult['message'] = $e->getMessage();
    107
    - }
    108
    - $result['track_result'][] = $trackResult;
    109
    - }
    110
    - }
    111
    -
    112
    - // create invoice
    113
    - /** @var Mage_Sales_Model_Order $order */
    114
    - $order = Mage::getModel('sales/order');
    115
    - $order->loadByIncrementId($orderIncrementId);
    116
    - $isFullyShipped = $this->_checkAllItemsShipped($order);
    117
    - $invoices = $order->getInvoiceCollection();
    118
    - $invoiceResult = array();
    119
    - if ($order->canInvoice()) {
    120
    - $itemsToInvoice = array();
    121
    - if ($order->getPayment()->canCapturePartial()) {
    122
    - /**
    123
    - * If payment allows partial capture, trying to create invoice with shipped items only and capture it
    124
    - */
    125
    - $itemsToInvoice = $shipmentInfo['qtys'];
    126
    - }
    127
    - if (($itemsToInvoice || $isFullyShipped) && $invoiceInfo) {
    128
    -
    129
    - $invoice = new Varien_Object($invoiceInfo);
    130
    - $invoice->setData('items_to_invoice', $itemsToInvoice);
    131
    -
    132
    - Mage::dispatchEvent(
    133
    - 'retailops_shipment_invoice_before',
    134
    - array('record' => $invoice)
    135
    - );
    136
    -
    137
    - $invoiceResult = $this->_createInvoiceAndCapture(
    138
    - $order,
    139
    - $invoice->getItemsToInvoice(),
    140
    - $invoice->getComment(),
    141
    - $invoice->getEmail(),
    142
    - $invoice->getIncludeComment()
    143
    - );
    144
    -
    145
    - $invoiceResult = array($invoiceResult);
    146
    - }
    147
    - } else {
    148
    - if ($isFullyShipped) {
    149
    - /**
    150
    - * Capturing all available invoices if all order items are shipped
    151
    - */
    152
    - $invoiceResult = $this->_captureInvoices($invoices);
    153
    - }
    154
    - }
    155
    - $result['invoice_result'] = $invoiceResult;
    156
    - }
    157
    - } catch (Exception $e) {
    158
    - $result['status'] = RetailOps_Api_Helper_Data::API_STATUS_FAIL;
    159
    - $result['message'] = $e->getMessage();
    160
    - }
    161
    - $fullResult['records'][] = $result;
    162
    - }
    163
    -
    164
    - return $fullResult;
    165
    - }
    166
    -
    167
    - /**
    168
    - * @param array $ordersData
    169
    - * @return array
    170
    - */
    171
    - public function orderClose($ordersData)
    172
    - {
    173
    - $fullResult = array();
    174
    - $fullResult['records'] = array();
    175
    - if (isset($ordersData['records'])) {
    176
    - $ordersData = $ordersData['records'];
    177
    - }
    178
    - foreach ($ordersData as $orderData) {
    179
    - try {
    180
    - if (!empty($orderData['order_increment_id'])) {
    181
    - $result = array(
    182
    - 'order_increment_id' => $orderData['order_increment_id']
    183
    - );
    184
    - /** @var Mage_Sales_Model_Order $order */
    185
    - $order = Mage::getModel('sales/order');
    186
    - $order->loadByIncrementId($orderData['order_increment_id']);
    187
    - if (!$order->getId()) {
    188
    - throw new Exception('Order is not found');
    189
    - }
    190
    - Mage::dispatchEvent(
    191
    - 'retailops_order_close_before',
    192
    - array('order' => $order)
    193
    - );
    194
    - $items = $order->getAllItems();
    195
    - $itemsToReturn = array();
    196
    - $itemsToCancel = array();
    197
    - $itemsToCapture = array();
    198
    - /** @var $item Mage_Sales_Model_Order_Item */
    199
    - foreach ($items as $item) {
    200
    - $qtyToShip = $item->getQtyToShip();
    201
    - $qtyToInvoice = $item->getQtyToInvoice();
    202
    - if ($qtyToShip + $qtyToInvoice > 0) {
    203
    - if ($qtyToShip < $qtyToInvoice) {
    204
    - /**
    205
    - * If we have shipped more items than invoiced, capture the difference
    206
    - */
    207
    - $itemsToCapture[$item->getId()] = $qtyToInvoice - $qtyToShip;
    208
    - } elseif ($qtyToShip > $qtyToInvoice) {
    209
    - /**
    210
    - * If we have invoiced more items than shipped, return the difference
    211
    - */
    212
    - $itemsToReturn[$item->getId()] = $qtyToShip - $qtyToInvoice;
    213
    - }
    214
    - }
    215
    - }
    216
    - if ($itemsToCapture) {
    217
    - $result['invoice_result'] = $this->_createInvoiceAndCapture($order, $itemsToCapture);
    218
    - }
    219
    - if ($itemsToReturn) {
    220
    - $result['creditmemo_result'] = $this->_getCreditMemoApi()->create($order, array('qtys' => $itemsToReturn));
    221
    - }
    222
    - /**
    223
    - * Cancel the rest items if any
    224
    - */
    225
    - $order->registerCancellation(Mage::helper('retailops_api')->__('No more items will be shipped'));
    226
    - if (isset($orderData['retailops_status'])) {
    227
    - $order->setRetailopsStatus($orderData['retailops_status']);
    228
    - }
    229
    - $order->save();
    230
    - $result['status'] = RetailOps_Api_Helper_Data::API_STATUS_SUCCESS;
    231
    - }
    232
    - } catch (Exception $e) {
    233
    - $result['status'] = RetailOps_Api_Helper_Data::API_STATUS_FAIL;
    234
    - $result['message'] = $e->getMessage();
    235
    - }
    236
    - $fullResult['records'][] = $result;
    237
    - }
    238
    -
    239
    - return $fullResult;
    240
    - }
    241
    -
    242
    - /**
    243
    - * @return RetailOps_Api_Model_Return_Api
    244
    - */
    245
    - protected function _getCreditMemoApi()
    246
    - {
    247
    - return Mage::getModel('retailops_api/return_api');
    248
    - }
    249
    -
    250
    - /**
    251
    - * @param Mage_Sales_Model_Order $order
    252
    - * @param array $itemsQty
    253
    - * @param string $comment
    254
    - * @param bool $email
    255
    - * @param bool $includeComment
    256
    - * @return string
    257
    - */
    258
    - protected function _createInvoiceAndCapture($order, $itemsQty, $comment = null, $email = false, $includeComment = false)
    259
    - {
    260
    - /** @var $helper RetailOps_Api_Helper_Data */
    261
    - $helper = Mage::helper('retailops_api');
    262
    - try {
    263
    - $itemsQtyFomratted = array();
    264
    - if ($itemsQty) {
    265
    - foreach ($order->getAllItems() as $item) {
    266
    - $itemsQtyFomratted[$item->getId()] = isset($itemsQty[$item->getId()]) ? $itemsQty[$item->getId()] : 0;
    267
    - }
    268
    - }
    269
    - $invoice = $order->prepareInvoice($itemsQtyFomratted);
    270
    - $invoice->setRequestedCaptureCase(Mage_Sales_Model_Order_Invoice::CAPTURE_ONLINE);
    271
    - $invoice->register();
    272
    -
    273
    - if ($comment !== null) {
    274
    - $invoice->addComment($comment, $email);
    275
    - }
    276
    -
    277
    - if ($email) {
    278
    - $invoice->setEmailSent(true);
    279
    - }
    280
    -
    281
    - $invoice->getOrder()->setIsInProcess(true);
    282
    -
    283
    -
    284
    - $transactionSave = Mage::getModel('core/resource_transaction')
    285
    - ->addObject($invoice)
    286
    - ->addObject($invoice->getOrder())
    287
    - ->save();
    288
    -
    289
    - $invoice->sendEmail($email, ($includeComment ? $comment : ''));
    290
    -
    291
    - $result['invoice'] = $helper->removeObjectsFromResult($this->_getAttributes($invoice, 'invoice'));
    292
    - $result['items'] = array();
    293
    - foreach ($invoice->getAllItems() as $item) {
    294
    - $result['items'][] = $helper->removeObjectsFromResult($this->_getAttributes($item, 'invoice_item'));
    295
    - }
    296
    - $result['status'] = RetailOps_Api_Helper_Data::API_STATUS_SUCCESS;
    297
    - } catch (Exception $e) {
    298
    - $result['status'] = RetailOps_Api_Helper_Data::API_STATUS_FAIL;
    299
    - $result['message'] = $e->getMessage();
    300
    - }
    301
    -
    302
    - return $result;
    303
    - }
    304
    -
    305
    - /**
    306
    - * Check that there are no items left for shipping
    307
    - *
    308
    - * @param Mage_Sales_Model_Order $order $order
    309
    - * @return bool
    310
    - */
    311
    - protected function _checkAllItemsShipped($order)
    312
    - {
    313
    - $items = $order->getAllItems();
    314
    - /** @var $item Mage_Sales_Model_Order_Item */
    315
    - foreach ($items as $item) {
    316
    - if ($item->getQtyToShip()) {
    317
    - return false;
    318
    - }
    319
    - }
    320
    -
    321
    - return true;
    322
    - }
    323
    -
    324
    - /**
    325
    - * @param Mage_Sales_Model_Resource_Order_Invoice_Collection $invoices
    326
    - * @return array
    327
    - */
    328
    - protected function _captureInvoices($invoices)
    329
    - {
    330
    - $result = array();
    331
    - /** @var $invoice Mage_Sales_Model_Order_Invoice */
    332
    - foreach ($invoices as $invoice) {
    333
    - try {
    334
    - $invoiceResult = array();
    335
    - $invoiceResult['invoice_increment_id'] = $invoice->getIncrementId();
    336
    - if ($invoice->canCapture()) {
    337
    - throw new Exception('Invoice cannot be captured.');
    338
    - }
    339
    - $invoice->capture();
    340
    - $invoice->getOrder()->setIsInProcess(true);
    341
    - $transactionSave = Mage::getModel('core/resource_transaction')
    342
    - ->addObject($invoice)
    343
    - ->addObject($invoice->getOrder())
    344
    - ->save();
    345
    - $invoiceResult['status'] = RetailOps_Api_Helper_Data::API_STATUS_SUCCESS;
    346
    - } catch (Exception $e) {
    347
    - $invoiceResult['message'] = $e->getMessage();
    348
    - $invoiceResult['status'] = RetailOps_Api_Helper_Data::API_STATUS_FAIL;
    349
    - }
    350
    - $result[] = $invoiceResult;
    351
    - }
    352
    -
    353
    - return $result;
    354
    - }
    355
    - }
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
    app/code/community/RetailOps/Api/etc/config.xml CHANGED
    @@ -25,7 +25,7 @@ THE SOFTWARE.
    25
      <config>
    26
      <modules>
    27
      <RetailOps_Api>
    28
    - <version>1.0.3</version>
    29
      </RetailOps_Api>
    30
      </modules>
    31
      <global>
    25
      <config>
    26
      <modules>
    27
      <RetailOps_Api>
    28
    + <version>1.0.4</version>
    29
      </RetailOps_Api>
    30
      </modules>
    31
      <global>
    app/code/community/RetailOps/Api/etc/config.xml~ DELETED
    @@ -1,117 +0,0 @@
    1
    - <?xml version="1.0"?>
    2
    - <!--
    3
    - The MIT License (MIT)
    4
    -
    5
    - Copyright (c) 2015 Gud Technologies Incorporated (RetailOps by GüdTech)
    6
    -
    7
    - Permission is hereby granted, free of charge, to any person obtaining a copy
    8
    - of this software and associated documentation files (the "Software"), to deal
    9
    - in the Software without restriction, including without limitation the rights
    10
    - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    11
    - copies of the Software, and to permit persons to whom the Software is
    12
    - furnished to do so, subject to the following conditions:
    13
    -
    14
    - The above copyright notice and this permission notice shall be included in
    15
    - all copies or substantial portions of the Software.
    16
    -
    17
    - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    18
    - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    19
    - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    20
    - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    21
    - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    22
    - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    23
    - THE SOFTWARE.
    24
    - -->
    25
    - <config>
    26
    - <modules>
    27
    - <RetailOps_Api>
    28
    - <version>1.0.3</version>
    29
    - </RetailOps_Api>
    30
    - </modules>
    31
    - <global>
    32
    - <helpers>
    33
    - <retailops_api>
    34
    - <class>RetailOps_Api_Helper</class>
    35
    - </retailops_api>
    36
    - </helpers>
    37
    - <models>
    38
    - <retailops_api>
    39
    - <class>RetailOps_Api_Model</class>
    40
    - <resourceModel>retailops_api_resource</resourceModel>
    41
    - </retailops_api>
    42
    - <retailops_api_resource>
    43
    - <class>RetailOps_Api_Model_Resource</class>
    44
    - <entities>
    45
    - <order_status_history>
    46
    - <table>retailops_order_status_history</table>
    47
    - </order_status_history>
    48
    - <media_import>
    49
    - <table>retailops_media_import</table>
    50
    - </media_import>
    51
    - </entities>
    52
    - </retailops_api_resource>
    53
    - </models>
    54
    - <blocks>
    55
    - <retailops_api>
    56
    - <class>RetailOps_Api_Block</class>
    57
    - </retailops_api>
    58
    - </blocks>
    59
    - <resources>
    60
    - <retailops_api_setup>
    61
    - <setup>
    62
    - <module>RetailOps_Api</module>
    63
    - <class>Mage_Core_Model_Resource_Setup</class>
    64
    - </setup>
    65
    - </retailops_api_setup>
    66
    - </resources>
    67
    - <events>
    68
    - <sales_order_payment_place_end>
    69
    - <observers>
    70
    - <update_retailops_status>
    71
    - <class>retailops_api/observer</class>
    72
    - <method>updateRetailopsStatus</method>
    73
    - </update_retailops_status>
    74
    - </observers>
    75
    - </sales_order_payment_place_end>
    76
    - </events>
    77
    - </global>
    78
    - <admin>
    79
    - <routers>
    80
    - <adminhtml>
    81
    - <args>
    82
    - <modules>
    83
    - <RetailOps_Api after="Mage_Adminhtml">RetailOps_Api_Adminhtml</RetailOps_Api>
    84
    - </modules>
    85
    - </args>
    86
    - </adminhtml>
    87
    - </routers>
    88
    - </admin>
    89
    - <adminhtml>
    90
    - <layout>
    91
    - <updates>
    92
    - <retailops_api>
    93
    - <file>retailops.xml</file>
    94
    - </retailops_api>
    95
    - </updates>
    96
    - </layout>
    97
    - </adminhtml>
    98
    - <frontend>
    99
    - </frontend>
    100
    - <crontab>
    101
    - <jobs>
    102
    - <retailops_media_download>
    103
    - <schedule><cron_expr>*/5 * * * *</cron_expr></schedule>
    104
    - <run>
    105
    - <model>retailops_api/observer::downloadProductImages</model>
    106
    - </run>
    107
    - </retailops_media_download>
    108
    - </jobs>
    109
    - </crontab>
    110
    - <default>
    111
    - <retailops_settings>
    112
    - <catalog>
    113
    - <media_processing_products_limit>10</media_processing_products_limit>
    114
    - </catalog>
    115
    - </retailops_settings>
    116
    - </default>
    117
    - </config>
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
    app/code/community/RetailOps/Api/sql/retailops_api_setup/upgrade-1.0.2-1.0.3.php~ DELETED
    @@ -1,53 +0,0 @@
    1
    - <?php
    2
    - /**
    3
    - The MIT License (MIT)
    4
    -
    5
    - Copyright (c) 2015 Gud Technologies Incorporated (RetailOps by GüdTech)
    6
    -
    7
    - Permission is hereby granted, free of charge, to any person obtaining a copy
    8
    - of this software and associated documentation files (the "Software"), to deal
    9
    - in the Software without restriction, including without limitation the rights
    10
    - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    11
    - copies of the Software, and to permit persons to whom the Software is
    12
    - furnished to do so, subject to the following conditions:
    13
    -
    14
    - The above copyright notice and this permission notice shall be included in
    15
    - all copies or substantial portions of the Software.
    16
    -
    17
    - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    18
    - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    19
    - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    20
    - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    21
    - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    22
    - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    23
    - THE SOFTWARE.
    24
    - */
    25
    -
    26
    - $installer = $this;
    27
    -
    28
    - $installer->startSetup();
    29
    -
    30
    - $table = $installer->getConnection()
    31
    - ->newTable($installer->getTable('retailops_api/media_import'))
    32
    - ->addColumn('entity_id', Varien_Db_Ddl_Table::TYPE_INTEGER, null, array(
    33
    - 'identity' => true,
    34
    - 'unsigned' => true,
    35
    - 'nullable' => false,
    36
    - 'primary' => true,
    37
    - ), 'Entity Id')
    38
    - ->addColumn('product_id', Varien_Db_Ddl_Table::TYPE_INTEGER, null, array(
    39
    - 'unsigned' => true,
    40
    - 'nullable' => false,
    41
    - ), 'Product Id')
    42
    - ->addColumn('unset_other_media', Varien_Db_Ddl_Table::TYPE_TINYINT, null, array(
    43
    - ), 'Unset other media flag')
    44
    - ->addColumn('media_data', Varien_Db_Ddl_Table::TYPE_TEXT, '64k', array(
    45
    - ), 'Full Media Data')
    46
    - ->addForeignKey($installer->getFkName('retailops_api/media_import', 'product_id', 'catalog/product', 'entity_id'),
    47
    - 'product_id', $installer->getTable('catalog/product'), 'entity_id',
    48
    - Varien_Db_Ddl_Table::ACTION_CASCADE, Varien_Db_Ddl_Table::ACTION_CASCADE)
    49
    - ->setComment('RetailOps Media Update Table');
    50
    -
    51
    - $installer->getConnection()->createTable($table);
    52
    -
    53
    - $installer->endSetup();
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
    app/code/community/RetailOps/Model/Observer.php DELETED
    @@ -1,18 +0,0 @@
    1
    - <?php
    2
    -
    3
    - class RetailOps_Model_Observer
    4
    - {
    5
    - /*
    6
    - * Transfer MyGiftCardPlugin amount to 'gift_cards_amount' for RetailOps Orders
    7
    - */
    8
    - public function transferMyGiftCardValue(Varien_Event_Observer $observer) {
    9
    - file_put_contents('/tmp/magento_gift_card_test', "transferMyGiftCardValue observer " . var_export($observer, TRUE) . "\n", FILE_APPEND);
    10
    - $record = $observer->getEvent()->getRecord();
    11
    - $orderInfo = $record->getOrderInfo();
    12
    - // $orderInfo->setGiftCardsAmount($orderInfo->getMyGiftCardAmount());
    13
    - $orderInfo->setGiftCardsAmount('100');
    14
    - $record->setOrderInfo($orderInfo);
    15
    - }
    16
    - }
    17
    -
    18
    - ?>
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
    app/code/community/RetailOps/Model/Observer.php~ DELETED
    @@ -1,17 +0,0 @@
    1
    - <?php
    2
    -
    3
    - class Acme_Model_Observer
    4
    - {
    5
    - /*
    6
    - * Transfer MyGiftCardPlugin amount to 'gift_cards_amount' for RetailOps Orders
    7
    - */
    8
    - public function transferMyGiftCardValue(Varien_Event_Observer $observer) {
    9
    - $record = $observer->getEvent()->getRecord();
    10
    - $orderInfo = $record->getOrderInfo();
    11
    - // $orderInfo->setGiftCardsAmount($orderInfo->getMyGiftCardAmount());
    12
    - $orderInfo->setGiftCardsAmount('100');
    13
    - $record->setOrderInfo($orderInfo);
    14
    - }
    15
    - }
    16
    -
    17
    - ?>
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
    package.xml CHANGED
    @@ -1,33 +1,30 @@
    1
      <?xml version="1.0"?>
    2
      <package>
    3
      <name>RetailOps_Api</name>
    4
    - <version>1.0.3</version>
    5
      <stability>stable</stability>
    6
    - <license uri="https://opensource.org/licenses/MIT">MIT</license>
    7
      <channel>community</channel>
    8
      <extends/>
    9
    - <summary>Seamless integration with the RetailOps distributed order management platform</summary>
    10
    - <description>RetailOps Magento Extension - The Ultimate Tools for Retail&#xD;
    11
    - &#xD;
     
    12
      When it comes to modern retail, best-of-breed is broken. Retailers today are forced to string together disjointed, legacy software to run their businesses because nothing better exists. RetailOps&#x2019; cloud-based platform addresses the unique challenges facing eCommerce and Omni-Channel retailers today. Our philosophy is simple; create software that doesn't get in the way and makes the modern retailer's life easier and more profitable.&#xD;
    13
    - &#xD;
    14
    - The RetailOps Magento extension allows for a seamless integration with RetailOps, offering unparalleled performance and flexibility.&#xD;
    15
    - &#xD;
    16
    - For more details or to sign up for a demo, visit: http://www.retailops.com</description>
    17
    - <notes>* Fix for duplicate attribute options.&#xD;
    18
    - * Limited retry on image remote copy failure.&#xD;
    19
    - * Fix to update image attributes even if image itself already exists.&#xD;
    20
    - * Fix for inability to update or add more than one image to a sku.&#xD;
    21
    - * Fix for case insensitivity on attribute sets.&#xD;
    22
    - * Locate existing shipment before creating a new shipment.&#xD;
    23
    - * Don't add tracking if shipment already has tracking number.&#xD;
    24
    - * Fix for erroneous invoice captures.&#xD;
    25
    - * Added retailops_hold status.&#xD;
    26
    - </notes>
    27
    - <authors><author><name>RetailOps</name><user>RetailOps</user><email>daniel@retailops.com</email></author></authors>
    28
    - <date>2015-09-14</date>
    29
    - <time>23:48:56</time>
    30
    - <contents><target name="mageetc"><dir name="modules"><file name="RetailOps_Api.xml" hash="4efaf09b352f1f122f0af83342bdef07"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="retailops"><dir name="order"><dir name="view"><dir name="tab"><file name="retailops.phtml" hash="51d17085f74fb4ad1e09b987d7a0e733"/></dir></dir></dir></dir></dir><dir name="layout"><file name="retailops.xml" hash="8879a617964a66e0e02731e262234637"/></dir></dir></dir></dir></target><target name="magecommunity"><dir name="RetailOps"><dir name="Api"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="View"><dir name="Tab"><file name="Retailops.php" hash="27e0a91fcf5c0aaac5a545c16574465e"/></dir></dir></dir></dir></dir></dir><file name="Exception.php" hash="921703ce05b3e8d630fc8a36baa25d12"/><dir name="Helper"><file name="Data.php" hash="cb10d1f57ba9b7f96bd77b106c950a83"/></dir><dir name="Model"><file name="Api.php" hash="65e9e16cb8ee9c75c746d689f7f9e03e"/><dir name="Catalog"><dir name="Adapter"><file name="Abstract.php" hash="61a561a95bb40071d4bb7c2e02e63c46"/><file name="Attribute.php" hash="6fa97e2e8af011979c3600c877e81dea"/><file name="Bundle.php" hash="6777aa2ba12fdec543713cae97d50fe3"/><file name="Category.php" hash="4bf0053cd77d2f0a4a0094b67414169c"/><file name="Configurable.php" hash="91a5984f2e59a062f39f118aaa8a3bd5"/><file name="Default.php" hash="fcb2b32e6e4d008292d84caee9bdf240"/><file name="Downloadable.php" hash="dd2d4cf7650268861175c5cecf6ed1f2"/><file name="Link.php" hash="887104e69a274352867286c194172a8f"/><file name="Media.php" hash="4ba7f7e4f18cd055d86b73120c2b96a5"/><file name="Option.php" hash="d33d2a018f3ba2aa9460ec208df7fb95"/><file name="Tag.php" hash="615eff9ad88ab0c33122cb423f51fa67"/></dir><file name="Api.php" hash="b0b25c3897d67bc3bb6967d569a9ebb6"/><file name="Exception.php" hash="9a1ea92e48522ddaaa24e42dde94d0ef"/><dir name="Media"><file name="Item.php" hash="cf68048a5a9284fa2e3a50749b41235d"/></dir><dir name="Pull"><file name="Api.php" hash="b183269002499dfa29ad692904f41949"/></dir><dir name="Push"><file name="Api.php" hash="cc71f946efdd5d8e96cb68980e011262"/><dir name="Downloadable"><file name="Validator.php" hash="a2b4eb49b62e212eae06a0f55dfa393e"/></dir></dir></dir><dir name="Inventory"><file name="Api.php" hash="176ab5a377d1ca993791ca1f48af5f90"/></dir><file name="Observer.php" hash="7ef2c195010ae4c81b676d3c177e23e5"/><file name="Observer2.php~" hash="7ef2c195010ae4c81b676d3c177e23e5"/><dir name="Order"><file name="Api.php" hash="69beaf68afc724619a7dffbf923f0d08"/><dir name="Status"><file name="History.php" hash="39aae107a2029de67ecb01477508f271"/></dir></dir><dir name="Resource"><file name="Api.php" hash="168233c0b41251b67a20d0c8a32396ea"/><dir name="Catalog"><dir name="Media"><dir name="Item"><file name="Collection.php" hash="5938f25540bd59e75538eda614637179"/></dir><file name="Item.php" hash="eb3292a63811de285d2f44a6cb0dd630"/></dir></dir><dir name="Order"><dir name="Status"><dir name="History"><file name="Collection.php" hash="7427e972c92a5a435b772779a5548d29"/></dir><file name="History.php" hash="eab86f946bd58e5ab86d1cca21eee435"/></dir></dir></dir><dir name="Return"><file name="Api.php" hash="30ca168255518611669ac2e79067af5c"/></dir><dir name="Shipment"><file name="Api.php" hash="c0e471e66f14d29757b91479cdb6dc60"/><file name="Api.php.~80d30a79e43e602a0b5b5da0b2b1a8007dc0ada9~" hash="e1475ba8ce8216e0da57d45ae167246f"/><file name="Api.php.~84b644444a1b813b9b5956dbc9eeabb8577db950~" hash="8704e365691335f82eac3d3636539d35"/></dir><dir name="System"><dir name="Config"><dir name="Source"><dir name="Catalog"><file name="AttributeSet.php" hash="a158e6ee2971b6464a184f6f07d2a5dd"/></dir></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Sales"><file name="OrderController.php" hash="9b620414e2f98a6764f803bdaa7d01d3"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="60053ceed8f5e0d8d175331fb239c7f5"/><file name="api.xml" hash="32f6e0212a770054748aefd338bb2c85"/><file name="config.xml" hash="1336116e03068593f3d971fb49d619d4"/><file name="config.xml~" hash="1336116e03068593f3d971fb49d619d4"/><file name="system.xml" hash="5840692fb14c6d5d7848753bce79aa53"/></dir><dir name="sql"><dir name="retailops_api_setup"><file name="install-1.0.0.php" hash="3edc90b95f4219c9508be3de6a86dda1"/><file name="upgrade-1.0.0-1.0.1.php" hash="63724e6209e0ef59696ffdd6a14dc738"/><file name="upgrade-1.0.1-1.0.2.php" hash="a5c7795cd35f9af984c729bd3d3cd18a"/><file name="upgrade-1.0.2-1.0.3.php" hash="3987d4fda58f7545469700df599b050a"/><file name="upgrade-1.0.2-1.0.3.php~" hash="a5c7795cd35f9af984c729bd3d3cd18a"/></dir></dir></dir><dir name="Model"><file name="Observer.php" hash="5d53ef3a3901d287ea7368606ce081f4"/><file name="Observer.php~" hash="ac545a977d4b202444e5af526188f9b3"/></dir></dir></target></contents>
    31
      <compatible/>
    32
    - <dependencies><required><php><min>5.4.0</min><max>5.6.13</max></php></required></dependencies>
    33
      </package>
    1
      <?xml version="1.0"?>
    2
      <package>
    3
      <name>RetailOps_Api</name>
    4
    + <version>1.0.4</version>
    5
      <stability>stable</stability>
    6
    + <license uri="https://opensource.org/licenses/MIT">Massachusetts Institute of Technology License (MITL)</license>
    7
      <channel>community</channel>
    8
      <extends/>
    9
    + <summary>Seamless Magento integration with the RetailOps distributed order management platform.</summary>
    10
    + <description>&lt;h2&gt;RetailOps&lt;/h2&gt;&#xD;
    11
    + RetailOps and the RetailOps Extension for Magento - The Ultimate Tools for Retail&#xD;
    12
    + &lt;br&gt;&lt;br&gt;&#xD;
    13
      When it comes to modern retail, best-of-breed is broken. Retailers today are forced to string together disjointed, legacy software to run their businesses because nothing better exists. RetailOps&#x2019; cloud-based platform addresses the unique challenges facing eCommerce and Omni-Channel retailers today. Our philosophy is simple; create software that doesn't get in the way and makes the modern retailer's life easier and more profitable.&#xD;
    14
    + &lt;br&gt;&lt;br&gt;&#xD;
    15
    + The RetailOps extension for Magento allows for a seamless integration with RetailOps, offering unparalleled performance and flexibility. Additional API actions are offered to extend Magento's core functionality. &#xD;
    16
    + &lt;br&gt;&lt;br&gt;&#xD;
    17
    + The functionality provided by the RetailOps extension for Magento includes catalog and inventory data export from RetailOps to Magento, Magento order processing including import into RetailOps, status updates, shipment tracking, item returns and order cancelations.&#xD;
    18
    + &lt;br&gt;&lt;br&gt;&#xD;
    19
    + For more details or to sign up for a demo, visit: &lt;a href="http://www.retailops.com"&gt;http://www.retailops.com&lt;/a&gt;</description>
    20
    + <notes>&lt;li&gt;Update inventory on catalog updates&lt;/li&gt;&#xD;
    21
    + &lt;li&gt;Increase robustness of image download process&lt;/li&gt;&#xD;
    22
    + &lt;li&gt;Support for refunds issued to RetailOps store credit&lt;/li&gt;&#xD;
    23
    + &lt;li&gt;Support for offline payments&lt;/li&gt;</notes>
    24
    + <authors><author><name>Daniel Norman</name><user>dnorman</user><email>daniel@retailops.com</email></author></authors>
    25
    + <date>2016-02-20</date>
    26
    + <time>02:04:13</time>
    27
    + <contents><target name="mageetc"><dir name="modules"><file name="RetailOps_Api.xml" hash="4efaf09b352f1f122f0af83342bdef07"/></dir></target><target name="magecommunity"><dir name="RetailOps"><dir name="Api"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="View"><dir name="Tab"><file name="Retailops.php" hash="27e0a91fcf5c0aaac5a545c16574465e"/></dir></dir></dir></dir></dir></dir><file name="Exception.php" hash="921703ce05b3e8d630fc8a36baa25d12"/><dir name="Helper"><file name="Data.php" hash="cb10d1f57ba9b7f96bd77b106c950a83"/></dir><dir name="Model"><file name="Api.php" hash="65e9e16cb8ee9c75c746d689f7f9e03e"/><dir name="Catalog"><dir name="Adapter"><file name="Abstract.php" hash="61a561a95bb40071d4bb7c2e02e63c46"/><file name="Attribute.php" hash="6fa97e2e8af011979c3600c877e81dea"/><file name="Bundle.php" hash="6777aa2ba12fdec543713cae97d50fe3"/><file name="Category.php" hash="4bf0053cd77d2f0a4a0094b67414169c"/><file name="Configurable.php" hash="91a5984f2e59a062f39f118aaa8a3bd5"/><file name="Default.php" hash="c0e88b545e55867213795db1801601a1"/><file name="Downloadable.php" hash="dd2d4cf7650268861175c5cecf6ed1f2"/><file name="Link.php" hash="887104e69a274352867286c194172a8f"/><file name="Media.php" hash="56557538d68dd92c951c7363c024c128"/><file name="Media.php.newest~" hash="ed58402ae92e879ce06b4aa21acea7b5"/><file name="Option.php" hash="d33d2a018f3ba2aa9460ec208df7fb95"/><file name="Tag.php" hash="615eff9ad88ab0c33122cb423f51fa67"/><file name="media_cron.php~" hash="f5277fe4484634b8a8e4b3bcb8771ec8"/><file name="media_debug.log~" hash="2834c26d919533192b8a2af9617b9b82"/></dir><file name="Api.php" hash="b0b25c3897d67bc3bb6967d569a9ebb6"/><file name="Exception.php" hash="9a1ea92e48522ddaaa24e42dde94d0ef"/><dir name="Media"><file name="Item.php" hash="cf68048a5a9284fa2e3a50749b41235d"/></dir><dir name="Pull"><file name="Api.php" hash="b183269002499dfa29ad692904f41949"/></dir><dir name="Push"><file name="Api.php" hash="af7fcd65e4d6db054c0b9879673e18f5"/><dir name="Downloadable"><file name="Validator.php" hash="a2b4eb49b62e212eae06a0f55dfa393e"/></dir></dir></dir><dir name="Inventory"><file name="Api.php" hash="ae5f0249d92b6582e04729a749cb6168"/></dir><file name="Observer.php" hash="7ef2c195010ae4c81b676d3c177e23e5"/><dir name="Order"><file name="Api.php" hash="69beaf68afc724619a7dffbf923f0d08"/><dir name="Status"><file name="History.php" hash="39aae107a2029de67ecb01477508f271"/></dir></dir><dir name="Resource"><file name="Api.php" hash="83f50069a00347b93b0825106f246a5a"/><dir name="Catalog"><dir name="Media"><dir name="Item"><file name="Collection.php" hash="5938f25540bd59e75538eda614637179"/></dir><file name="Item.php" hash="eb3292a63811de285d2f44a6cb0dd630"/></dir></dir><dir name="Order"><dir name="Status"><dir name="History"><file name="Collection.php" hash="7427e972c92a5a435b772779a5548d29"/></dir><file name="History.php" hash="eab86f946bd58e5ab86d1cca21eee435"/></dir></dir></dir><dir name="Return"><file name="Api.php" hash="308188198efbba49e9f8c15938740d45"/></dir><dir name="Shipment"><file name="Api.php" hash="12067a3fa824bcd6ddd0ca27fafda12c"/></dir><dir name="System"><dir name="Config"><dir name="Source"><dir name="Catalog"><file name="AttributeSet.php" hash="a158e6ee2971b6464a184f6f07d2a5dd"/></dir></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Sales"><file name="OrderController.php" hash="9b620414e2f98a6764f803bdaa7d01d3"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="60053ceed8f5e0d8d175331fb239c7f5"/><file name="api.xml" hash="32f6e0212a770054748aefd338bb2c85"/><file name="config.xml" hash="0c914859196cadb162be6777ac664f35"/><file name="system.xml" hash="5840692fb14c6d5d7848753bce79aa53"/></dir><dir name="sql"><dir name="retailops_api_setup"><file name="install-1.0.0.php" hash="3edc90b95f4219c9508be3de6a86dda1"/><file name="upgrade-1.0.0-1.0.1.php" hash="63724e6209e0ef59696ffdd6a14dc738"/><file name="upgrade-1.0.1-1.0.2.php" hash="a5c7795cd35f9af984c729bd3d3cd18a"/><file name="upgrade-1.0.2-1.0.3.php" hash="3987d4fda58f7545469700df599b050a"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="retailops"><dir name="order"><dir name="view"><dir name="tab"><file name="retailops.phtml" hash="51d17085f74fb4ad1e09b987d7a0e733"/></dir></dir></dir></dir></dir><dir name="layout"><file name="retailops.xml" hash="8879a617964a66e0e02731e262234637"/></dir></dir></dir></dir></target></contents>
     
     
     
     
    28
      <compatible/>
    29
    + <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
    30
      </package>