Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php /** * The technical support is guaranteed for all modules proposed by Wyomind. ..
Decoded Output download
<?php
/**
* The technical support is guaranteed for all modules proposed by Wyomind.
* The below code is obfuscated in order to protect the module's copyright as well as the integrity of the license and of the source code.
* The support cannot apply if modifications have been made to the original source code (https://www.wyomind.com/terms-and-conditions.html).
* Nonetheless, Wyomind remains available to answer any question you might have and find the solutions adapted to your needs.
* Feel free to contact our technical team from your Wyomind account in My account > My tickets.
* Copyright 2017 Wyomind. All rights reserved.
* See LICENSE.txt for license details.
*/
class Wyomind_Elasticsearch_Helper_Indexer_Product extends Wyomind_Elasticsearch_Helper_Indexer_Abstract {
public $x25 = null;
public $x04 = null;
public $xf2 = null;
protected $_searchableAttributes;
protected $_blockClass = 'Wyomind_Elasticsearch_Block_Autocomplete_Product';
private $x801 = null;
public $error = "Elasticsearch Product Index : Invalid License!";
public function __construct() {
$x3c91 = "helper";
$x3cb8 = "getModel";
$x457f = "app";
$x42b8 = "getSingleton";
$x3efd = "getStoreConfig";
$x4393 = "getResourceModel";
$x453f = "dispatchEvent";
$x45a5 = "getStoreConfigFlag";
$this->_construct();
}
public function _construct() {
$x3c91 = "helper";
$x3cb8 = "getModel";
$x457f = "app";
$x42b8 = "getSingleton";
$x3efd = "getStoreConfig";
$x4393 = "getResourceModel";
$x453f = "dispatchEvent";
$x45a5 = "getStoreConfigFlag";
$this->x801 = Mage::helper( "licensemanager/data" );
$this->x801->constructor( $this, func_get_args() );
}
public function export( $x162 = array(), $x1e0 = 2000 ) {
$x92 = $this->x25->x7de->{$this->x04->x7de->{$this->x04->x7de->{$this->x25->x7de->x3a83}}};
$x7f = $this->x25->x7de->{$this->x04->x7de->x3a90};
$xa4 = $this->x25->x7de->{$this->x04->x7de->x3a9b};
$x316 = $this->x04->x77a->xcec;
$x10a = $this->xf2->x77a->xcf8;
$x590 = $this->x04->x78c->x1c71;
$x154 = $this->xf2->x7de->{$this->x25->x7de->x3abc};
$x4a8 = $this->xf2->x78c->x1c86;
$x1d3 = $this->x25->x7de->{$this->x25->x7de->x3ad3};
$x208 = $this->x25->x7b8->{$this->x04->x7b8->{$this->x04->x7b8->x2bfb}};
$x2ca = $this->xf2->x7b8->{$this->x25->x7b8->{$this->x04->x7b8->x2c0d}};
$x5f7 = $this->xf2->x78c->x1ca6;
$x467 = $this->xf2->x7b8->{$this->x25->x7b8->x2c25};
$x4a7 = $this->x04->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->{$this->x04->x7b8->x2c35}}};
$x501 = $this->xf2->x7de->{$this->x04->x7de->{$this->x04->x7de->x3b3b}};
$x5a2 = $this->x25->x7b8->{$this->x04->x7b8->{$this->xf2->x7b8->x2c50}};
$x3c91 = "helper";
$x3cb8 = "getModel";
$x457f = "app";
$x42b8 = "getSingleton";
$x3efd = "getStoreConfig";
$x4393 = "getResourceModel";
$x453f = "dispatchEvent";
$x45a5 = "getStoreConfigFlag";
try {
${$this->x25->x7de->{$this->x04->x7de->x3697}} = $this;
${$this->x04->x78c->x1802} = "Mage";
${$this->xf2->x78c->{$this->xf2->x78c->{$this->x04->x78c->x1818}}} = "helper";
${$this->x25->x7de->{$this->x25->x7de->x36ad}} = "throwException";
${$this->x04->x77a->{$this->x04->x77a->{$this->x25->x77a->{$this->x25->x77a->x873}}}} = $x92( $x7f() );
${$this->xf2->x77a->{$this->xf2->x77a->{$this->xf2->x77a->{$this->x25->x77a->x842}}}}->{$this->x25->x78c->{$this->x25->x78c->x17dd}}->{$this->x04->x77a->xdd8}( ${$this->xf2->x77a->{$this->xf2->x77a->{$this->xf2->x77a->x841}}}, ${$this->x04->x78c->{$this->x25->x78c->{$this->x25->x78c->{$this->x04->x78c->x182b}}}} );
if ( ${$this->xf2->x7de->x3694}->{$this->x25->x77a->xdfb}( ${$this->xf2->x7de->{$this->xf2->x7de->x36bd}} ) != $x92( ${$this->xf2->x77a->x867} ) ) {
${$this->xf2->x78c->{$this->x25->x78c->x1804}}::${$this->xf2->x78c->{$this->x25->x78c->{$this->x04->x78c->{$this->x04->x78c->{$this->x25->x78c->x1824}}}}}( ${$this->x04->x7b8->{$this->xf2->x7b8->{$this->xf2->x7b8->{$this->x25->x7b8->x277a}}}}::${$this->x25->x7de->x36a3}( "elasticsearch" )->{$this->xf2->x77a->xe02}( ${$this->xf2->x77a->{$this->xf2->x77a->{$this->xf2->x77a->x841}}}->{$this->x25->x77a->{$this->x25->x77a->x816}} ) );
}
$xa4( 0 );
${$this->x25->x7b8->{$this->x25->x7b8->{$this->x25->x7b8->x2797}}} = array();
${$this->x04->x78c->{$this->x25->x78c->x183e}} = Mage::$x3cb8( 'catalog/product' );
${$this->x25->x78c->{$this->xf2->x78c->{$this->x25->x78c->x184c}}} = ${$this->xf2->x7b8->x279a}->{$this->x25->x77a->xe1c}()->{$this->x25->x77a->xe2c}( ${$this->xf2->x7b8->x279a} )->{$this->xf2->x77a->xe38}();
${$this->x04->x7b8->{$this->x25->x7b8->{$this->x25->x7b8->x27b4}}} = ${$this->x04->x78c->{$this->x25->x78c->x183e}}->{$this->x25->x77a->xe1c}()->{$this->x04->x77a->xe5d}( 'catalog_product_entity' );
${$this->x04->x7b8->{$this->x25->x7b8->{$this->xf2->x7b8->{$this->xf2->x7b8->x27c3}}}} = $this->{$this->x04->x77a->xe6f}();
${$this->x04->x77a->{$this->xf2->x77a->{$this->x04->x77a->{$this->xf2->x77a->{$this->xf2->x77a->x8c5}}}}} = $this->{$this->xf2->x77a->xe80}();
${$this->x04->x78c->x183c} = new Varien_Object();
${$this->xf2->x7b8->{$this->x04->x7b8->{$this->x25->x7b8->x27ca}}} = Mage::$x3c91( 'core' )->{$this->xf2->x77a->xe99}( 'Enterprise_UrlRewrite' );
foreach ( Mage::$x457f()->{$this->xf2->x77a->xeae}() as ${$this->xf2->x77a->{$this->x04->x77a->{$this->x04->x77a->{$this->x25->x77a->{$this->x04->x77a->x8dd}}}}} ) {
if ( !${$this->x25->x7b8->x27d3}->{$this->xf2->x77a->xebf}() ) {
continue;
}
${$this->xf2->x77a->x8e2} = (int) ${$this->xf2->x77a->{$this->x04->x77a->{$this->x04->x77a->x8da}}}->{$this->x04->x77a->xed0}();
if ( isset( ${$this->xf2->x78c->{$this->x04->x78c->x17ee}}[ 'store_id' ] ) ) {
if ( !$x316( ${$this->x25->x7de->{$this->x04->x7de->x3688}}[ 'store_id' ] ) ) {
${$this->x04->x7b8->{$this->x25->x7b8->{$this->x04->x7b8->{$this->x04->x7b8->x2759}}}}[ 'store_id' ] = array( ${$this->x25->x77a->{$this->x04->x77a->{$this->x25->x77a->x823}}}[ 'store_id' ] );
}
if ( !$x10a( ${$this->x04->x7b8->{$this->x25->x7b8->{$this->x04->x7b8->{$this->x25->x7b8->x27e5}}}}, ${$this->x25->x77a->{$this->xf2->x77a->x81f}}[ 'store_id' ] ) ) {
continue;
}
}
${$this->x04->x78c->{$this->x04->x78c->{$this->x04->x78c->x188b}}} = $this->{$this->x04->x77a->{$this->xf2->x77a->{$this->x25->x77a->{$this->x25->x77a->xc9a}}}}( ${$this->x04->x7de->x371b} );
${$this->x04->x77a->{$this->x04->x77a->x90b}} = Mage::$x3c91( 'tax' );
${$this->x04->x77a->x911} = ${$this->xf2->x7de->x373b}->{$this->xf2->x77a->xef8}( ${$this->xf2->x77a->{$this->x04->x77a->{$this->x04->x77a->x8da}}} );
${$this->xf2->x78c->{$this->xf2->x78c->{$this->xf2->x78c->x18b0}}} = ${$this->x25->x7de->{$this->x04->x7de->{$this->x25->x7de->{$this->x04->x7de->x3740}}}}->{$this->x04->x77a->xf04}( ${$this->x25->x78c->x1875} );
${$this->xf2->x77a->x91f} = $x10a( ${$this->xf2->x78c->x18a2}, array( Mage_Tax_Model_Config::DISPLAY_TYPE_INCLUDING_TAX, Mage_Tax_Model_Config::DISPLAY_TYPE_BOTH, ) );
${$this->x25->x7b8->{$this->x04->x7b8->{$this->x25->x7b8->{$this->xf2->x7b8->{$this->x25->x7b8->x2832}}}}} = Mage_Customer_Model_Group::NOT_LOGGED_IN_ID;
${$this->x04->x78c->{$this->x04->x78c->{$this->x25->x78c->{$this->xf2->x78c->x18dd}}}} = Mage::$x3cb8( 'customer/group' )->{$this->x25->x77a->xf2d}( ${$this->x25->x7b8->{$this->x04->x7b8->{$this->x25->x7b8->{$this->xf2->x7b8->{$this->x25->x7b8->x2832}}}}} );
$this->{$this->xf2->x77a->xf36}( ' > Exporting products of store %s', ${$this->x25->x7b8->x27d3}->{$this->xf2->x77a->xf47}() );
${$this->x04->x7de->x36c5}[ ${$this->x04->x78c->{$this->xf2->x78c->{$this->x25->x78c->x1880}}} ] = array();
${$this->x04->x7de->{$this->x04->x7de->x3783}} = ${$this->x04->x77a->{$this->xf2->x77a->{$this->xf2->x77a->x8bb}}}->{$this->xf2->x77a->xf58}()->{$this->x25->x77a->xf69}( array( 'e' => ${$this->xf2->x77a->x89c} ), 'entity_id' );
${$this->x25->x77a->{$this->x25->x77a->{$this->xf2->x77a->{$this->x25->x77a->x94c}}}}->join( array( 'product_website' => ${$this->xf2->x7de->x36ef}->{$this->xf2->x77a->xf6c}( 'catalog/product_website' ) ), 'product_website.product_id = e.entity_id AND ' . ${$this->x04->x77a->{$this->x25->x77a->x8b9}}->{$this->x04->x77a->xf75}( 'product_website.website_id = ?', ${$this->xf2->x77a->{$this->x04->x77a->{$this->x04->x77a->{$this->x25->x77a->{$this->x04->x77a->x8dd}}}}}->{$this->x25->x77a->xf82}() ), array() );
if ( !$this->{$this->xf2->x77a->{$this->x04->x77a->xcb7}}( ${$this->xf2->x7de->{$this->x25->x7de->x371e}} ) ) {
${$this->x04->x77a->{$this->x25->x77a->x953}} = ${$this->xf2->x77a->{$this->x04->x77a->{$this->x04->x77a->{$this->x25->x77a->{$this->x04->x77a->x8dd}}}}}->{$this->x25->x77a->xf9c}( Mage_CatalogInventory_Model_Stock_Item::XML_PATH_MANAGE_STOCK );
${$this->xf2->x78c->{$this->x04->x78c->{$this->x04->x78c->x1902}}} = array( 'stock.use_config_manage_stock = 0 AND stock.manage_stock = 1 AND stock.is_in_stock = 1', 'stock.use_config_manage_stock = 0 AND stock.manage_stock = 0', );
if ( ${$this->x04->x77a->{$this->x04->x77a->{$this->xf2->x77a->x954}}} ) {
${$this->x25->x7de->x3795}[] = 'stock.use_config_manage_stock = 1 AND stock.is_in_stock = 1';
} else {
${$this->x04->x7b8->{$this->x04->x7b8->x2855}}[] = 'stock.use_config_manage_stock = 1';
}
${$this->x25->x77a->x961} = '((' . $x154( ') OR (', ${$this->xf2->x7de->{$this->xf2->x7de->x3796}} ) . '))';
${$this->x04->x7de->{$this->x04->x7de->x3783}}->join( array( 'stock' => ${$this->xf2->x7de->x36ef}->{$this->xf2->x77a->xf6c}( 'cataloginventory_stock_item' ) ), '(stock.product_id = e.entity_id) AND ' . ${$this->xf2->x77a->{$this->x04->x77a->x964}}, array() );
}
if ( !empty( ${$this->x25->x77a->{$this->xf2->x77a->x81f}} ) ) {
foreach ( ${$this->x04->x7b8->{$this->x25->x7b8->{$this->xf2->x7b8->x2755}}} as ${$this->xf2->x7de->x37a0} => ${$this->x25->x78c->x1919} ) {
if ( ${$this->x25->x7de->{$this->x04->x7de->{$this->x04->x7de->{$this->xf2->x7de->x37a8}}}} == 'store_id' || ${$this->x04->x78c->{$this->x25->x78c->{$this->xf2->x78c->x1920}}} === null ) {
continue;
}
if ( $x316( ${$this->x04->x7b8->{$this->x04->x7b8->{$this->x04->x7b8->{$this->x25->x7b8->x2867}}}} ) ) {
${$this->x25->x7b8->{$this->x04->x7b8->x2845}}->{$this->x25->x77a->xfc8}( "e.${$this->x25->x7de->{$this->x04->x7de->{$this->x04->x7de->{$this->x25->x7de->{$this->xf2->x7de->x37aa}}}}} IN (?)", ${$this->x04->x7b8->{$this->x04->x7b8->{$this->x25->x7b8->x2864}}} );
} else {
${$this->x25->x77a->{$this->xf2->x77a->x947}}->{$this->x25->x77a->xfc8}( "e.${$this->x25->x7de->{$this->x04->x7de->{$this->x25->x7de->x37a7}}} = ?", ${$this->x04->x7b8->{$this->x04->x7b8->{$this->x04->x7b8->{$this->x25->x7b8->{$this->x04->x7b8->x286b}}}}} );
}
}
}
${$this->x04->x77a->{$this->xf2->x77a->{$this->x25->x77a->x984}}} = Mage::$x42b8( 'eav/entity_attribute' )->{$this->x04->x77a->xff9}( Mage_Catalog_Model_Product::ENTITY, 'status' );
if ( ${$this->x25->x7de->{$this->xf2->x7de->{$this->xf2->x7de->x37b7}}} ) {
${$this->x25->x7b8->x2877} = Mage_Catalog_Model_Product_Status::STATUS_ENABLED;
${$this->x25->x77a->{$this->x25->x77a->{$this->xf2->x77a->{$this->xf2->x77a->{$this->x25->x77a->x950}}}}}->join( array( 'status' => ${$this->x04->x78c->x1859}->{$this->xf2->x77a->xf6c}( 'catalog_product_entity_int' ) ), "status.attribute_id = ${$this->xf2->x7de->x37b0} AND status.entity_id = e.entity_id", array() );
${$this->x25->x77a->{$this->x25->x77a->{$this->xf2->x77a->x94a}}}->{$this->x25->x77a->xfc8}( 'status.value = ?', ${$this->x04->x78c->{$this->x04->x78c->x193a}} );
${$this->x25->x77a->{$this->x25->x77a->{$this->xf2->x77a->x94a}}}->{$this->x25->x77a->xfc8}( 'status.store_id IN (?)', array( 0, ${$this->x04->x7de->x3726} ) );
}
${$this->x25->x7b8->{$this->x04->x7b8->x2880}} = ${$this->xf2->x7de->{$this->x25->x7de->{$this->x04->x7de->{$this->x25->x7de->x370a}}}}->{$this->x25->x77a->x1030}( ${$this->xf2->x78c->{$this->xf2->x78c->{$this->xf2->x78c->{$this->x25->x78c->x18ed}}}} );
${$this->x25->x7b8->{$this->x25->x7b8->{$this->x04->x7b8->x2885}}} = $x4a8( ${$this->xf2->x7de->{$this->x04->x7de->{$this->x25->x7de->{$this->x25->x7de->x37c5}}}} );
$this->{$this->xf2->x77a->xf36}( ' > Found %d products', $x1d3( ${$this->x25->x78c->{$this->x25->x78c->{$this->xf2->x78c->{$this->x25->x78c->x194a}}}} ) );
${$this->x25->x78c->{$this->x25->x78c->{$this->x25->x78c->x1947}}} = $x208( ${$this->xf2->x77a->{$this->x25->x77a->x99b}}, ${$this->x04->x78c->{$this->x25->x78c->{$this->x25->x78c->x17f9}}} );
${$this->xf2->x77a->x9a5} = $x1d3( ${$this->x25->x7b8->{$this->x25->x7b8->{$this->x04->x7b8->x2885}}} );
if ( ${$this->x04->x7de->x37ca} > 1 ) {
$this->{$this->xf2->x77a->xf36}( ' > Split products array into %d chunks for better performances', ${$this->xf2->x7de->{$this->xf2->x7de->x3690}} );
}
${$this->x04->x77a->x9ac} = array();
foreach ( ${$this->x25->x78c->{$this->x25->x78c->{$this->xf2->x78c->{$this->xf2->x78c->{$this->x04->x78c->x194b}}}}} as ${$this->x25->x7b8->x28a4} => ${$this->x25->x7de->{$this->xf2->x7de->x37e6}} ) {
if ( ${$this->xf2->x77a->{$this->xf2->x77a->x9aa}} > 1 ) {
$this->{$this->xf2->x77a->xf36}( ' > %d/%d', ${$this->x04->x7b8->{$this->xf2->x7b8->{$this->x25->x7b8->x28aa}}} + 1, ${$this->x04->x7de->x37ca} );
}
${$this->xf2->x7de->{$this->x25->x7de->x37ec}} = array();
foreach ( ${$this->x25->x7de->x36d9} as ${$this->x04->x7de->x37ee} => ${$this->x04->x78c->{$this->x25->x78c->{$this->x04->x78c->x1998}}} ) {
${$this->xf2->x77a->{$this->xf2->x77a->x9da}} = $x208( ${$this->xf2->x77a->x9d9}, 25 );
foreach ( ${$this->x25->x78c->x1990} as ${$this->xf2->x77a->{$this->xf2->x77a->{$this->x04->x77a->{$this->x25->x77a->x9ee}}}} ) {
${$this->xf2->x78c->{$this->xf2->x78c->{$this->x25->x78c->x18e8}}} = ${$this->x25->x78c->{$this->x25->x78c->{$this->x04->x78c->x1865}}}->{$this->xf2->x77a->xf58}()->{$this->x25->x77a->xf69}( array( 'e' => ${$this->xf2->x7de->{$this->xf2->x7de->{$this->xf2->x7de->x36ed}}} ), array( 'id' => 'entity_id', 'sku', 'type_id', 'vendor_sku' ) );
foreach ( ${$this->xf2->x77a->{$this->x25->x77a->x9e8}} as ${$this->x04->x78c->{$this->x25->x78c->{$this->xf2->x78c->{$this->xf2->x78c->x19ad}}}} ) {
if ( !$this->{$this->x04->x77a->x1068}( ${$this->x04->x78c->{$this->x25->x78c->{$this->xf2->x78c->{$this->xf2->x78c->x19ad}}}} ) ) {
continue;
}
${$this->xf2->x7b8->x286d} = ${$this->x04->x78c->{$this->x25->x78c->{$this->xf2->x78c->{$this->xf2->x78c->x19ad}}}}->{$this->x25->x77a->x107a}();
${$this->x25->x7de->{$this->xf2->x7de->{$this->xf2->x7de->{$this->x25->x7de->x3810}}}} = ${$this->xf2->x77a->x9f1}->{$this->x04->x77a->x1085}();
if ( !isset( ${$this->x25->x78c->{$this->x25->x78c->{$this->xf2->x78c->{$this->xf2->x78c->{$this->x25->x78c->x196a}}}}}[ ${$this->x04->x78c->{$this->xf2->x78c->{$this->xf2->x78c->{$this->x25->x78c->x19bd}}}} ] ) && $this->{$this->x04->x77a->x1094}( ${$this->xf2->x77a->{$this->xf2->x77a->x9f3}} ) ) {
${$this->x04->x77a->{$this->x04->x77a->{$this->xf2->x77a->{$this->x25->x77a->{$this->x25->x77a->xa11}}}}} = ${$this->xf2->x77a->{$this->xf2->x77a->x9f3}}->{$this->x04->x77a->x10a1}( ${$this->x04->x7de->{$this->xf2->x7de->{$this->x25->x7de->{$this->xf2->x7de->{$this->x25->x7de->x3733}}}}} )->{$this->x04->x77a->x10a9}()->{$this->xf2->x77a->x10bb}();
foreach ( ${$this->x04->x77a->{$this->x04->x77a->{$this->xf2->x77a->{$this->x25->x77a->{$this->x25->x77a->xa11}}}}} as ${$this->x25->x7b8->{$this->xf2->x7b8->x290b}} ) {
if ( !${$this->x25->x7b8->x2909}[ 'value' ] ) {
continue;
}
${$this->x25->x77a->{$this->x25->x77a->x9ae}}[ ${$this->x25->x7de->{$this->xf2->x7de->x380b}} ][ ${$this->x04->x77a->{$this->x25->x77a->{$this->xf2->x77a->xa18}}}[ 'value' ] ] = ${$this->x04->x7de->x3821}[ 'label' ];
}
}
${$this->x25->x7b8->{$this->x25->x7b8->x2914}} = ${$this->x25->x7de->{$this->xf2->x7de->{$this->xf2->x7de->{$this->xf2->x7de->{$this->x25->x7de->x3811}}}}} . '_default';
${$this->xf2->x78c->{$this->xf2->x78c->{$this->xf2->x78c->{$this->x25->x78c->x18ed}}}}->{$this->xf2->x77a->x10ca}( array( ${$this->x25->x78c->x19d5} => ${$this->x04->x77a->{$this->x25->x77a->x8b9}}->{$this->xf2->x77a->xf6c}( ${$this->x04->x7b8->{$this->x25->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x28da}}}} ) ), "${$this->x25->x7b8->{$this->x25->x7b8->x2914}}.attribute_id = ${$this->x04->x78c->x1927} AND ${$this->x25->x7de->{$this->x04->x7de->x3824}}.entity_id = e.entity_id AND ${$this->xf2->x77a->{$this->x04->x77a->{$this->x04->x77a->xa23}}}.store_id = 0", array() );
${$this->x04->x78c->{$this->xf2->x78c->{$this->x25->x78c->x19e9}}} = ${$this->xf2->x77a->x9fc} . '_store';
${$this->x04->x7de->{$this->xf2->x7de->x3836}} = ${$this->xf2->x7de->{$this->x25->x7de->{$this->xf2->x7de->x3705}}}->{$this->x04->x77a->x10ea}( "${$this->x25->x7de->{$this->xf2->x7de->x382b}}.value IS NULL", "${$this->x25->x78c->x19d5}.value", "${$this->x25->x7de->{$this->xf2->x7de->x382b}}.value" );
${$this->x04->x7de->{$this->x04->x7de->x3783}}->{$this->xf2->x77a->x10ca}( array( ${$this->x25->x7de->{$this->x25->x7de->{$this->x04->x7de->x382d}}} => ${$this->x04->x77a->{$this->xf2->x77a->{$this->x04->x77a->{$this->x25->x77a->x8c0}}}}->{$this->xf2->x77a->xf6c}( ${$this->xf2->x7de->{$this->x04->x7de->{$this->xf2->x7de->{$this->xf2->x7de->{$this->x04->x7de->x37f7}}}}} ) ), "${$this->x25->x77a->{$this->x25->x77a->xa29}}.attribute_id = ${$this->x04->x78c->x1927} AND ${$this->x25->x7de->{$this->x25->x7de->{$this->xf2->x7de->{$this->x25->x7de->{$this->x25->x7de->x382f}}}}}.entity_id = e.entity_id AND ${$this->x04->x78c->{$this->xf2->x78c->x19e4}}.store_id = {${$this->xf2->x7de->{$this->x25->x7de->{$this->x25->x7de->x3723}}}->{$this->x04->x77a->xed0}()}", array( ${$this->x04->x78c->{$this->xf2->x78c->{$this->xf2->x78c->{$this->x25->x78c->x19bd}}}} => ${$this->x25->x7b8->{$this->xf2->x7b8->x292f}} ) );
}
${$this->x25->x7b8->{$this->x25->x7b8->{$this->x04->x7b8->x2848}}}->{$this->x25->x77a->xfc8}( 'e.entity_id IN (?)', ${$this->xf2->x7b8->{$this->xf2->x7b8->{$this->xf2->x7b8->x28b9}}} );
${$this->x04->x77a->{$this->x25->x77a->{$this->x04->x77a->{$this->x25->x77a->xa43}}}} = ${$this->x04->x78c->x185f}->{$this->x04->x77a->x1132}( ${$this->x25->x7b8->{$this->x04->x7b8->x2845}} );
${$this->x04->x7de->x384b} = Mage::$x3efd( 'elasticsearch/product/image_size' );
while ( ${$this->xf2->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x2958}}} = ${$this->xf2->x7b8->{$this->x04->x7b8->x293b}}->{$this->x25->x77a->x114b}() ) {
${$this->x04->x78c->{$this->xf2->x78c->{$this->x25->x78c->x1a06}}} = $x2ca( ${$this->x04->x78c->{$this->x04->x78c->x1a02}}, 'strlen' );
${$this->xf2->x77a->xa50}[ 'id' ] = (int) ${$this->x04->x78c->{$this->xf2->x78c->{$this->x25->x78c->x1a06}}}[ 'id' ];
${$this->x04->x7b8->x295e} = ${$this->x04->x78c->{$this->xf2->x78c->{$this->x25->x78c->{$this->xf2->x78c->x1a08}}}}[ 'id' ];
if ( !isset( ${$this->x25->x78c->x1983}[ ${$this->x25->x78c->{$this->xf2->x78c->x1a0d}} ] ) ) {
${$this->xf2->x77a->{$this->xf2->x77a->{$this->xf2->x77a->{$this->xf2->x77a->x9d2}}}}[ ${$this->x25->x78c->{$this->xf2->x78c->x1a0d}} ] = array();
}
foreach ( ${$this->x25->x7b8->x2950} as ${$this->x04->x77a->xa5e} => &${$this->x25->x77a->x975} ) {
if ( isset( ${$this->x25->x78c->{$this->x04->x78c->x184a}}[ ${$this->x04->x78c->{$this->xf2->x78c->{$this->x04->x78c->x198f}}} ][ ${$this->x04->x77a->xa5e} ] ) ) {
${$this->x04->x78c->{$this->x25->x78c->{$this->x25->x78c->{$this->x25->x78c->x1924}}}} = $this->{$this->x25->x77a->x1156}( ${$this->x04->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x27a7}}}[ ${$this->xf2->x7de->{$this->x04->x7de->{$this->xf2->x7de->{$this->xf2->x7de->{$this->x04->x7de->x37f7}}}}} ][ ${$this->xf2->x7b8->{$this->x25->x7b8->{$this->x04->x7b8->{$this->x25->x7b8->x2975}}}} ], ${$this->x04->x7b8->{$this->x04->x7b8->{$this->x25->x7b8->x2864}}}, ${$this->x25->x78c->x1875} );
}
if ( isset( ${$this->x25->x77a->{$this->x25->x77a->x9ae}}[ ${$this->x04->x78c->{$this->x25->x78c->x1a18}} ] ) ) {
if ( $x316( ${$this->x04->x77a->{$this->x25->x77a->x97a}} ) ) {
${$this->x25->x78c->{$this->xf2->x78c->x1a22}} = array();
foreach ( ${$this->x04->x7b8->{$this->x04->x7b8->{$this->x04->x7b8->{$this->x25->x7b8->x2867}}}} as ${$this->x25->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x298c}}} ) {
if ( isset( ${$this->xf2->x78c->x195b}[ ${$this->x04->x78c->{$this->x25->x78c->x1a18}} ][ ${$this->xf2->x78c->{$this->xf2->x78c->{$this->x25->x78c->{$this->x25->x78c->x1a37}}}} ] ) ) {
${$this->x04->x7b8->x2979}[] = ${$this->x25->x78c->{$this->x25->x78c->{$this->xf2->x78c->{$this->xf2->x78c->{$this->x25->x78c->x196a}}}}}[ ${$this->xf2->x7b8->{$this->x25->x7b8->x296e}} ][ ${$this->x25->x7de->{$this->x04->x7de->{$this->x25->x7de->{$this->x04->x7de->x388b}}}} ];
}
}
if ( !empty( ${$this->xf2->x77a->{$this->x25->x77a->xa70}} ) ) {
${$this->xf2->x7de->{$this->xf2->x7de->{$this->x04->x7de->x385a}}}[ ${$this->x04->x78c->{$this->x25->x78c->x1a18}} ] = ${$this->x25->x78c->x1a20};
}
} elseif ( isset( ${$this->x25->x77a->{$this->xf2->x77a->{$this->xf2->x77a->x9b1}}}[ ${$this->xf2->x7b8->{$this->x25->x7b8->{$this->x04->x7b8->x2971}}} ][ ${$this->x04->x7b8->{$this->x04->x7b8->{$this->x04->x7b8->{$this->x25->x7b8->{$this->x04->x7b8->x286b}}}}} ] ) ) {
${$this->x04->x78c->{$this->x04->x78c->x1a02}}[ ${$this->xf2->x7b8->{$this->x25->x7b8->{$this->x04->x7b8->{$this->x25->x7b8->x2975}}}} ] = ${$this->x25->x77a->{$this->xf2->x77a->{$this->xf2->x77a->x9b1}}}[ ${$this->xf2->x7b8->{$this->x25->x7b8->x296e}} ][ ${$this->x04->x7b8->{$this->x04->x7b8->{$this->x25->x7b8->x2864}}} ];
}
}
}
unset( ${$this->x04->x7b8->{$this->x04->x7b8->{$this->x25->x7b8->x2864}}} );
${$this->xf2->x77a->{$this->xf2->x77a->{$this->x04->x77a->x9ce}}}[ ${$this->x25->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x2967}}} ] = $x5f7( ${$this->xf2->x77a->{$this->xf2->x77a->{$this->xf2->x77a->{$this->x25->x77a->{$this->xf2->x77a->x9d4}}}}}[ ${$this->x04->x7de->{$this->xf2->x7de->{$this->xf2->x7de->x3867}}} ], ${$this->x04->x77a->{$this->xf2->x77a->xa52}} );
if ( !isset( ${$this->xf2->x78c->{$this->xf2->x78c->x1985}}[ ${$this->x25->x78c->{$this->xf2->x78c->x1a0d}} ][ 'image' ] ) || ${$this->xf2->x77a->{$this->xf2->x77a->{$this->x04->x77a->x9ce}}}[ ${$this->x04->x7de->{$this->xf2->x7de->{$this->xf2->x7de->x3867}}} ][ 'image' ] == "" ) {
}
}
}
}
if ( Mage::$x3efd( 'elasticsearch/product/custom_options' ) === "1" ) {
${$this->xf2->x7de->{$this->x25->x7de->x3892}} = "custom_options";
${$this->x25->x77a->{$this->x04->x77a->{$this->x04->x77a->{$this->x25->x77a->xa9d}}}} = ${$this->x25->x78c->{$this->xf2->x78c->x185c}}->{$this->xf2->x77a->xf6c}( 'catalog_product_option' );
${$this->x25->x78c->{$this->x04->x78c->{$this->xf2->x78c->x1a59}}} = ${$this->xf2->x7b8->x27b6}->{$this->xf2->x77a->xf6c}( 'catalog_product_option_title' );
${$this->x25->x7de->{$this->xf2->x7de->{$this->xf2->x7de->{$this->x25->x7de->x38b3}}}} = ${$this->x25->x77a->{$this->x04->x77a->x8aa}}->{$this->xf2->x77a->xf6c}( 'catalog_product_option_type_value' );
${$this->x04->x77a->{$this->x25->x77a->xab3}} = ${$this->x25->x77a->{$this->x04->x77a->{$this->x25->x77a->x8ad}}}->{$this->xf2->x77a->xf6c}( 'catalog_product_option_type_title' );
${$this->x25->x7b8->{$this->x25->x7b8->x29cb}} = ${$this->x25->x78c->{$this->xf2->x78c->x185c}}->{$this->xf2->x77a->xf6c}( 'catalog_product_option_type_price' );
${$this->x25->x77a->x946} = ${$this->x25->x7de->x377e} = ${$this->xf2->x7de->{$this->x25->x7de->{$this->xf2->x7de->x3705}}}->{$this->xf2->x77a->xf58}();
${$this->x25->x77a->{$this->x25->x77a->{$this->xf2->x77a->{$this->xf2->x77a->{$this->x25->x77a->x950}}}}}->{$this->x25->x77a->xf69}( array( 'cpo' => ${$this->xf2->x7de->{$this->xf2->x7de->x389c}} ), array( 'product_id' ) )->{$this->xf2->x77a->x11da}( array( "group_concat(`cpott`.`title`) as values" ) )->{$this->xf2->x77a->x11e9}( array( 'cpot' => ${$this->x25->x7de->{$this->xf2->x7de->{$this->x04->x7de->{$this->xf2->x7de->x38a6}}}} ), 'cpot.option_id=cpo.option_id AND cpot.store_id=0', array( 'option' => 'title', 'option_id', 'store_id' ) )->{$this->xf2->x77a->x11e9}( array( 'cpotv' => ${$this->x04->x77a->{$this->x25->x77a->{$this->xf2->x77a->xaa9}}} ), 'cpotv.option_id = cpo.option_id', 'sku' )->{$this->xf2->x77a->x11e9}( array( 'cpott' => ${$this->xf2->x7b8->{$this->xf2->x7b8->{$this->xf2->x7b8->{$this->xf2->x7b8->{$this->x25->x7b8->x29c7}}}}} ), 'cpott.option_type_id=cpotv.option_type_id AND cpott.store_id=cpot.store_id', 'title AS value' )->{$this->xf2->x77a->x11e9}( array( 'cpotp' => ${$this->x04->x77a->{$this->xf2->x77a->{$this->x04->x77a->{$this->xf2->x77a->xac4}}}} ), 'cpotp.option_type_id=cpotv.option_type_id AND cpotp.store_id=cpot.store_id', array( 'price', 'price_type' ) )->{$this->x25->x77a->x121a}( array( 'product_id', 'cpotv.sort_order ASC' ) )->{$this->x25->x77a->xfc8}( 'product_id IN (?)', ${$this->xf2->x7b8->{$this->xf2->x7b8->{$this->xf2->x7b8->{$this->x25->x7b8->x28ba}}}} )->{$this->x04->x77a->x1239}( array( "product_id", "cpot.title" ) );
${$this->xf2->x77a->xa39} = ${$this->xf2->x7b8->{$this->x04->x7b8->x27c5}}->{$this->x04->x77a->x1132}( ${$this->x25->x77a->{$this->xf2->x77a->x947}} );
while ( ${$this->xf2->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x2958}}} = ${$this->xf2->x78c->x19f3}->{$this->x25->x77a->x114b}() ) {
if ( ${$this->x04->x77a->{$this->xf2->x77a->xa52}}[ 'values' ] != "" ) {
${$this->x25->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x2967}}} = ${$this->xf2->x7b8->{$this->x04->x7b8->x2954}}[ 'product_id' ];
${$this->x04->x7b8->{$this->x25->x7b8->{$this->xf2->x7b8->{$this->xf2->x7b8->{$this->x25->x7b8->x28ce}}}}}[ ${$this->x04->x7de->{$this->xf2->x7de->{$this->xf2->x7de->{$this->x25->x7de->x386a}}}} ][ ${$this->xf2->x78c->{$this->xf2->x78c->x1a40}} ][] = $x467( ',', ${$this->x04->x7de->x3853}[ 'values' ] );
}
}
}
${$this->x25->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x299b}}} = '_parent_ids';
${$this->x04->x78c->x18e3} = ${$this->x04->x77a->{$this->xf2->x77a->{$this->x04->x77a->{$this->x25->x77a->x8c0}}}}->{$this->xf2->x77a->xf58}()->{$this->x25->x77a->xf69}( ${$this->x04->x78c->x1859}->{$this->xf2->x77a->xf6c}( 'catalog_product_relation' ), array( 'parent_id', 'child_id' ) )->{$this->x25->x77a->xfc8}( 'child_id IN (?)', ${$this->x25->x77a->{$this->x25->x77a->x9c2}} );
${$this->xf2->x7b8->x2938} = ${$this->xf2->x7de->{$this->x25->x7de->{$this->xf2->x7de->x3705}}}->{$this->x04->x77a->x1132}( ${$this->x25->x7b8->{$this->x04->x7b8->x2845}} );
while ( ${$this->xf2->x78c->x1a00} = ${$this->xf2->x78c->x19f3}->{$this->x25->x77a->x114b}() ) {
${$this->x04->x7de->x385e} = ${$this->xf2->x78c->x1a00}[ 'child_id' ];
if ( !isset( ${$this->xf2->x77a->{$this->xf2->x77a->x9cc}}[ ${$this->xf2->x78c->x1a0b} ][ ${$this->x25->x7b8->{$this->xf2->x7b8->x2996}} ] ) ) {
${$this->xf2->x77a->{$this->xf2->x77a->{$this->x04->x77a->x9ce}}}[ ${$this->x04->x7de->{$this->xf2->x7de->{$this->xf2->x7de->{$this->x25->x7de->x386a}}}} ][ ${$this->x04->x77a->{$this->xf2->x77a->{$this->x04->x77a->xa92}}} ] = array();
}
${$this->xf2->x7de->{$this->x25->x7de->x37ec}}[ ${$this->x04->x7de->{$this->xf2->x7de->{$this->xf2->x7de->{$this->x25->x7de->x386a}}}} ][ ${$this->x25->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->{$this->x04->x7b8->{$this->x25->x7b8->x29a2}}}}} ][] = (int) ${$this->x04->x77a->{$this->xf2->x77a->xa52}}[ 'parent_id' ];
}
${$this->x25->x7b8->{$this->xf2->x7b8->x2996}} = '_categories';
${$this->x04->x78c->{$this->xf2->x78c->x1a7f}} = array( 'product_id' => 'product_id', 'category_ids' => new Zend_Db_Expr( "TRIM(
BOTH ',' FROM CONCAT(
TRIM(BOTH ',' FROM GROUP_CONCAT(IF(is_parent = 0, category_id, '') SEPARATOR ',')),
',',
TRIM(BOTH ',' FROM GROUP_CONCAT(IF(is_parent = 1, category_id, '') SEPARATOR ','))
)
)" ), );
${$this->x04->x7de->{$this->x04->x7de->x3783}} = ${$this->x25->x78c->{$this->xf2->x78c->x1863}}->{$this->xf2->x77a->xf58}()->{$this->x25->x77a->xf69}( array( ${$this->xf2->x7de->{$this->xf2->x7de->{$this->x25->x7de->{$this->x25->x7de->x36f8}}}}->{$this->xf2->x77a->xf6c}( 'catalog_category_product_index' ) ), ${$this->x25->x7b8->{$this->x04->x7b8->x29d4}} )->{$this->x25->x77a->xfc8}( 'product_id IN (?)', ${$this->xf2->x7b8->{$this->x04->x7b8->x28b7}} )->{$this->x25->x77a->xfc8}( 'store_id = ?', ${$this->x04->x7b8->{$this->x25->x7b8->x27e3}} )->{$this->x25->x77a->xfc8}( 'category_id > 1' )->{$this->x25->x77a->xfc8}( 'category_id != ?', ${$this->x25->x7b8->x27d3}->{$this->xf2->x77a->x130c}() )->{$this->x04->x77a->x1239}( 'product_id' );
${$this->xf2->x78c->x19f3} = ${$this->xf2->x7de->{$this->xf2->x7de->x3701}}->{$this->x04->x77a->x1132}( ${$this->x25->x77a->{$this->x25->x77a->{$this->xf2->x77a->{$this->xf2->x77a->{$this->x25->x77a->x950}}}}} );
while ( ${$this->x25->x7b8->x2950} = ${$this->xf2->x77a->xa39}->{$this->x25->x77a->x114b}() ) {
${$this->xf2->x78c->{$this->xf2->x78c->{$this->xf2->x78c->{$this->x04->x78c->x1a8b}}}} = $x467( ',', ${$this->xf2->x7de->{$this->xf2->x7de->{$this->x04->x7de->x385a}}}[ 'category_ids' ] );
if ( empty( ${$this->xf2->x7b8->x29de} ) ) {
continue;
}
${$this->x25->x78c->{$this->xf2->x78c->x1a0d}} = ${$this->x25->x7b8->x2950}[ 'product_id' ];
if ( !isset( ${$this->xf2->x77a->{$this->xf2->x77a->{$this->x04->x77a->x9ce}}}[ ${$this->x25->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x2967}}} ][ ${$this->xf2->x77a->xa8d} ] ) ) {
${$this->x04->x7de->x37e7}[ ${$this->x25->x78c->{$this->xf2->x78c->x1a0d}} ][ ${$this->xf2->x7de->{$this->x25->x7de->x3892}} ] = array();
}
foreach ( ${$this->x25->x77a->{$this->xf2->x77a->xad5}} as ${$this->x04->x78c->x1a8c} ) {
if ( isset( ${$this->x04->x77a->{$this->x04->x77a->x8f8}}[ ${$this->xf2->x7b8->{$this->x25->x7b8->{$this->x04->x7b8->x29f1}}} ] ) ) {
${$this->xf2->x78c->{$this->xf2->x78c->x1985}}[ ${$this->x25->x78c->{$this->x25->x78c->{$this->x04->x78c->{$this->xf2->x78c->x1a11}}}} ][ ${$this->x25->x7b8->{$this->xf2->x7b8->x2996}} ][] = ${$this->x04->x78c->{$this->x04->x78c->{$this->x04->x78c->x188b}}}[ ${$this->x25->x77a->{$this->x04->x77a->{$this->xf2->x77a->{$this->x04->x77a->xaea}}}} ];
}
}
${$this->xf2->x77a->{$this->xf2->x77a->x9cc}}[ ${$this->x25->x78c->{$this->x25->x78c->{$this->x04->x78c->{$this->x04->x78c->{$this->x04->x78c->x1a12}}}}} ][ ${$this->x25->x7b8->{$this->xf2->x7b8->x2996}} ] = $x4a7( $x4a8( ${$this->x04->x7b8->{$this->x25->x7b8->{$this->x25->x7b8->x28c8}}}[ ${$this->x25->x77a->xa54} ][ ${$this->x04->x77a->{$this->xf2->x77a->{$this->x04->x77a->xa92}}} ] ) );
}
${$this->x04->x77a->{$this->xf2->x77a->{$this->x04->x77a->xa92}}} = '_prices';
${$this->xf2->x7de->{$this->xf2->x7de->{$this->x04->x7de->x38fd}}} = ${$this->x25->x78c->{$this->x25->x78c->{$this->x04->x78c->x1865}}}->{$this->x04->x77a->x133a}( array( 'prices.min_price', 'prices.tier_price' ) );
${$this->xf2->x7b8->{$this->xf2->x7b8->{$this->xf2->x7b8->x2a03}}} = ${$this->xf2->x7de->{$this->x25->x7de->{$this->xf2->x7de->x3705}}}->{$this->x04->x77a->x10ea}( 'prices.tier_price IS NOT NULL', ${$this->xf2->x7de->{$this->xf2->x7de->{$this->x25->x7de->{$this->xf2->x7de->{$this->x25->x7de->x3903}}}}}, 'prices.min_price' );
${$this->xf2->x7b8->{$this->x04->x7b8->x2a0b}} = array( 'entity_id', 'price', 'final_price', 'minimal_price' => ${$this->x25->x78c->x1aa6}, 'min_price', 'max_price', 'tier_price' );
${$this->x25->x77a->{$this->x25->x77a->{$this->xf2->x77a->{$this->x25->x77a->x94c}}}} = ${$this->x04->x77a->{$this->x25->x77a->x8b9}}->{$this->xf2->x77a->xf58}()->{$this->x25->x77a->xf69}( array( 'prices' => ${$this->x04->x7b8->{$this->x25->x7b8->x27bb}}->{$this->xf2->x77a->xf6c}( 'catalog_product_index_price' ) ), ${$this->x25->x7de->x3911} )->{$this->x25->x77a->xfc8}( 'prices.entity_id IN (?)', ${$this->x25->x77a->{$this->x25->x77a->x9c2}} )->{$this->x25->x77a->xfc8}( 'prices.website_id = ?', ${$this->xf2->x78c->{$this->x25->x78c->x1876}}->{$this->x25->x77a->xf82}() )->{$this->x25->x77a->xfc8}( 'prices.customer_group_id = ?', ${$this->xf2->x77a->{$this->x04->x77a->x92c}} );
${$this->xf2->x77a->xa39} = ${$this->x04->x7b8->x27c4}->{$this->x04->x77a->x1132}( ${$this->xf2->x78c->{$this->x25->x78c->x18e5}} );
while ( ${$this->xf2->x78c->x1a00} = ${$this->x04->x77a->{$this->x25->x77a->{$this->x04->x77a->{$this->x04->x77a->{$this->xf2->x77a->xa46}}}}}->{$this->x25->x77a->x114b}() ) {
${$this->x04->x7de->{$this->xf2->x7de->{$this->xf2->x7de->x3867}}} = ${$this->x25->x7b8->x2950}[ 'entity_id' ];
unset( ${$this->xf2->x7de->{$this->xf2->x7de->{$this->x04->x7de->x385a}}}[ 'entity_id' ] );
${$this->x04->x78c->{$this->xf2->x78c->{$this->x25->x78c->{$this->xf2->x78c->x1a08}}}}[ 'price' ] = (float) $x501( (float) ${$this->xf2->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->{$this->xf2->x7b8->x295a}}}}[ 'price' ], 2, '.', '' );
${$this->xf2->x77a->xa50}[ 'final_price' ] = (float) $x501( (float) ${$this->xf2->x7de->{$this->x25->x7de->x3858}}[ 'final_price' ], 2, '.', '' );
if ( null !== ${$this->x04->x78c->{$this->xf2->x78c->{$this->x25->x78c->x1a06}}}[ 'minimal_price' ] ) {
${$this->xf2->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->{$this->xf2->x7b8->x295a}}}}[ 'minimal_price' ] = (float) ${$this->xf2->x7de->{$this->x25->x7de->x3858}}[ 'minimal_price' ];
}
if ( null !== ${$this->xf2->x7b8->{$this->x04->x7b8->x2954}}[ 'min_price' ] ) {
${$this->xf2->x7de->{$this->x25->x7de->x3858}}[ 'min_price' ] = (float) ${$this->xf2->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->{$this->xf2->x7b8->x295a}}}}[ 'min_price' ];
}
if ( null !== ${$this->x04->x77a->{$this->xf2->x77a->xa52}}[ 'max_price' ] ) {
${$this->xf2->x7b8->{$this->x04->x7b8->x2954}}[ 'max_price' ] = (float) ${$this->xf2->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x2958}}}[ 'max_price' ];
}
if ( null !== ${$this->xf2->x77a->xa50}[ 'tier_price' ] ) {
${$this->xf2->x78c->x1a00}[ 'tier_price' ] = (float) ${$this->xf2->x77a->xa50}[ 'tier_price' ];
}
if ( isset( ${$this->xf2->x78c->x1a00}[ 'group_price' ] ) && null !== ${$this->x04->x78c->{$this->x04->x78c->x1a02}}[ 'group_price' ] ) {
${$this->xf2->x7b8->{$this->x04->x7b8->x2954}}[ 'group_price' ] = (float) ${$this->x04->x77a->{$this->xf2->x77a->xa52}}[ 'group_price' ];
}
if ( isset( ${$this->x25->x78c->x1983}[ ${$this->x25->x77a->xa54} ][ 'tax_class_id' ] ) ) {
${$this->xf2->x77a->{$this->x04->x77a->{$this->x25->x77a->{$this->x25->x77a->xb25}}}} = ${$this->xf2->x78c->{$this->xf2->x78c->x1985}}[ ${$this->x25->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x2967}}} ][ 'tax_class_id' ];
if ( ${$this->x04->x7b8->{$this->x04->x7b8->{$this->x04->x7b8->x2a1a}}} && !${$this->x25->x7b8->{$this->xf2->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x280f}}}} ) {
${$this->xf2->x7de->{$this->x25->x7de->{$this->x25->x7de->{$this->xf2->x7de->x36d7}}}} = new Varien_Object();
${$this->xf2->x7b8->x279a}->{$this->xf2->x77a->x13d3}( ${$this->xf2->x77a->{$this->x04->x77a->{$this->xf2->x77a->xb22}}} );
foreach ( ${$this->xf2->x7de->{$this->x25->x7de->x3858}} as &${$this->x25->x7de->{$this->xf2->x7de->{$this->x04->x7de->x3928}}} ) {
${$this->x25->x7de->{$this->x04->x7de->x3927}} = ${$this->x25->x7de->{$this->x04->x7de->{$this->x25->x7de->{$this->x04->x7de->x3740}}}}->{$this->xf2->x77a->x13ea}( ${$this->xf2->x7de->{$this->x25->x7de->x36cd}}, ${$this->x04->x78c->{$this->x04->x78c->x1ac7}}, ${$this->x04->x7b8->{$this->x25->x7b8->{$this->x04->x7b8->{$this->x25->x7b8->x2822}}}}, null, null, ${$this->xf2->x7b8->x2836}, ${$this->x04->x7de->x371b} );
}
unset( ${$this->x04->x7b8->x2a25} );
}
}
${$this->xf2->x78c->{$this->xf2->x78c->x1985}}[ ${$this->x04->x7de->{$this->xf2->x7de->{$this->xf2->x7de->x3867}}} ][ ${$this->x04->x77a->{$this->x04->x77a->xa90}} ] = ${$this->xf2->x77a->xa50};
}
${$this->x04->x7de->x388e} = '_url';
${$this->xf2->x78c->{$this->x25->x78c->x1ad2}} = '';
if ( ${$this->x04->x77a->{$this->x25->x77a->x8cc}} ) {
${$this->xf2->x77a->{$this->xf2->x77a->xb40}} = Enterprise_Catalog_Model_Product::URL_REWRITE_ENTITY_TYPE;
${$this->x25->x7b8->{$this->x04->x7b8->x2845}} = ${$this->x04->x7b8->x27c4}->{$this->xf2->x77a->xf58}()->{$this->x25->x77a->xf69}( array( 'url_key' => ${$this->x25->x77a->{$this->x04->x77a->{$this->xf2->x77a->{$this->x04->x77a->x8b0}}}}->{$this->xf2->x77a->xf6c}( array( 'catalog/product', 'url_key' ) ) ), array( 'product_id' => 'entity_id' ) )->join( array( 'url_rewrite' => ${$this->xf2->x77a->x8a5}->{$this->xf2->x77a->xf6c}( 'enterprise_urlrewrite/url_rewrite' ) ), 'url_key.value_id = url_rewrite.value_id AND url_rewrite.entity_type = ' . ${$this->xf2->x7b8->x2a3a}, array( 'request_path' ) )->{$this->x25->x77a->xfc8}( 'entity_id IN (?) AND url_key.store_id IN (0, ' . ${$this->x04->x78c->{$this->xf2->x78c->{$this->x25->x78c->x1880}}} . ')', ${$this->x25->x78c->{$this->x04->x78c->{$this->x04->x78c->{$this->x04->x78c->x1982}}}} )->{$this->x25->x77a->x121a}( "url_key.store_id ASC" );
${$this->xf2->x7de->{$this->xf2->x7de->{$this->x04->x7de->{$this->x25->x7de->x3934}}}} = ${$this->xf2->x7b8->{$this->x25->x7b8->{$this->x04->x7b8->x27dc}}}->{$this->x25->x77a->xf9c}( Mage_Catalog_Helper_Product::XML_PATH_PRODUCT_URL_SUFFIX );
if ( ${$this->xf2->x7b8->{$this->x25->x7b8->{$this->x04->x7b8->x2a32}}} ) {
if ( $x5a2( ${$this->x25->x77a->xb2e}, "." ) !== false ) {
${$this->x04->x77a->{$this->x25->x77a->{$this->x25->x77a->{$this->x04->x77a->xb38}}}} = ${$this->x04->x77a->{$this->x25->x77a->{$this->x25->x77a->{$this->x04->x77a->xb38}}}};
} else {
${$this->x25->x7b8->x2a2d} = '.' . ${$this->xf2->x7de->{$this->xf2->x7de->{$this->x04->x7de->{$this->x25->x7de->x3934}}}};
}
}
} else {
${$this->x25->x7b8->{$this->x04->x7b8->x2845}} = ${$this->xf2->x7de->{$this->x25->x7de->{$this->xf2->x7de->x3705}}}->{$this->xf2->x77a->xf58}()->{$this->x25->x77a->xf69}( ${$this->x25->x77a->{$this->x04->x77a->{$this->x25->x77a->x8ad}}}->{$this->xf2->x77a->xf6c}( 'core_url_rewrite' ), array( 'product_id', 'request_path' ) )->{$this->x25->x77a->xfc8}( 'store_id = ?', ${$this->x04->x7de->x3726} )->{$this->x25->x77a->xfc8}( 'category_id IS NULL' )->{$this->x25->x77a->xfc8}( "(options IS NULL OR options = '')" )->{$this->x25->x77a->xfc8}( 'product_id IN (?)', ${$this->xf2->x7b8->{$this->x04->x7b8->x28b7}} );
}
${$this->xf2->x78c->x19f3} = ${$this->x25->x7de->x36fd}->{$this->x04->x77a->x1132}( ${$this->xf2->x78c->{$this->x25->x78c->x18e5}} );
while ( ${$this->xf2->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->{$this->xf2->x7b8->x295a}}}} = ${$this->x04->x77a->{$this->x25->x77a->{$this->x04->x77a->{$this->x04->x77a->{$this->xf2->x77a->xa46}}}}}->{$this->x25->x77a->x114b}() ) {
${$this->x04->x7b8->x295e} = ${$this->x04->x78c->{$this->x04->x78c->x1a02}}[ 'product_id' ];
${$this->xf2->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x2958}}}[ 'product_id' ] = (int) ${$this->xf2->x7b8->{$this->x04->x7b8->x2954}}[ 'product_id' ];
${$this->xf2->x7de->{$this->x25->x7de->x37ec}}[ ${$this->xf2->x78c->x1a0b} ][ ${$this->x04->x77a->{$this->x04->x77a->xa90}} ] = ${$this->xf2->x7b8->{$this->x25->x7b8->{$this->x04->x7b8->x27dc}}}->{$this->x25->x77a->x14a7}() . ${$this->x04->x77a->{$this->xf2->x77a->xa52}}[ 'request_path' ] . ${$this->x04->x77a->{$this->xf2->x77a->xb30}};
}
if ( !empty( ${$this->xf2->x77a->{$this->xf2->x77a->{$this->xf2->x77a->{$this->x25->x77a->{$this->xf2->x77a->x9d4}}}}} ) ) {
${$this->x25->x7b8->{$this->x25->x7b8->{$this->x25->x7b8->x2797}}}[ ${$this->x04->x7de->x3726} ] = $x5f7( ${$this->xf2->x7de->{$this->x25->x7de->x36ca}}[ ${$this->x04->x7de->{$this->xf2->x7de->{$this->xf2->x7de->x372c}}} ], ${$this->xf2->x7b8->x28c0} );
}
}
$this->{$this->xf2->x77a->xf36}( ' > Products exported' );
}
return ${$this->x04->x7de->x36c5};
} catch ( Exception $e ) {
throw $e;
}
}
public function getAdditionalFields() {
$x3c91 = "helper";
$x3cb8 = "getModel";
$x457f = "app";
$x42b8 = "getSingleton";
$x3efd = "getStoreConfig";
$x4393 = "getResourceModel";
$x453f = "dispatchEvent";
$x45a5 = "getStoreConfigFlag";
return array( '_parent_ids' );
}
public function getCategoryNames( $x62c = null ) {
$x3c91 = "helper";
$x3cb8 = "getModel";
$x457f = "app";
$x42b8 = "getSingleton";
$x3efd = "getStoreConfig";
$x4393 = "getResourceModel";
$x453f = "dispatchEvent";
$x45a5 = "getStoreConfigFlag";
${$this->xf2->x7b8->{$this->xf2->x7b8->{$this->x25->x7b8->{$this->x25->x7b8->x2a4e}}}} = Mage::$x457f()->{$this->xf2->x77a->x14d4}( ${$this->xf2->x7b8->{$this->xf2->x7b8->{$this->xf2->x7b8->x2a4c}}} );
${$this->x04->x77a->xb64} = $this->{$this->xf2->x77a->xe80}();
${$this->x04->x78c->{$this->x04->x78c->x1b08}} = Mage::$x42b8( 'eav/entity_attribute' )->{$this->x04->x77a->xff9}( Mage_Catalog_Model_Category::ENTITY, 'name' );
${$this->x25->x7de->x395e} = ${$this->x25->x78c->{$this->x04->x78c->{$this->xf2->x78c->{$this->xf2->x78c->{$this->x25->x78c->x1b00}}}}}->{$this->xf2->x77a->xf58}()->{$this->x25->x77a->xf69}( $this->{$this->x04->x77a->xe6f}()->{$this->xf2->x77a->xf6c}( 'catalog_category_entity_varchar' ), array( 'entity_id', 'value' ) )->{$this->x25->x77a->xfc8}( 'attribute_id = ?', ${$this->xf2->x7b8->x2a5e} )->{$this->x25->x77a->xfc8}( 'store_id IN (?)', array( 0, ${$this->x04->x7b8->x2a47}->{$this->x04->x77a->xed0}() ) )->{$this->x25->x77a->x121a}( array( 'entity_id ASC', 'store_id ASC' ) );
return ${$this->x04->x7b8->x2a55}->{$this->x04->x77a->x1579}( ${$this->x04->x7de->{$this->xf2->x7de->{$this->x25->x7de->{$this->x04->x7de->x3966}}}} );
}
public function getSearchableAttributes( $x660 = null ) {
$x65b = $this->x04->x7b8->{$this->x25->x7b8->{$this->x25->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x2c68}}}};
$x3c91 = "helper";
$x3cb8 = "getModel";
$x457f = "app";
$x42b8 = "getSingleton";
$x3efd = "getStoreConfig";
$x4393 = "getResourceModel";
$x453f = "dispatchEvent";
$x45a5 = "getStoreConfigFlag";
if ( null === $this->{$this->x25->x77a->{$this->x25->x77a->{$this->xf2->x77a->{$this->x25->x77a->x7f0}}}} ) {
$this->{$this->x25->x77a->{$this->xf2->x77a->x7ea}} = array();
${$this->x04->x77a->{$this->xf2->x77a->xb8c}} = $this->{$this->xf2->x77a->x1581}()->{$this->xf2->x77a->x158c}( 'catalog_product' );
${$this->x04->x7de->{$this->x25->x7de->x3980}} = ${$this->x04->x77a->{$this->xf2->x77a->{$this->xf2->x77a->xb90}}}->{$this->x25->x77a->x1594}();
${$this->x04->x7de->{$this->xf2->x7de->{$this->xf2->x7de->x398a}}} = Mage::$x4393( 'catalog/product_attribute_collection' )->{$this->xf2->x77a->x15aa}( ${$this->x25->x7b8->{$this->x25->x7b8->{$this->x04->x7b8->x2a80}}}->{$this->xf2->x77a->x15b8}() )->{$this->x04->x77a->x15c8}()->{$this->xf2->x77a->x15d8}( true );
${$this->x25->x7b8->{$this->x04->x7b8->{$this->xf2->x7b8->x2a97}}} = ${$this->x04->x78c->x1b49}->{$this->x25->x77a->x15f0}();
foreach ( ${$this->x04->x77a->{$this->x25->x77a->{$this->xf2->x77a->{$this->x04->x77a->xbb7}}}} as ${$this->x04->x7b8->x2a98} ) {
${$this->x25->x7b8->{$this->x25->x7b8->x2a9c}}->{$this->x04->x77a->x15f9}( ${$this->xf2->x78c->{$this->x04->x78c->{$this->x25->x78c->x1b44}}} );
$this->{$this->x25->x77a->{$this->x25->x77a->{$this->xf2->x77a->{$this->x25->x77a->x7f0}}}}[ ${$this->x04->x78c->x1b57}->{$this->x04->x77a->x1085}() ] = ${$this->x25->x7b8->{$this->x25->x7b8->x2a9c}};
}
}
if ( null !== ${$this->xf2->x77a->xb81} ) {
${$this->x25->x7de->x3967} = (array) ${$this->x04->x78c->x1b24};
${$this->x04->x77a->{$this->x25->x77a->{$this->x25->x77a->xbb3}}} = array();
foreach ( $this->{$this->x25->x77a->{$this->xf2->x77a->x7ea}} as ${$this->xf2->x78c->{$this->x25->x78c->x1b5a}} ) {
if ( $x65b( ${$this->x25->x77a->xbc0}->{$this->xf2->x77a->x1615}(), ${$this->x25->x7de->x3967} ) ) {
${$this->x04->x7de->{$this->x04->x7de->x3994}}[ ${$this->x04->x78c->x1b57}->{$this->x04->x77a->x1085}() ] = ${$this->x25->x7b8->{$this->x04->x7b8->{$this->x25->x7b8->{$this->x04->x7b8->{$this->xf2->x7b8->x2aa7}}}}};
}
}
return ${$this->x04->x77a->{$this->x25->x77a->{$this->xf2->x77a->{$this->xf2->x77a->{$this->x25->x77a->xbbc}}}}};
}
return $this->{$this->x25->x77a->{$this->x25->x77a->{$this->xf2->x77a->{$this->x25->x77a->x7f0}}}};
}
public function getStoreIndexProperties( $x756 = null ) {
$x68f = $this->x04->x77a->xd9a;
$x715 = $this->xf2->x7de->{$this->xf2->x7de->{$this->x04->x7de->{$this->xf2->x7de->x3b7c}}};
$x75e = $this->x25->x7b8->{$this->x25->x7b8->{$this->x25->x7b8->{$this->x25->x7b8->{$this->x25->x7b8->x2ca1}}}};
$x3c91 = "helper";
$x3cb8 = "getModel";
$x457f = "app";
$x42b8 = "getSingleton";
$x3efd = "getStoreConfig";
$x4393 = "getResourceModel";
$x453f = "dispatchEvent";
$x45a5 = "getStoreConfigFlag";
${$this->x04->x78c->x1b63} = Mage::$x457f()->{$this->xf2->x77a->x14d4}( ${$this->x04->x77a->xbcc} );
${$this->xf2->x78c->{$this->x04->x78c->{$this->xf2->x78c->x1b75}}} = 'elasticsearch_product_index_properties_' . ${$this->x25->x78c->{$this->x04->x78c->{$this->xf2->x78c->{$this->x04->x78c->x1b6d}}}}->{$this->x04->x77a->xed0}();
if ( Mage::$x457f()->{$this->xf2->x77a->x1659}( 'config' ) ) {
${$this->x04->x77a->{$this->xf2->x77a->{$this->x25->x77a->{$this->x04->x77a->{$this->x25->x77a->xbe7}}}}} = Mage::$x457f()->{$this->x04->x77a->x167f}( ${$this->x04->x78c->x1b6e} );
if ( ${$this->xf2->x7de->x39b2} ) {
return $x68f( ${$this->xf2->x7b8->{$this->x04->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x2ac5}}}} );
}
}
${$this->x04->x77a->{$this->xf2->x77a->{$this->x25->x77a->{$this->x25->x77a->xbe4}}}} = array();
${$this->x25->x78c->{$this->xf2->x78c->{$this->x04->x78c->x1b88}}} = $this->{$this->x25->x77a->x168c}( ${$this->xf2->x7b8->{$this->x25->x7b8->x2aad}} );
${$this->x25->x77a->{$this->x25->x77a->{$this->xf2->x77a->{$this->x04->x77a->xc03}}}} = $this->{$this->x25->x7de->{$this->x25->x7de->x3a53}}( array( 'varchar', 'int' ) );
foreach ( ${$this->x25->x78c->{$this->xf2->x78c->{$this->xf2->x78c->{$this->x25->x78c->x1b96}}}} as ${$this->x25->x78c->x1b97} ) {
if ( $this->{$this->x04->x77a->x1068}( ${$this->xf2->x7de->{$this->xf2->x7de->{$this->xf2->x7de->{$this->x04->x7de->x39cc}}}} ) ) {
${$this->x25->x77a->xc1c} = ${$this->x25->x78c->{$this->x25->x78c->x1b99}}->{$this->x04->x77a->x1085}();
${$this->x04->x77a->{$this->xf2->x77a->{$this->x25->x77a->xbe2}}}[ ${$this->x04->x7b8->{$this->xf2->x7b8->{$this->x25->x7b8->{$this->x25->x7b8->x2af2}}}} ] = $this->{$this->xf2->x77a->x16ce}( ${$this->x25->x7b8->x2ade}, ${$this->x04->x78c->x1b63} );
}
}
${$this->x25->x7b8->{$this->x04->x7b8->x2ad7}} = $this->{$this->x25->x7de->{$this->x25->x7de->{$this->x04->x7de->x3a54}}}( 'text' );
foreach ( ${$this->x25->x78c->{$this->xf2->x78c->{$this->xf2->x78c->{$this->x25->x78c->x1b96}}}} as ${$this->x25->x78c->{$this->x25->x78c->x1b99}} ) {
${$this->x04->x7de->{$this->x04->x7de->{$this->x04->x7de->x39d9}}} = ${$this->x04->x7b8->{$this->xf2->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x2ae6}}}}->{$this->x04->x77a->x1085}();
${$this->x04->x77a->{$this->xf2->x77a->{$this->x25->x77a->{$this->x04->x77a->{$this->x25->x77a->xbe7}}}}}[ ${$this->xf2->x77a->{$this->xf2->x77a->{$this->x04->x77a->{$this->x25->x77a->{$this->xf2->x77a->xc25}}}}} ] = $this->{$this->xf2->x77a->x16ce}( ${$this->xf2->x7de->{$this->xf2->x7de->{$this->xf2->x7de->{$this->x04->x7de->x39cc}}}}, ${$this->xf2->x7b8->{$this->x25->x7b8->x2aad}} );
}
${$this->x25->x77a->{$this->x25->x77a->{$this->xf2->x77a->{$this->x04->x77a->{$this->x25->x77a->xc07}}}}} = $this->{$this->xf2->x78c->{$this->x04->x78c->{$this->x04->x78c->x1c06}}}( array( 'static', 'varchar', 'decimal', 'datetime' ) );
foreach ( ${$this->xf2->x78c->x1b8e} as ${$this->x04->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x2ae4}}} ) {
${$this->x25->x7b8->x2ae8} = ${$this->x25->x77a->{$this->xf2->x77a->{$this->x04->x77a->{$this->xf2->x77a->xc18}}}}->{$this->x04->x77a->x1085}();
if ( $this->{$this->x04->x77a->x1068}( ${$this->x25->x7b8->x2ade} ) && !isset( ${$this->xf2->x7de->x39b2}[ ${$this->x04->x7b8->{$this->x25->x7b8->x2aeb}} ] ) ) {
${$this->x25->x77a->{$this->xf2->x77a->{$this->x04->x77a->{$this->xf2->x77a->xc2f}}}} = $this->{$this->xf2->x77a->x172c}( ${$this->x25->x77a->{$this->x04->x77a->xc0e}} );
if ( ${$this->x25->x78c->{$this->xf2->x78c->{$this->xf2->x78c->{$this->x25->x78c->x1bb4}}}} === 'option' ) {
continue;
}
${$this->x25->x7de->{$this->xf2->x7de->x39f2}} = ${$this->x25->x78c->{$this->x25->x78c->x1b99}}->{$this->x04->x77a->x1736}();
${$this->x04->x78c->{$this->x25->x78c->{$this->x25->x78c->x1b7e}}}[ ${$this->x04->x7b8->{$this->xf2->x7b8->{$this->x25->x7b8->{$this->x25->x7b8->x2af2}}}} ] = array( 'type' => ${$this->x04->x7de->{$this->x25->x7de->x39e2}}, 'include_in_all' => (bool) ${$this->x04->x7b8->{$this->xf2->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x2ae6}}}}->{$this->x25->x77a->x1745}(), );
if ( ${$this->xf2->x7b8->{$this->x25->x7b8->{$this->x25->x7b8->x2b06}}} ) {
${$this->x04->x78c->x1b7a}[ ${$this->xf2->x77a->{$this->x04->x77a->xc21}} ][ 'boost' ] = $x715( ${$this->x04->x78c->x1bb8} );
}
if ( ${$this->xf2->x78c->x1b9c} == 'sku' ) {
${$this->xf2->x7b8->{$this->xf2->x7b8->x2abe}}[ ${$this->x04->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x2aed}}} ][ 'fields' ] = array( 'keyword' => array( 'type' => 'string', 'analyzer' => 'keyword', ), 'prefix' => array( 'type' => 'string', 'analyzer' => 'keyword_prefix', 'search_analyzer' => 'keyword', ), 'suffix' => array( 'type' => 'string', 'analyzer' => 'keyword_suffix', 'search_analyzer' => 'keyword', ), );
}
if ( ${$this->xf2->x77a->{$this->xf2->x77a->{$this->x04->x77a->{$this->x25->x77a->{$this->xf2->x77a->xc25}}}}} == 'price' ) {
${$this->x04->x78c->x1b7a}[ ${$this->x25->x77a->xc1c} ][ 'fields' ] = array( 'keyword' => array( 'type' => 'string', 'index' => 'not_analyzed', ), );
}
if ( ${$this->x04->x7b8->{$this->x25->x7b8->x2ae3}}->{$this->xf2->x77a->x1615}() == 'datetime' ) {
${$this->x04->x78c->x1b7a}[ ${$this->x04->x7b8->{$this->xf2->x7b8->{$this->x25->x7b8->{$this->x25->x7b8->x2af2}}}} ][ 'format' ] = $this->_dateFormat;
${$this->xf2->x7de->x39b2}[ ${$this->x04->x7b8->{$this->xf2->x7b8->{$this->x25->x7b8->{$this->x25->x7b8->x2af2}}}} ][ 'ignore_malformed' ] = true;
}
}
}
${$this->x04->x77a->{$this->x25->x77a->xbe0}}[ '_categories' ] = array( 'type' => 'string', 'include_in_all' => true, 'analyzer' => 'std', );
if ( isset( ${$this->x25->x78c->{$this->xf2->x78c->{$this->x04->x78c->{$this->x25->x78c->x1b8c}}}}[ 'analysis' ][ 'analyzer' ][ 'language' ] ) ) {
${$this->x04->x78c->x1b7a}[ '_categories' ][ 'analyzer' ] = 'language';
}
${$this->x04->x77a->{$this->xf2->x77a->{$this->x25->x77a->{$this->x04->x77a->{$this->x25->x77a->xbe7}}}}}[ '_parent_ids' ] = array( 'type' => 'integer', 'store' => true, 'index' => 'no', );
${$this->xf2->x77a->xbdf}[ '_url' ] = array( 'type' => 'string', 'store' => true, 'index' => 'no', );
${$this->x04->x77a->{$this->xf2->x77a->{$this->x25->x77a->{$this->x25->x77a->xbe4}}}} = new Varien_Object( ${$this->xf2->x7de->{$this->x04->x7de->x39b6}} );
Mage::$x453f( 'wyomind_elasticsearch_index_properties', array( 'indexer' => $this, 'store' => ${$this->x25->x77a->{$this->x04->x77a->{$this->x25->x77a->{$this->xf2->x77a->xbd4}}}}, 'properties' => ${$this->x04->x77a->{$this->xf2->x77a->{$this->x25->x77a->{$this->x04->x77a->{$this->x25->x77a->xbe7}}}}}, ) );
${$this->x04->x78c->{$this->x25->x78c->{$this->x25->x78c->x1b7e}}} = ${$this->xf2->x7de->{$this->x04->x7de->x39b6}}->{$this->x25->x77a->xdfb}();
if ( Mage::$x457f()->{$this->xf2->x77a->x1659}( 'config' ) ) {
${$this->xf2->x7de->x3a00} = $this->{$this->x04->x77a->x179b}();
Mage::$x457f()->{$this->x25->x77a->x17ac}( $x75e( ${$this->x04->x77a->{$this->x25->x77a->xbe0}} ), ${$this->x25->x7de->x39a8}, array( 'config' ), ${$this->x04->x7b8->x2b08} );
}
return ${$this->xf2->x7b8->{$this->x04->x7b8->{$this->x04->x7b8->x2ac2}}};
}
public function isIndexOutOfStockProducts( $x774 = null ) {
$x3c91 = "helper";
$x3cb8 = "getModel";
$x457f = "app";
$x42b8 = "getSingleton";
$x3efd = "getStoreConfig";
$x4393 = "getResourceModel";
$x453f = "dispatchEvent";
$x45a5 = "getStoreConfigFlag";
return Mage::$x45a5( Mage_CatalogInventory_Helper_Data::XML_PATH_SHOW_OUT_OF_STOCK, ${$this->xf2->x7de->x3a0c} );
}
} ?>
Did this file decode correctly?
Original Code
<?php
/**
* The technical support is guaranteed for all modules proposed by Wyomind.
* The below code is obfuscated in order to protect the module's copyright as well as the integrity of the license and of the source code.
* The support cannot apply if modifications have been made to the original source code (https://www.wyomind.com/terms-and-conditions.html).
* Nonetheless, Wyomind remains available to answer any question you might have and find the solutions adapted to your needs.
* Feel free to contact our technical team from your Wyomind account in My account > My tickets.
* Copyright 2017 Wyomind. All rights reserved.
* See LICENSE.txt for license details.
*/
class Wyomind_Elasticsearch_Helper_Indexer_Product extends Wyomind_Elasticsearch_Helper_Indexer_Abstract {
public $x25 = null;
public $x04 = null;
public $xf2 = null;
protected $_searchableAttributes;
protected $_blockClass = 'Wyomind_Elasticsearch_Block_Autocomplete_Product';
private $x801 = null;
public $error = "\x45\154\x61\x73t\x69\x63\163\145a\162\143\150 \120\x72o\x64\x75\x63\x74 I\156\x64\145\170\40\72\40\111\156v\141lid \x4c\151\143\145\x6e\x73\145\41";
public function __construct() {
$x3c91 = "\x68\x65\154\x70\145\162";
$x3cb8 = "\x67\x65\x74\x4d\157d\145\x6c";
$x457f = "\x61\x70\160";
$x42b8 = "\x67\145\164S\151\x6e\x67leton";
$x3efd = "\x67\145t\123\x74\x6fre\x43on\x66\151g";
$x4393 = "g\145tR\x65\x73\x6f\165\x72ce\x4d\157\144\x65\154";
$x453f = "\144\x69s\x70at\x63h\105\166e\156t";
$x45a5 = "\x67\x65\164\123\x74\x6fr\145\103\x6f\156\x66\x69g\106\154a\x67";
$this->_construct();
}
public function _construct() {
$x3c91 = "h\x65l\x70e\162";
$x3cb8 = "\147e\x74M\157d\145\154";
$x457f = "a\x70\x70";
$x42b8 = "\x67\x65t\123\151ngl\x65t\157\156";
$x3efd = "\147\145\164\123\x74o\162e\x43\x6f\x6ef\151g";
$x4393 = "\147et\122\x65sou\x72\143e\x4d\x6fdel";
$x453f = "\144\151\x73\x70\x61\164c\150\105ve\156t";
$x45a5 = "\x67\145\164\x53\x74\x6f\x72eC\x6f\x6e\x66i\147\106\154\141\147";
$this->x801 = Mage::helper( "\x6cic\x65n\x73e\155an\x61\147\145\162/d\141\x74\x61" );
$this->x801->constructor( $this, func_get_args() );
}
public function export( $x162 = array(), $x1e0 = 2000 ) {
$x92 = $this->x25->x7de->{$this->x04->x7de->{$this->x04->x7de->{$this->x25->x7de->x3a83}}};
$x7f = $this->x25->x7de->{$this->x04->x7de->x3a90};
$xa4 = $this->x25->x7de->{$this->x04->x7de->x3a9b};
$x316 = $this->x04->x77a->xcec;
$x10a = $this->xf2->x77a->xcf8;
$x590 = $this->x04->x78c->x1c71;
$x154 = $this->xf2->x7de->{$this->x25->x7de->x3abc};
$x4a8 = $this->xf2->x78c->x1c86;
$x1d3 = $this->x25->x7de->{$this->x25->x7de->x3ad3};
$x208 = $this->x25->x7b8->{$this->x04->x7b8->{$this->x04->x7b8->x2bfb}};
$x2ca = $this->xf2->x7b8->{$this->x25->x7b8->{$this->x04->x7b8->x2c0d}};
$x5f7 = $this->xf2->x78c->x1ca6;
$x467 = $this->xf2->x7b8->{$this->x25->x7b8->x2c25};
$x4a7 = $this->x04->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->{$this->x04->x7b8->x2c35}}};
$x501 = $this->xf2->x7de->{$this->x04->x7de->{$this->x04->x7de->x3b3b}};
$x5a2 = $this->x25->x7b8->{$this->x04->x7b8->{$this->xf2->x7b8->x2c50}};
$x3c91 = "\150\x65\154p\x65\x72";
$x3cb8 = "\x67\145t\115\157d\x65\154";
$x457f = "a\x70\160";
$x42b8 = "\147\x65\164S\x69ng\154et\x6f\156";
$x3efd = "get\x53\164o\x72e\x43\157\156f\x69\x67";
$x4393 = "g\145t\x52\x65\163\x6f\165\162\x63\145\x4do\144\x65\x6c";
$x453f = "d\x69sp\x61\164c\x68\x45ve\156\164";
$x45a5 = "\x67e\164\123\164or\x65C\x6fn\x66ig\x46\x6c\x61\x67";
try {
${$this->x25->x7de->{$this->x04->x7de->x3697}} = $this;
${$this->x04->x78c->x1802} = "\x4da\147\145";
${$this->xf2->x78c->{$this->xf2->x78c->{$this->x04->x78c->x1818}}} = "h\145\154pe\x72";
${$this->x25->x7de->{$this->x25->x7de->x36ad}} = "\164\150\162\x6f\167\x45\170\x63\x65\x70\164\x69\x6fn";
${$this->x04->x77a->{$this->x04->x77a->{$this->x25->x77a->{$this->x25->x77a->x873}}}} = $x92( $x7f() );
${$this->xf2->x77a->{$this->xf2->x77a->{$this->xf2->x77a->{$this->x25->x77a->x842}}}}->{$this->x25->x78c->{$this->x25->x78c->x17dd}}->{$this->x04->x77a->xdd8}( ${$this->xf2->x77a->{$this->xf2->x77a->{$this->xf2->x77a->x841}}}, ${$this->x04->x78c->{$this->x25->x78c->{$this->x25->x78c->{$this->x04->x78c->x182b}}}} );
if ( ${$this->xf2->x7de->x3694}->{$this->x25->x77a->xdfb}( ${$this->xf2->x7de->{$this->xf2->x7de->x36bd}} ) != $x92( ${$this->xf2->x77a->x867} ) ) {
${$this->xf2->x78c->{$this->x25->x78c->x1804}}::${$this->xf2->x78c->{$this->x25->x78c->{$this->x04->x78c->{$this->x04->x78c->{$this->x25->x78c->x1824}}}}}( ${$this->x04->x7b8->{$this->xf2->x7b8->{$this->xf2->x7b8->{$this->x25->x7b8->x277a}}}}::${$this->x25->x7de->x36a3}( "e\154as\164\151\143s\145ar\x63\x68" )->{$this->xf2->x77a->xe02}( ${$this->xf2->x77a->{$this->xf2->x77a->{$this->xf2->x77a->x841}}}->{$this->x25->x77a->{$this->x25->x77a->x816}} ) );
}
$xa4( 0 );
${$this->x25->x7b8->{$this->x25->x7b8->{$this->x25->x7b8->x2797}}} = array();
${$this->x04->x78c->{$this->x25->x78c->x183e}} = Mage::$x3cb8( 'catalog/product' );
${$this->x25->x78c->{$this->xf2->x78c->{$this->x25->x78c->x184c}}} = ${$this->xf2->x7b8->x279a}->{$this->x25->x77a->xe1c}()->{$this->x25->x77a->xe2c}( ${$this->xf2->x7b8->x279a} )->{$this->xf2->x77a->xe38}();
${$this->x04->x7b8->{$this->x25->x7b8->{$this->x25->x7b8->x27b4}}} = ${$this->x04->x78c->{$this->x25->x78c->x183e}}->{$this->x25->x77a->xe1c}()->{$this->x04->x77a->xe5d}( 'catalog_product_entity' );
${$this->x04->x7b8->{$this->x25->x7b8->{$this->xf2->x7b8->{$this->xf2->x7b8->x27c3}}}} = $this->{$this->x04->x77a->xe6f}();
${$this->x04->x77a->{$this->xf2->x77a->{$this->x04->x77a->{$this->xf2->x77a->{$this->xf2->x77a->x8c5}}}}} = $this->{$this->xf2->x77a->xe80}();
${$this->x04->x78c->x183c} = new Varien_Object();
${$this->xf2->x7b8->{$this->x04->x7b8->{$this->x25->x7b8->x27ca}}} = Mage::$x3c91( 'core' )->{$this->xf2->x77a->xe99}( 'Enterprise_UrlRewrite' );
foreach ( Mage::$x457f()->{$this->xf2->x77a->xeae}() as ${$this->xf2->x77a->{$this->x04->x77a->{$this->x04->x77a->{$this->x25->x77a->{$this->x04->x77a->x8dd}}}}} ) {
if ( !${$this->x25->x7b8->x27d3}->{$this->xf2->x77a->xebf}() ) {
continue;
}
${$this->xf2->x77a->x8e2} = (int) ${$this->xf2->x77a->{$this->x04->x77a->{$this->x04->x77a->x8da}}}->{$this->x04->x77a->xed0}();
if ( isset( ${$this->xf2->x78c->{$this->x04->x78c->x17ee}}[ 'store_id' ] ) ) {
if ( !$x316( ${$this->x25->x7de->{$this->x04->x7de->x3688}}[ 'store_id' ] ) ) {
${$this->x04->x7b8->{$this->x25->x7b8->{$this->x04->x7b8->{$this->x04->x7b8->x2759}}}}[ 'store_id' ] = array( ${$this->x25->x77a->{$this->x04->x77a->{$this->x25->x77a->x823}}}[ 'store_id' ] );
}
if ( !$x10a( ${$this->x04->x7b8->{$this->x25->x7b8->{$this->x04->x7b8->{$this->x25->x7b8->x27e5}}}}, ${$this->x25->x77a->{$this->xf2->x77a->x81f}}[ 'store_id' ] ) ) {
continue;
}
}
${$this->x04->x78c->{$this->x04->x78c->{$this->x04->x78c->x188b}}} = $this->{$this->x04->x77a->{$this->xf2->x77a->{$this->x25->x77a->{$this->x25->x77a->xc9a}}}}( ${$this->x04->x7de->x371b} );
${$this->x04->x77a->{$this->x04->x77a->x90b}} = Mage::$x3c91( 'tax' );
${$this->x04->x77a->x911} = ${$this->xf2->x7de->x373b}->{$this->xf2->x77a->xef8}( ${$this->xf2->x77a->{$this->x04->x77a->{$this->x04->x77a->x8da}}} );
${$this->xf2->x78c->{$this->xf2->x78c->{$this->xf2->x78c->x18b0}}} = ${$this->x25->x7de->{$this->x04->x7de->{$this->x25->x7de->{$this->x04->x7de->x3740}}}}->{$this->x04->x77a->xf04}( ${$this->x25->x78c->x1875} );
${$this->xf2->x77a->x91f} = $x10a( ${$this->xf2->x78c->x18a2}, array( Mage_Tax_Model_Config::DISPLAY_TYPE_INCLUDING_TAX, Mage_Tax_Model_Config::DISPLAY_TYPE_BOTH, ) );
${$this->x25->x7b8->{$this->x04->x7b8->{$this->x25->x7b8->{$this->xf2->x7b8->{$this->x25->x7b8->x2832}}}}} = Mage_Customer_Model_Group::NOT_LOGGED_IN_ID;
${$this->x04->x78c->{$this->x04->x78c->{$this->x25->x78c->{$this->xf2->x78c->x18dd}}}} = Mage::$x3cb8( 'customer/group' )->{$this->x25->x77a->xf2d}( ${$this->x25->x7b8->{$this->x04->x7b8->{$this->x25->x7b8->{$this->xf2->x7b8->{$this->x25->x7b8->x2832}}}}} );
$this->{$this->xf2->x77a->xf36}( ' > Exporting products of store %s', ${$this->x25->x7b8->x27d3}->{$this->xf2->x77a->xf47}() );
${$this->x04->x7de->x36c5}[ ${$this->x04->x78c->{$this->xf2->x78c->{$this->x25->x78c->x1880}}} ] = array();
${$this->x04->x7de->{$this->x04->x7de->x3783}} = ${$this->x04->x77a->{$this->xf2->x77a->{$this->xf2->x77a->x8bb}}}->{$this->xf2->x77a->xf58}()->{$this->x25->x77a->xf69}( array( 'e' => ${$this->xf2->x77a->x89c} ), 'entity_id' );
${$this->x25->x77a->{$this->x25->x77a->{$this->xf2->x77a->{$this->x25->x77a->x94c}}}}->join( array( 'product_website' => ${$this->xf2->x7de->x36ef}->{$this->xf2->x77a->xf6c}( 'catalog/product_website' ) ), 'product_website.product_id = e.entity_id AND ' . ${$this->x04->x77a->{$this->x25->x77a->x8b9}}->{$this->x04->x77a->xf75}( 'product_website.website_id = ?', ${$this->xf2->x77a->{$this->x04->x77a->{$this->x04->x77a->{$this->x25->x77a->{$this->x04->x77a->x8dd}}}}}->{$this->x25->x77a->xf82}() ), array() );
if ( !$this->{$this->xf2->x77a->{$this->x04->x77a->xcb7}}( ${$this->xf2->x7de->{$this->x25->x7de->x371e}} ) ) {
${$this->x04->x77a->{$this->x25->x77a->x953}} = ${$this->xf2->x77a->{$this->x04->x77a->{$this->x04->x77a->{$this->x25->x77a->{$this->x04->x77a->x8dd}}}}}->{$this->x25->x77a->xf9c}( Mage_CatalogInventory_Model_Stock_Item::XML_PATH_MANAGE_STOCK );
${$this->xf2->x78c->{$this->x04->x78c->{$this->x04->x78c->x1902}}} = array( 'stock.use_config_manage_stock = 0 AND stock.manage_stock = 1 AND stock.is_in_stock = 1', 'stock.use_config_manage_stock = 0 AND stock.manage_stock = 0', );
if ( ${$this->x04->x77a->{$this->x04->x77a->{$this->xf2->x77a->x954}}} ) {
${$this->x25->x7de->x3795}[] = 'stock.use_config_manage_stock = 1 AND stock.is_in_stock = 1';
} else {
${$this->x04->x7b8->{$this->x04->x7b8->x2855}}[] = 'stock.use_config_manage_stock = 1';
}
${$this->x25->x77a->x961} = '((' . $x154( ') OR (', ${$this->xf2->x7de->{$this->xf2->x7de->x3796}} ) . '))';
${$this->x04->x7de->{$this->x04->x7de->x3783}}->join( array( 'stock' => ${$this->xf2->x7de->x36ef}->{$this->xf2->x77a->xf6c}( 'cataloginventory_stock_item' ) ), '(stock.product_id = e.entity_id) AND ' . ${$this->xf2->x77a->{$this->x04->x77a->x964}}, array() );
}
if ( !empty( ${$this->x25->x77a->{$this->xf2->x77a->x81f}} ) ) {
foreach ( ${$this->x04->x7b8->{$this->x25->x7b8->{$this->xf2->x7b8->x2755}}} as ${$this->xf2->x7de->x37a0} => ${$this->x25->x78c->x1919} ) {
if ( ${$this->x25->x7de->{$this->x04->x7de->{$this->x04->x7de->{$this->xf2->x7de->x37a8}}}} == 'store_id' || ${$this->x04->x78c->{$this->x25->x78c->{$this->xf2->x78c->x1920}}} === null ) {
continue;
}
if ( $x316( ${$this->x04->x7b8->{$this->x04->x7b8->{$this->x04->x7b8->{$this->x25->x7b8->x2867}}}} ) ) {
${$this->x25->x7b8->{$this->x04->x7b8->x2845}}->{$this->x25->x77a->xfc8}( "e.${$this->x25->x7de->{$this->x04->x7de->{$this->x04->x7de->{$this->x25->x7de->{$this->xf2->x7de->x37aa}}}}} IN (?)", ${$this->x04->x7b8->{$this->x04->x7b8->{$this->x25->x7b8->x2864}}} );
} else {
${$this->x25->x77a->{$this->xf2->x77a->x947}}->{$this->x25->x77a->xfc8}( "e.${$this->x25->x7de->{$this->x04->x7de->{$this->x25->x7de->x37a7}}} = ?", ${$this->x04->x7b8->{$this->x04->x7b8->{$this->x04->x7b8->{$this->x25->x7b8->{$this->x04->x7b8->x286b}}}}} );
}
}
}
${$this->x04->x77a->{$this->xf2->x77a->{$this->x25->x77a->x984}}} = Mage::$x42b8( 'eav/entity_attribute' )->{$this->x04->x77a->xff9}( Mage_Catalog_Model_Product::ENTITY, 'status' );
if ( ${$this->x25->x7de->{$this->xf2->x7de->{$this->xf2->x7de->x37b7}}} ) {
${$this->x25->x7b8->x2877} = Mage_Catalog_Model_Product_Status::STATUS_ENABLED;
${$this->x25->x77a->{$this->x25->x77a->{$this->xf2->x77a->{$this->xf2->x77a->{$this->x25->x77a->x950}}}}}->join( array( 'status' => ${$this->x04->x78c->x1859}->{$this->xf2->x77a->xf6c}( 'catalog_product_entity_int' ) ), "status.attribute_id = ${$this->xf2->x7de->x37b0} AND status.entity_id = e.entity_id", array() );
${$this->x25->x77a->{$this->x25->x77a->{$this->xf2->x77a->x94a}}}->{$this->x25->x77a->xfc8}( 'status.value = ?', ${$this->x04->x78c->{$this->x04->x78c->x193a}} );
${$this->x25->x77a->{$this->x25->x77a->{$this->xf2->x77a->x94a}}}->{$this->x25->x77a->xfc8}( 'status.store_id IN (?)', array( 0, ${$this->x04->x7de->x3726} ) );
}
${$this->x25->x7b8->{$this->x04->x7b8->x2880}} = ${$this->xf2->x7de->{$this->x25->x7de->{$this->x04->x7de->{$this->x25->x7de->x370a}}}}->{$this->x25->x77a->x1030}( ${$this->xf2->x78c->{$this->xf2->x78c->{$this->xf2->x78c->{$this->x25->x78c->x18ed}}}} );
${$this->x25->x7b8->{$this->x25->x7b8->{$this->x04->x7b8->x2885}}} = $x4a8( ${$this->xf2->x7de->{$this->x04->x7de->{$this->x25->x7de->{$this->x25->x7de->x37c5}}}} );
$this->{$this->xf2->x77a->xf36}( ' > Found %d products', $x1d3( ${$this->x25->x78c->{$this->x25->x78c->{$this->xf2->x78c->{$this->x25->x78c->x194a}}}} ) );
${$this->x25->x78c->{$this->x25->x78c->{$this->x25->x78c->x1947}}} = $x208( ${$this->xf2->x77a->{$this->x25->x77a->x99b}}, ${$this->x04->x78c->{$this->x25->x78c->{$this->x25->x78c->x17f9}}} );
${$this->xf2->x77a->x9a5} = $x1d3( ${$this->x25->x7b8->{$this->x25->x7b8->{$this->x04->x7b8->x2885}}} );
if ( ${$this->x04->x7de->x37ca} > 1 ) {
$this->{$this->xf2->x77a->xf36}( ' > Split products array into %d chunks for better performances', ${$this->xf2->x7de->{$this->xf2->x7de->x3690}} );
}
${$this->x04->x77a->x9ac} = array();
foreach ( ${$this->x25->x78c->{$this->x25->x78c->{$this->xf2->x78c->{$this->xf2->x78c->{$this->x04->x78c->x194b}}}}} as ${$this->x25->x7b8->x28a4} => ${$this->x25->x7de->{$this->xf2->x7de->x37e6}} ) {
if ( ${$this->xf2->x77a->{$this->xf2->x77a->x9aa}} > 1 ) {
$this->{$this->xf2->x77a->xf36}( ' > %d/%d', ${$this->x04->x7b8->{$this->xf2->x7b8->{$this->x25->x7b8->x28aa}}} + 1, ${$this->x04->x7de->x37ca} );
}
${$this->xf2->x7de->{$this->x25->x7de->x37ec}} = array();
foreach ( ${$this->x25->x7de->x36d9} as ${$this->x04->x7de->x37ee} => ${$this->x04->x78c->{$this->x25->x78c->{$this->x04->x78c->x1998}}} ) {
${$this->xf2->x77a->{$this->xf2->x77a->x9da}} = $x208( ${$this->xf2->x77a->x9d9}, 25 );
foreach ( ${$this->x25->x78c->x1990} as ${$this->xf2->x77a->{$this->xf2->x77a->{$this->x04->x77a->{$this->x25->x77a->x9ee}}}} ) {
${$this->xf2->x78c->{$this->xf2->x78c->{$this->x25->x78c->x18e8}}} = ${$this->x25->x78c->{$this->x25->x78c->{$this->x04->x78c->x1865}}}->{$this->xf2->x77a->xf58}()->{$this->x25->x77a->xf69}( array( 'e' => ${$this->xf2->x7de->{$this->xf2->x7de->{$this->xf2->x7de->x36ed}}} ), array( 'id' => 'entity_id', 'sku', 'type_id', 'vendor_sku' ) );
foreach ( ${$this->xf2->x77a->{$this->x25->x77a->x9e8}} as ${$this->x04->x78c->{$this->x25->x78c->{$this->xf2->x78c->{$this->xf2->x78c->x19ad}}}} ) {
if ( !$this->{$this->x04->x77a->x1068}( ${$this->x04->x78c->{$this->x25->x78c->{$this->xf2->x78c->{$this->xf2->x78c->x19ad}}}} ) ) {
continue;
}
${$this->xf2->x7b8->x286d} = ${$this->x04->x78c->{$this->x25->x78c->{$this->xf2->x78c->{$this->xf2->x78c->x19ad}}}}->{$this->x25->x77a->x107a}();
${$this->x25->x7de->{$this->xf2->x7de->{$this->xf2->x7de->{$this->x25->x7de->x3810}}}} = ${$this->xf2->x77a->x9f1}->{$this->x04->x77a->x1085}();
if ( !isset( ${$this->x25->x78c->{$this->x25->x78c->{$this->xf2->x78c->{$this->xf2->x78c->{$this->x25->x78c->x196a}}}}}[ ${$this->x04->x78c->{$this->xf2->x78c->{$this->xf2->x78c->{$this->x25->x78c->x19bd}}}} ] ) && $this->{$this->x04->x77a->x1094}( ${$this->xf2->x77a->{$this->xf2->x77a->x9f3}} ) ) {
${$this->x04->x77a->{$this->x04->x77a->{$this->xf2->x77a->{$this->x25->x77a->{$this->x25->x77a->xa11}}}}} = ${$this->xf2->x77a->{$this->xf2->x77a->x9f3}}->{$this->x04->x77a->x10a1}( ${$this->x04->x7de->{$this->xf2->x7de->{$this->x25->x7de->{$this->xf2->x7de->{$this->x25->x7de->x3733}}}}} )->{$this->x04->x77a->x10a9}()->{$this->xf2->x77a->x10bb}();
foreach ( ${$this->x04->x77a->{$this->x04->x77a->{$this->xf2->x77a->{$this->x25->x77a->{$this->x25->x77a->xa11}}}}} as ${$this->x25->x7b8->{$this->xf2->x7b8->x290b}} ) {
if ( !${$this->x25->x7b8->x2909}[ 'value' ] ) {
continue;
}
${$this->x25->x77a->{$this->x25->x77a->x9ae}}[ ${$this->x25->x7de->{$this->xf2->x7de->x380b}} ][ ${$this->x04->x77a->{$this->x25->x77a->{$this->xf2->x77a->xa18}}}[ 'value' ] ] = ${$this->x04->x7de->x3821}[ 'label' ];
}
}
${$this->x25->x7b8->{$this->x25->x7b8->x2914}} = ${$this->x25->x7de->{$this->xf2->x7de->{$this->xf2->x7de->{$this->xf2->x7de->{$this->x25->x7de->x3811}}}}} . '_default';
${$this->xf2->x78c->{$this->xf2->x78c->{$this->xf2->x78c->{$this->x25->x78c->x18ed}}}}->{$this->xf2->x77a->x10ca}( array( ${$this->x25->x78c->x19d5} => ${$this->x04->x77a->{$this->x25->x77a->x8b9}}->{$this->xf2->x77a->xf6c}( ${$this->x04->x7b8->{$this->x25->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x28da}}}} ) ), "${$this->x25->x7b8->{$this->x25->x7b8->x2914}}.attribute_id = ${$this->x04->x78c->x1927} AND ${$this->x25->x7de->{$this->x04->x7de->x3824}}.entity_id = e.entity_id AND ${$this->xf2->x77a->{$this->x04->x77a->{$this->x04->x77a->xa23}}}.store_id = 0", array() );
${$this->x04->x78c->{$this->xf2->x78c->{$this->x25->x78c->x19e9}}} = ${$this->xf2->x77a->x9fc} . '_store';
${$this->x04->x7de->{$this->xf2->x7de->x3836}} = ${$this->xf2->x7de->{$this->x25->x7de->{$this->xf2->x7de->x3705}}}->{$this->x04->x77a->x10ea}( "${$this->x25->x7de->{$this->xf2->x7de->x382b}}.value IS NULL", "${$this->x25->x78c->x19d5}.value", "${$this->x25->x7de->{$this->xf2->x7de->x382b}}.value" );
${$this->x04->x7de->{$this->x04->x7de->x3783}}->{$this->xf2->x77a->x10ca}( array( ${$this->x25->x7de->{$this->x25->x7de->{$this->x04->x7de->x382d}}} => ${$this->x04->x77a->{$this->xf2->x77a->{$this->x04->x77a->{$this->x25->x77a->x8c0}}}}->{$this->xf2->x77a->xf6c}( ${$this->xf2->x7de->{$this->x04->x7de->{$this->xf2->x7de->{$this->xf2->x7de->{$this->x04->x7de->x37f7}}}}} ) ), "${$this->x25->x77a->{$this->x25->x77a->xa29}}.attribute_id = ${$this->x04->x78c->x1927} AND ${$this->x25->x7de->{$this->x25->x7de->{$this->xf2->x7de->{$this->x25->x7de->{$this->x25->x7de->x382f}}}}}.entity_id = e.entity_id AND ${$this->x04->x78c->{$this->xf2->x78c->x19e4}}.store_id = {${$this->xf2->x7de->{$this->x25->x7de->{$this->x25->x7de->x3723}}}->{$this->x04->x77a->xed0}()}", array( ${$this->x04->x78c->{$this->xf2->x78c->{$this->xf2->x78c->{$this->x25->x78c->x19bd}}}} => ${$this->x25->x7b8->{$this->xf2->x7b8->x292f}} ) );
}
${$this->x25->x7b8->{$this->x25->x7b8->{$this->x04->x7b8->x2848}}}->{$this->x25->x77a->xfc8}( 'e.entity_id IN (?)', ${$this->xf2->x7b8->{$this->xf2->x7b8->{$this->xf2->x7b8->x28b9}}} );
${$this->x04->x77a->{$this->x25->x77a->{$this->x04->x77a->{$this->x25->x77a->xa43}}}} = ${$this->x04->x78c->x185f}->{$this->x04->x77a->x1132}( ${$this->x25->x7b8->{$this->x04->x7b8->x2845}} );
${$this->x04->x7de->x384b} = Mage::$x3efd( 'elasticsearch/product/image_size' );
while ( ${$this->xf2->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x2958}}} = ${$this->xf2->x7b8->{$this->x04->x7b8->x293b}}->{$this->x25->x77a->x114b}() ) {
${$this->x04->x78c->{$this->xf2->x78c->{$this->x25->x78c->x1a06}}} = $x2ca( ${$this->x04->x78c->{$this->x04->x78c->x1a02}}, 'strlen' );
${$this->xf2->x77a->xa50}[ 'id' ] = (int) ${$this->x04->x78c->{$this->xf2->x78c->{$this->x25->x78c->x1a06}}}[ 'id' ];
${$this->x04->x7b8->x295e} = ${$this->x04->x78c->{$this->xf2->x78c->{$this->x25->x78c->{$this->xf2->x78c->x1a08}}}}[ 'id' ];
if ( !isset( ${$this->x25->x78c->x1983}[ ${$this->x25->x78c->{$this->xf2->x78c->x1a0d}} ] ) ) {
${$this->xf2->x77a->{$this->xf2->x77a->{$this->xf2->x77a->{$this->xf2->x77a->x9d2}}}}[ ${$this->x25->x78c->{$this->xf2->x78c->x1a0d}} ] = array();
}
foreach ( ${$this->x25->x7b8->x2950} as ${$this->x04->x77a->xa5e} => &${$this->x25->x77a->x975} ) {
if ( isset( ${$this->x25->x78c->{$this->x04->x78c->x184a}}[ ${$this->x04->x78c->{$this->xf2->x78c->{$this->x04->x78c->x198f}}} ][ ${$this->x04->x77a->xa5e} ] ) ) {
${$this->x04->x78c->{$this->x25->x78c->{$this->x25->x78c->{$this->x25->x78c->x1924}}}} = $this->{$this->x25->x77a->x1156}( ${$this->x04->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x27a7}}}[ ${$this->xf2->x7de->{$this->x04->x7de->{$this->xf2->x7de->{$this->xf2->x7de->{$this->x04->x7de->x37f7}}}}} ][ ${$this->xf2->x7b8->{$this->x25->x7b8->{$this->x04->x7b8->{$this->x25->x7b8->x2975}}}} ], ${$this->x04->x7b8->{$this->x04->x7b8->{$this->x25->x7b8->x2864}}}, ${$this->x25->x78c->x1875} );
}
if ( isset( ${$this->x25->x77a->{$this->x25->x77a->x9ae}}[ ${$this->x04->x78c->{$this->x25->x78c->x1a18}} ] ) ) {
if ( $x316( ${$this->x04->x77a->{$this->x25->x77a->x97a}} ) ) {
${$this->x25->x78c->{$this->xf2->x78c->x1a22}} = array();
foreach ( ${$this->x04->x7b8->{$this->x04->x7b8->{$this->x04->x7b8->{$this->x25->x7b8->x2867}}}} as ${$this->x25->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x298c}}} ) {
if ( isset( ${$this->xf2->x78c->x195b}[ ${$this->x04->x78c->{$this->x25->x78c->x1a18}} ][ ${$this->xf2->x78c->{$this->xf2->x78c->{$this->x25->x78c->{$this->x25->x78c->x1a37}}}} ] ) ) {
${$this->x04->x7b8->x2979}[] = ${$this->x25->x78c->{$this->x25->x78c->{$this->xf2->x78c->{$this->xf2->x78c->{$this->x25->x78c->x196a}}}}}[ ${$this->xf2->x7b8->{$this->x25->x7b8->x296e}} ][ ${$this->x25->x7de->{$this->x04->x7de->{$this->x25->x7de->{$this->x04->x7de->x388b}}}} ];
}
}
if ( !empty( ${$this->xf2->x77a->{$this->x25->x77a->xa70}} ) ) {
${$this->xf2->x7de->{$this->xf2->x7de->{$this->x04->x7de->x385a}}}[ ${$this->x04->x78c->{$this->x25->x78c->x1a18}} ] = ${$this->x25->x78c->x1a20};
}
} elseif ( isset( ${$this->x25->x77a->{$this->xf2->x77a->{$this->xf2->x77a->x9b1}}}[ ${$this->xf2->x7b8->{$this->x25->x7b8->{$this->x04->x7b8->x2971}}} ][ ${$this->x04->x7b8->{$this->x04->x7b8->{$this->x04->x7b8->{$this->x25->x7b8->{$this->x04->x7b8->x286b}}}}} ] ) ) {
${$this->x04->x78c->{$this->x04->x78c->x1a02}}[ ${$this->xf2->x7b8->{$this->x25->x7b8->{$this->x04->x7b8->{$this->x25->x7b8->x2975}}}} ] = ${$this->x25->x77a->{$this->xf2->x77a->{$this->xf2->x77a->x9b1}}}[ ${$this->xf2->x7b8->{$this->x25->x7b8->x296e}} ][ ${$this->x04->x7b8->{$this->x04->x7b8->{$this->x25->x7b8->x2864}}} ];
}
}
}
unset( ${$this->x04->x7b8->{$this->x04->x7b8->{$this->x25->x7b8->x2864}}} );
${$this->xf2->x77a->{$this->xf2->x77a->{$this->x04->x77a->x9ce}}}[ ${$this->x25->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x2967}}} ] = $x5f7( ${$this->xf2->x77a->{$this->xf2->x77a->{$this->xf2->x77a->{$this->x25->x77a->{$this->xf2->x77a->x9d4}}}}}[ ${$this->x04->x7de->{$this->xf2->x7de->{$this->xf2->x7de->x3867}}} ], ${$this->x04->x77a->{$this->xf2->x77a->xa52}} );
if ( !isset( ${$this->xf2->x78c->{$this->xf2->x78c->x1985}}[ ${$this->x25->x78c->{$this->xf2->x78c->x1a0d}} ][ 'image' ] ) || ${$this->xf2->x77a->{$this->xf2->x77a->{$this->x04->x77a->x9ce}}}[ ${$this->x04->x7de->{$this->xf2->x7de->{$this->xf2->x7de->x3867}}} ][ 'image' ] == "" ) {
}
}
}
}
if ( Mage::$x3efd( 'elasticsearch/product/custom_options' ) === "\61" ) {
${$this->xf2->x7de->{$this->x25->x7de->x3892}} = "c\x75\163\164om_o\x70t\x69\157\x6es";
${$this->x25->x77a->{$this->x04->x77a->{$this->x04->x77a->{$this->x25->x77a->xa9d}}}} = ${$this->x25->x78c->{$this->xf2->x78c->x185c}}->{$this->xf2->x77a->xf6c}( 'catalog_product_option' );
${$this->x25->x78c->{$this->x04->x78c->{$this->xf2->x78c->x1a59}}} = ${$this->xf2->x7b8->x27b6}->{$this->xf2->x77a->xf6c}( 'catalog_product_option_title' );
${$this->x25->x7de->{$this->xf2->x7de->{$this->xf2->x7de->{$this->x25->x7de->x38b3}}}} = ${$this->x25->x77a->{$this->x04->x77a->x8aa}}->{$this->xf2->x77a->xf6c}( 'catalog_product_option_type_value' );
${$this->x04->x77a->{$this->x25->x77a->xab3}} = ${$this->x25->x77a->{$this->x04->x77a->{$this->x25->x77a->x8ad}}}->{$this->xf2->x77a->xf6c}( 'catalog_product_option_type_title' );
${$this->x25->x7b8->{$this->x25->x7b8->x29cb}} = ${$this->x25->x78c->{$this->xf2->x78c->x185c}}->{$this->xf2->x77a->xf6c}( 'catalog_product_option_type_price' );
${$this->x25->x77a->x946} = ${$this->x25->x7de->x377e} = ${$this->xf2->x7de->{$this->x25->x7de->{$this->xf2->x7de->x3705}}}->{$this->xf2->x77a->xf58}();
${$this->x25->x77a->{$this->x25->x77a->{$this->xf2->x77a->{$this->xf2->x77a->{$this->x25->x77a->x950}}}}}->{$this->x25->x77a->xf69}( array( 'cpo' => ${$this->xf2->x7de->{$this->xf2->x7de->x389c}} ), array( 'product_id' ) )->{$this->xf2->x77a->x11da}( array( "g\x72ou\160\137c\157\156\143a\x74\50\x60\143\x70\157tt`.`\x74\x69\164\154\x65\140\51\40\x61\x73 \x76\x61\154\165es" ) )->{$this->xf2->x77a->x11e9}( array( 'cpot' => ${$this->x25->x7de->{$this->xf2->x7de->{$this->x04->x7de->{$this->xf2->x7de->x38a6}}}} ), 'cpot.option_id=cpo.option_id AND cpot.store_id=0', array( 'option' => 'title', 'option_id', 'store_id' ) )->{$this->xf2->x77a->x11e9}( array( 'cpotv' => ${$this->x04->x77a->{$this->x25->x77a->{$this->xf2->x77a->xaa9}}} ), 'cpotv.option_id = cpo.option_id', 'sku' )->{$this->xf2->x77a->x11e9}( array( 'cpott' => ${$this->xf2->x7b8->{$this->xf2->x7b8->{$this->xf2->x7b8->{$this->xf2->x7b8->{$this->x25->x7b8->x29c7}}}}} ), 'cpott.option_type_id=cpotv.option_type_id AND cpott.store_id=cpot.store_id', 'title AS value' )->{$this->xf2->x77a->x11e9}( array( 'cpotp' => ${$this->x04->x77a->{$this->xf2->x77a->{$this->x04->x77a->{$this->xf2->x77a->xac4}}}} ), 'cpotp.option_type_id=cpotv.option_type_id AND cpotp.store_id=cpot.store_id', array( 'price', 'price_type' ) )->{$this->x25->x77a->x121a}( array( 'product_id', 'cpotv.sort_order ASC' ) )->{$this->x25->x77a->xfc8}( 'product_id IN (?)', ${$this->xf2->x7b8->{$this->xf2->x7b8->{$this->xf2->x7b8->{$this->x25->x7b8->x28ba}}}} )->{$this->x04->x77a->x1239}( array( "pr\x6f\144\165c\164\137\151\144", "\143\x70\x6ft\56\164\x69t\154e" ) );
${$this->xf2->x77a->xa39} = ${$this->xf2->x7b8->{$this->x04->x7b8->x27c5}}->{$this->x04->x77a->x1132}( ${$this->x25->x77a->{$this->xf2->x77a->x947}} );
while ( ${$this->xf2->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x2958}}} = ${$this->xf2->x78c->x19f3}->{$this->x25->x77a->x114b}() ) {
if ( ${$this->x04->x77a->{$this->xf2->x77a->xa52}}[ 'values' ] != "" ) {
${$this->x25->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x2967}}} = ${$this->xf2->x7b8->{$this->x04->x7b8->x2954}}[ 'product_id' ];
${$this->x04->x7b8->{$this->x25->x7b8->{$this->xf2->x7b8->{$this->xf2->x7b8->{$this->x25->x7b8->x28ce}}}}}[ ${$this->x04->x7de->{$this->xf2->x7de->{$this->xf2->x7de->{$this->x25->x7de->x386a}}}} ][ ${$this->xf2->x78c->{$this->xf2->x78c->x1a40}} ][] = $x467( ',', ${$this->x04->x7de->x3853}[ 'values' ] );
}
}
}
${$this->x25->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x299b}}} = '_parent_ids';
${$this->x04->x78c->x18e3} = ${$this->x04->x77a->{$this->xf2->x77a->{$this->x04->x77a->{$this->x25->x77a->x8c0}}}}->{$this->xf2->x77a->xf58}()->{$this->x25->x77a->xf69}( ${$this->x04->x78c->x1859}->{$this->xf2->x77a->xf6c}( 'catalog_product_relation' ), array( 'parent_id', 'child_id' ) )->{$this->x25->x77a->xfc8}( 'child_id IN (?)', ${$this->x25->x77a->{$this->x25->x77a->x9c2}} );
${$this->xf2->x7b8->x2938} = ${$this->xf2->x7de->{$this->x25->x7de->{$this->xf2->x7de->x3705}}}->{$this->x04->x77a->x1132}( ${$this->x25->x7b8->{$this->x04->x7b8->x2845}} );
while ( ${$this->xf2->x78c->x1a00} = ${$this->xf2->x78c->x19f3}->{$this->x25->x77a->x114b}() ) {
${$this->x04->x7de->x385e} = ${$this->xf2->x78c->x1a00}[ 'child_id' ];
if ( !isset( ${$this->xf2->x77a->{$this->xf2->x77a->x9cc}}[ ${$this->xf2->x78c->x1a0b} ][ ${$this->x25->x7b8->{$this->xf2->x7b8->x2996}} ] ) ) {
${$this->xf2->x77a->{$this->xf2->x77a->{$this->x04->x77a->x9ce}}}[ ${$this->x04->x7de->{$this->xf2->x7de->{$this->xf2->x7de->{$this->x25->x7de->x386a}}}} ][ ${$this->x04->x77a->{$this->xf2->x77a->{$this->x04->x77a->xa92}}} ] = array();
}
${$this->xf2->x7de->{$this->x25->x7de->x37ec}}[ ${$this->x04->x7de->{$this->xf2->x7de->{$this->xf2->x7de->{$this->x25->x7de->x386a}}}} ][ ${$this->x25->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->{$this->x04->x7b8->{$this->x25->x7b8->x29a2}}}}} ][] = (int) ${$this->x04->x77a->{$this->xf2->x77a->xa52}}[ 'parent_id' ];
}
${$this->x25->x7b8->{$this->xf2->x7b8->x2996}} = '_categories';
${$this->x04->x78c->{$this->xf2->x78c->x1a7f}} = array( 'product_id' => 'product_id', 'category_ids' => new Zend_Db_Expr( "\x54\x52I\x4d\x28\x0a \40\x20\x20\40 \x20\x20 \40\x20\x20 \x20 \x20 \x20 \x20 \x20\x20 \x42\x4fT\x48\x20\47\x2c\47\x20\x46R\117M\40\103\x4f\x4e\103A\x54(\12\x20 \x20\x20 \x20\x20 \x20\40\x20 \x20\40\x20 \40\x20\40 \x20 \x20\x20\x20 \x20 \40\x20\124R\x49\x4d(\102\x4fT\x48\x20'\x2c\x27\x20\x46\x52O\115 \107\122OUP_C\117\x4e\103A\x54\x28\111\106\50\151\x73\137\160\141\162\x65\156t\40= \x30\x2c\x20\143at\x65g\157\x72\171\x5f\x69\x64,\40\x27\47)\40S\x45\x50\101R\101\124\x4f\x52 \x27\x2c\x27\51\51,\12 \x20 \x20 \x20\40\40\x20\x20\40\40\x20 \x20\40\x20\40 \x20 \40\x20\40\40\40\x20\x27\54'\x2c\12 \40\40 \x20\x20\40\40\x20\x20 \40\x20 \40 \40\x20\x20 \40 \40\40 \40\x20\40\x54\122\111\x4d\50\102\x4fT\x48\x20',\x27\x20\x46RO\x4d\40\x47\122\x4f\125\x50\x5fC\117\x4e\103\101\124\50\x49F(\151\163_\x70a\x72\x65\156\x74\40=\x20\61\54 \143\141\x74eg\157\x72y\x5f\151\x64, '')\40\123\105\120A\x52\101TOR\40\47\x2c\x27\51)\12 \40\40\x20 \40\40\x20 \x20\x20\40\x20\x20\x20\40\40\40\x20\40\x20\x20\x20 \40\40 \40\x29\12\x20 \x20 \x20\x20\x20\40\40 \40 \40\40 \40 \x20\x20\x20 \x20\x20 \x29" ), );
${$this->x04->x7de->{$this->x04->x7de->x3783}} = ${$this->x25->x78c->{$this->xf2->x78c->x1863}}->{$this->xf2->x77a->xf58}()->{$this->x25->x77a->xf69}( array( ${$this->xf2->x7de->{$this->xf2->x7de->{$this->x25->x7de->{$this->x25->x7de->x36f8}}}}->{$this->xf2->x77a->xf6c}( 'catalog_category_product_index' ) ), ${$this->x25->x7b8->{$this->x04->x7b8->x29d4}} )->{$this->x25->x77a->xfc8}( 'product_id IN (?)', ${$this->xf2->x7b8->{$this->x04->x7b8->x28b7}} )->{$this->x25->x77a->xfc8}( 'store_id = ?', ${$this->x04->x7b8->{$this->x25->x7b8->x27e3}} )->{$this->x25->x77a->xfc8}( 'category_id > 1' )->{$this->x25->x77a->xfc8}( 'category_id != ?', ${$this->x25->x7b8->x27d3}->{$this->xf2->x77a->x130c}() )->{$this->x04->x77a->x1239}( 'product_id' );
${$this->xf2->x78c->x19f3} = ${$this->xf2->x7de->{$this->xf2->x7de->x3701}}->{$this->x04->x77a->x1132}( ${$this->x25->x77a->{$this->x25->x77a->{$this->xf2->x77a->{$this->xf2->x77a->{$this->x25->x77a->x950}}}}} );
while ( ${$this->x25->x7b8->x2950} = ${$this->xf2->x77a->xa39}->{$this->x25->x77a->x114b}() ) {
${$this->xf2->x78c->{$this->xf2->x78c->{$this->xf2->x78c->{$this->x04->x78c->x1a8b}}}} = $x467( ',', ${$this->xf2->x7de->{$this->xf2->x7de->{$this->x04->x7de->x385a}}}[ 'category_ids' ] );
if ( empty( ${$this->xf2->x7b8->x29de} ) ) {
continue;
}
${$this->x25->x78c->{$this->xf2->x78c->x1a0d}} = ${$this->x25->x7b8->x2950}[ 'product_id' ];
if ( !isset( ${$this->xf2->x77a->{$this->xf2->x77a->{$this->x04->x77a->x9ce}}}[ ${$this->x25->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x2967}}} ][ ${$this->xf2->x77a->xa8d} ] ) ) {
${$this->x04->x7de->x37e7}[ ${$this->x25->x78c->{$this->xf2->x78c->x1a0d}} ][ ${$this->xf2->x7de->{$this->x25->x7de->x3892}} ] = array();
}
foreach ( ${$this->x25->x77a->{$this->xf2->x77a->xad5}} as ${$this->x04->x78c->x1a8c} ) {
if ( isset( ${$this->x04->x77a->{$this->x04->x77a->x8f8}}[ ${$this->xf2->x7b8->{$this->x25->x7b8->{$this->x04->x7b8->x29f1}}} ] ) ) {
${$this->xf2->x78c->{$this->xf2->x78c->x1985}}[ ${$this->x25->x78c->{$this->x25->x78c->{$this->x04->x78c->{$this->xf2->x78c->x1a11}}}} ][ ${$this->x25->x7b8->{$this->xf2->x7b8->x2996}} ][] = ${$this->x04->x78c->{$this->x04->x78c->{$this->x04->x78c->x188b}}}[ ${$this->x25->x77a->{$this->x04->x77a->{$this->xf2->x77a->{$this->x04->x77a->xaea}}}} ];
}
}
${$this->xf2->x77a->{$this->xf2->x77a->x9cc}}[ ${$this->x25->x78c->{$this->x25->x78c->{$this->x04->x78c->{$this->x04->x78c->{$this->x04->x78c->x1a12}}}}} ][ ${$this->x25->x7b8->{$this->xf2->x7b8->x2996}} ] = $x4a7( $x4a8( ${$this->x04->x7b8->{$this->x25->x7b8->{$this->x25->x7b8->x28c8}}}[ ${$this->x25->x77a->xa54} ][ ${$this->x04->x77a->{$this->xf2->x77a->{$this->x04->x77a->xa92}}} ] ) );
}
${$this->x04->x77a->{$this->xf2->x77a->{$this->x04->x77a->xa92}}} = '_prices';
${$this->xf2->x7de->{$this->xf2->x7de->{$this->x04->x7de->x38fd}}} = ${$this->x25->x78c->{$this->x25->x78c->{$this->x04->x78c->x1865}}}->{$this->x04->x77a->x133a}( array( 'prices.min_price', 'prices.tier_price' ) );
${$this->xf2->x7b8->{$this->xf2->x7b8->{$this->xf2->x7b8->x2a03}}} = ${$this->xf2->x7de->{$this->x25->x7de->{$this->xf2->x7de->x3705}}}->{$this->x04->x77a->x10ea}( 'prices.tier_price IS NOT NULL', ${$this->xf2->x7de->{$this->xf2->x7de->{$this->x25->x7de->{$this->xf2->x7de->{$this->x25->x7de->x3903}}}}}, 'prices.min_price' );
${$this->xf2->x7b8->{$this->x04->x7b8->x2a0b}} = array( 'entity_id', 'price', 'final_price', 'minimal_price' => ${$this->x25->x78c->x1aa6}, 'min_price', 'max_price', 'tier_price' );
${$this->x25->x77a->{$this->x25->x77a->{$this->xf2->x77a->{$this->x25->x77a->x94c}}}} = ${$this->x04->x77a->{$this->x25->x77a->x8b9}}->{$this->xf2->x77a->xf58}()->{$this->x25->x77a->xf69}( array( 'prices' => ${$this->x04->x7b8->{$this->x25->x7b8->x27bb}}->{$this->xf2->x77a->xf6c}( 'catalog_product_index_price' ) ), ${$this->x25->x7de->x3911} )->{$this->x25->x77a->xfc8}( 'prices.entity_id IN (?)', ${$this->x25->x77a->{$this->x25->x77a->x9c2}} )->{$this->x25->x77a->xfc8}( 'prices.website_id = ?', ${$this->xf2->x78c->{$this->x25->x78c->x1876}}->{$this->x25->x77a->xf82}() )->{$this->x25->x77a->xfc8}( 'prices.customer_group_id = ?', ${$this->xf2->x77a->{$this->x04->x77a->x92c}} );
${$this->xf2->x77a->xa39} = ${$this->x04->x7b8->x27c4}->{$this->x04->x77a->x1132}( ${$this->xf2->x78c->{$this->x25->x78c->x18e5}} );
while ( ${$this->xf2->x78c->x1a00} = ${$this->x04->x77a->{$this->x25->x77a->{$this->x04->x77a->{$this->x04->x77a->{$this->xf2->x77a->xa46}}}}}->{$this->x25->x77a->x114b}() ) {
${$this->x04->x7de->{$this->xf2->x7de->{$this->xf2->x7de->x3867}}} = ${$this->x25->x7b8->x2950}[ 'entity_id' ];
unset( ${$this->xf2->x7de->{$this->xf2->x7de->{$this->x04->x7de->x385a}}}[ 'entity_id' ] );
${$this->x04->x78c->{$this->xf2->x78c->{$this->x25->x78c->{$this->xf2->x78c->x1a08}}}}[ 'price' ] = (float) $x501( (float) ${$this->xf2->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->{$this->xf2->x7b8->x295a}}}}[ 'price' ], 2, '.', '' );
${$this->xf2->x77a->xa50}[ 'final_price' ] = (float) $x501( (float) ${$this->xf2->x7de->{$this->x25->x7de->x3858}}[ 'final_price' ], 2, '.', '' );
if ( null !== ${$this->x04->x78c->{$this->xf2->x78c->{$this->x25->x78c->x1a06}}}[ 'minimal_price' ] ) {
${$this->xf2->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->{$this->xf2->x7b8->x295a}}}}[ 'minimal_price' ] = (float) ${$this->xf2->x7de->{$this->x25->x7de->x3858}}[ 'minimal_price' ];
}
if ( null !== ${$this->xf2->x7b8->{$this->x04->x7b8->x2954}}[ 'min_price' ] ) {
${$this->xf2->x7de->{$this->x25->x7de->x3858}}[ 'min_price' ] = (float) ${$this->xf2->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->{$this->xf2->x7b8->x295a}}}}[ 'min_price' ];
}
if ( null !== ${$this->x04->x77a->{$this->xf2->x77a->xa52}}[ 'max_price' ] ) {
${$this->xf2->x7b8->{$this->x04->x7b8->x2954}}[ 'max_price' ] = (float) ${$this->xf2->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x2958}}}[ 'max_price' ];
}
if ( null !== ${$this->xf2->x77a->xa50}[ 'tier_price' ] ) {
${$this->xf2->x78c->x1a00}[ 'tier_price' ] = (float) ${$this->xf2->x77a->xa50}[ 'tier_price' ];
}
if ( isset( ${$this->xf2->x78c->x1a00}[ 'group_price' ] ) && null !== ${$this->x04->x78c->{$this->x04->x78c->x1a02}}[ 'group_price' ] ) {
${$this->xf2->x7b8->{$this->x04->x7b8->x2954}}[ 'group_price' ] = (float) ${$this->x04->x77a->{$this->xf2->x77a->xa52}}[ 'group_price' ];
}
if ( isset( ${$this->x25->x78c->x1983}[ ${$this->x25->x77a->xa54} ][ 'tax_class_id' ] ) ) {
${$this->xf2->x77a->{$this->x04->x77a->{$this->x25->x77a->{$this->x25->x77a->xb25}}}} = ${$this->xf2->x78c->{$this->xf2->x78c->x1985}}[ ${$this->x25->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x2967}}} ][ 'tax_class_id' ];
if ( ${$this->x04->x7b8->{$this->x04->x7b8->{$this->x04->x7b8->x2a1a}}} && !${$this->x25->x7b8->{$this->xf2->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x280f}}}} ) {
${$this->xf2->x7de->{$this->x25->x7de->{$this->x25->x7de->{$this->xf2->x7de->x36d7}}}} = new Varien_Object();
${$this->xf2->x7b8->x279a}->{$this->xf2->x77a->x13d3}( ${$this->xf2->x77a->{$this->x04->x77a->{$this->xf2->x77a->xb22}}} );
foreach ( ${$this->xf2->x7de->{$this->x25->x7de->x3858}} as &${$this->x25->x7de->{$this->xf2->x7de->{$this->x04->x7de->x3928}}} ) {
${$this->x25->x7de->{$this->x04->x7de->x3927}} = ${$this->x25->x7de->{$this->x04->x7de->{$this->x25->x7de->{$this->x04->x7de->x3740}}}}->{$this->xf2->x77a->x13ea}( ${$this->xf2->x7de->{$this->x25->x7de->x36cd}}, ${$this->x04->x78c->{$this->x04->x78c->x1ac7}}, ${$this->x04->x7b8->{$this->x25->x7b8->{$this->x04->x7b8->{$this->x25->x7b8->x2822}}}}, null, null, ${$this->xf2->x7b8->x2836}, ${$this->x04->x7de->x371b} );
}
unset( ${$this->x04->x7b8->x2a25} );
}
}
${$this->xf2->x78c->{$this->xf2->x78c->x1985}}[ ${$this->x04->x7de->{$this->xf2->x7de->{$this->xf2->x7de->x3867}}} ][ ${$this->x04->x77a->{$this->x04->x77a->xa90}} ] = ${$this->xf2->x77a->xa50};
}
${$this->x04->x7de->x388e} = '_url';
${$this->xf2->x78c->{$this->x25->x78c->x1ad2}} = '';
if ( ${$this->x04->x77a->{$this->x25->x77a->x8cc}} ) {
${$this->xf2->x77a->{$this->xf2->x77a->xb40}} = Enterprise_Catalog_Model_Product::URL_REWRITE_ENTITY_TYPE;
${$this->x25->x7b8->{$this->x04->x7b8->x2845}} = ${$this->x04->x7b8->x27c4}->{$this->xf2->x77a->xf58}()->{$this->x25->x77a->xf69}( array( 'url_key' => ${$this->x25->x77a->{$this->x04->x77a->{$this->xf2->x77a->{$this->x04->x77a->x8b0}}}}->{$this->xf2->x77a->xf6c}( array( 'catalog/product', 'url_key' ) ) ), array( 'product_id' => 'entity_id' ) )->join( array( 'url_rewrite' => ${$this->xf2->x77a->x8a5}->{$this->xf2->x77a->xf6c}( 'enterprise_urlrewrite/url_rewrite' ) ), 'url_key.value_id = url_rewrite.value_id AND url_rewrite.entity_type = ' . ${$this->xf2->x7b8->x2a3a}, array( 'request_path' ) )->{$this->x25->x77a->xfc8}( 'entity_id IN (?) AND url_key.store_id IN (0, ' . ${$this->x04->x78c->{$this->xf2->x78c->{$this->x25->x78c->x1880}}} . ')', ${$this->x25->x78c->{$this->x04->x78c->{$this->x04->x78c->{$this->x04->x78c->x1982}}}} )->{$this->x25->x77a->x121a}( "\x75\x72\x6c\x5f\153\x65\x79\56\x73\x74\x6f\x72e_\x69\x64\40\x41\123\103" );
${$this->xf2->x7de->{$this->xf2->x7de->{$this->x04->x7de->{$this->x25->x7de->x3934}}}} = ${$this->xf2->x7b8->{$this->x25->x7b8->{$this->x04->x7b8->x27dc}}}->{$this->x25->x77a->xf9c}( Mage_Catalog_Helper_Product::XML_PATH_PRODUCT_URL_SUFFIX );
if ( ${$this->xf2->x7b8->{$this->x25->x7b8->{$this->x04->x7b8->x2a32}}} ) {
if ( $x5a2( ${$this->x25->x77a->xb2e}, "\56" ) !== false ) {
${$this->x04->x77a->{$this->x25->x77a->{$this->x25->x77a->{$this->x04->x77a->xb38}}}} = ${$this->x04->x77a->{$this->x25->x77a->{$this->x25->x77a->{$this->x04->x77a->xb38}}}};
} else {
${$this->x25->x7b8->x2a2d} = '.' . ${$this->xf2->x7de->{$this->xf2->x7de->{$this->x04->x7de->{$this->x25->x7de->x3934}}}};
}
}
} else {
${$this->x25->x7b8->{$this->x04->x7b8->x2845}} = ${$this->xf2->x7de->{$this->x25->x7de->{$this->xf2->x7de->x3705}}}->{$this->xf2->x77a->xf58}()->{$this->x25->x77a->xf69}( ${$this->x25->x77a->{$this->x04->x77a->{$this->x25->x77a->x8ad}}}->{$this->xf2->x77a->xf6c}( 'core_url_rewrite' ), array( 'product_id', 'request_path' ) )->{$this->x25->x77a->xfc8}( 'store_id = ?', ${$this->x04->x7de->x3726} )->{$this->x25->x77a->xfc8}( 'category_id IS NULL' )->{$this->x25->x77a->xfc8}( "(\157\x70\x74\151o\x6e\163\x20\111\x53\x20N\125\114L \x4f\122 \157\160\x74io\156s\40\75 \x27\x27\x29" )->{$this->x25->x77a->xfc8}( 'product_id IN (?)', ${$this->xf2->x7b8->{$this->x04->x7b8->x28b7}} );
}
${$this->xf2->x78c->x19f3} = ${$this->x25->x7de->x36fd}->{$this->x04->x77a->x1132}( ${$this->xf2->x78c->{$this->x25->x78c->x18e5}} );
while ( ${$this->xf2->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->{$this->xf2->x7b8->x295a}}}} = ${$this->x04->x77a->{$this->x25->x77a->{$this->x04->x77a->{$this->x04->x77a->{$this->xf2->x77a->xa46}}}}}->{$this->x25->x77a->x114b}() ) {
${$this->x04->x7b8->x295e} = ${$this->x04->x78c->{$this->x04->x78c->x1a02}}[ 'product_id' ];
${$this->xf2->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x2958}}}[ 'product_id' ] = (int) ${$this->xf2->x7b8->{$this->x04->x7b8->x2954}}[ 'product_id' ];
${$this->xf2->x7de->{$this->x25->x7de->x37ec}}[ ${$this->xf2->x78c->x1a0b} ][ ${$this->x04->x77a->{$this->x04->x77a->xa90}} ] = ${$this->xf2->x7b8->{$this->x25->x7b8->{$this->x04->x7b8->x27dc}}}->{$this->x25->x77a->x14a7}() . ${$this->x04->x77a->{$this->xf2->x77a->xa52}}[ 'request_path' ] . ${$this->x04->x77a->{$this->xf2->x77a->xb30}};
}
if ( !empty( ${$this->xf2->x77a->{$this->xf2->x77a->{$this->xf2->x77a->{$this->x25->x77a->{$this->xf2->x77a->x9d4}}}}} ) ) {
${$this->x25->x7b8->{$this->x25->x7b8->{$this->x25->x7b8->x2797}}}[ ${$this->x04->x7de->x3726} ] = $x5f7( ${$this->xf2->x7de->{$this->x25->x7de->x36ca}}[ ${$this->x04->x7de->{$this->xf2->x7de->{$this->xf2->x7de->x372c}}} ], ${$this->xf2->x7b8->x28c0} );
}
}
$this->{$this->xf2->x77a->xf36}( ' > Products exported' );
}
return ${$this->x04->x7de->x36c5};
} catch ( Exception $e ) {
throw $e;
}
}
public function getAdditionalFields() {
$x3c91 = "\150\x65\154p\x65r";
$x3cb8 = "g\x65\164\115\x6fd\x65\154";
$x457f = "\141\160\x70";
$x42b8 = "g\145\x74\x53\x69\x6e\x67\154\x65t\157n";
$x3efd = "\147\x65\x74\123t\x6f\162\145Co\x6e\146ig";
$x4393 = "\147\145\x74R\145\x73\x6f\165\x72\x63e\x4do\x64\x65\x6c";
$x453f = "\x64\151\163\160\x61\x74\143\150E\166\145nt";
$x45a5 = "\147e\x74S\x74\x6f\x72\145\x43o\156\146ig\106la\147";
return array( '_parent_ids' );
}
public function getCategoryNames( $x62c = null ) {
$x3c91 = "h\145l\x70\145\x72";
$x3cb8 = "\147\x65tM\157del";
$x457f = "app";
$x42b8 = "get\x53\x69ngl\145\164\x6f\156";
$x3efd = "\147e\164\x53\164\157\162\145\x43\157\156\x66\x69\147";
$x4393 = "\x67e\x74R\145so\165\x72\x63\x65M\x6fd\145\x6c";
$x453f = "\x64\x69s\160\x61\164\x63h\x45\166\x65\156t";
$x45a5 = "\x67et\x53tore\103\157\x6efi\x67F\154\141\x67";
${$this->xf2->x7b8->{$this->xf2->x7b8->{$this->x25->x7b8->{$this->x25->x7b8->x2a4e}}}} = Mage::$x457f()->{$this->xf2->x77a->x14d4}( ${$this->xf2->x7b8->{$this->xf2->x7b8->{$this->xf2->x7b8->x2a4c}}} );
${$this->x04->x77a->xb64} = $this->{$this->xf2->x77a->xe80}();
${$this->x04->x78c->{$this->x04->x78c->x1b08}} = Mage::$x42b8( 'eav/entity_attribute' )->{$this->x04->x77a->xff9}( Mage_Catalog_Model_Category::ENTITY, 'name' );
${$this->x25->x7de->x395e} = ${$this->x25->x78c->{$this->x04->x78c->{$this->xf2->x78c->{$this->xf2->x78c->{$this->x25->x78c->x1b00}}}}}->{$this->xf2->x77a->xf58}()->{$this->x25->x77a->xf69}( $this->{$this->x04->x77a->xe6f}()->{$this->xf2->x77a->xf6c}( 'catalog_category_entity_varchar' ), array( 'entity_id', 'value' ) )->{$this->x25->x77a->xfc8}( 'attribute_id = ?', ${$this->xf2->x7b8->x2a5e} )->{$this->x25->x77a->xfc8}( 'store_id IN (?)', array( 0, ${$this->x04->x7b8->x2a47}->{$this->x04->x77a->xed0}() ) )->{$this->x25->x77a->x121a}( array( 'entity_id ASC', 'store_id ASC' ) );
return ${$this->x04->x7b8->x2a55}->{$this->x04->x77a->x1579}( ${$this->x04->x7de->{$this->xf2->x7de->{$this->x25->x7de->{$this->x04->x7de->x3966}}}} );
}
public function getSearchableAttributes( $x660 = null ) {
$x65b = $this->x04->x7b8->{$this->x25->x7b8->{$this->x25->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x2c68}}}};
$x3c91 = "\x68e\x6c\x70\145\x72";
$x3cb8 = "g\x65\x74Mod\x65l";
$x457f = "\141\x70\160";
$x42b8 = "g\145\164\123\x69\156g\x6c\x65\164\157n";
$x3efd = "\147\x65t\x53\x74or\145Confi\147";
$x4393 = "g\145tR\x65s\157u\x72\143\145\x4do\144\145\x6c";
$x453f = "\x64i\163patc\150\105\166\145\x6e\x74";
$x45a5 = "\147et\x53\164o\x72\145\x43o\156f\x69g\106l\141\147";
if ( null === $this->{$this->x25->x77a->{$this->x25->x77a->{$this->xf2->x77a->{$this->x25->x77a->x7f0}}}} ) {
$this->{$this->x25->x77a->{$this->xf2->x77a->x7ea}} = array();
${$this->x04->x77a->{$this->xf2->x77a->xb8c}} = $this->{$this->xf2->x77a->x1581}()->{$this->xf2->x77a->x158c}( 'catalog_product' );
${$this->x04->x7de->{$this->x25->x7de->x3980}} = ${$this->x04->x77a->{$this->xf2->x77a->{$this->xf2->x77a->xb90}}}->{$this->x25->x77a->x1594}();
${$this->x04->x7de->{$this->xf2->x7de->{$this->xf2->x7de->x398a}}} = Mage::$x4393( 'catalog/product_attribute_collection' )->{$this->xf2->x77a->x15aa}( ${$this->x25->x7b8->{$this->x25->x7b8->{$this->x04->x7b8->x2a80}}}->{$this->xf2->x77a->x15b8}() )->{$this->x04->x77a->x15c8}()->{$this->xf2->x77a->x15d8}( true );
${$this->x25->x7b8->{$this->x04->x7b8->{$this->xf2->x7b8->x2a97}}} = ${$this->x04->x78c->x1b49}->{$this->x25->x77a->x15f0}();
foreach ( ${$this->x04->x77a->{$this->x25->x77a->{$this->xf2->x77a->{$this->x04->x77a->xbb7}}}} as ${$this->x04->x7b8->x2a98} ) {
${$this->x25->x7b8->{$this->x25->x7b8->x2a9c}}->{$this->x04->x77a->x15f9}( ${$this->xf2->x78c->{$this->x04->x78c->{$this->x25->x78c->x1b44}}} );
$this->{$this->x25->x77a->{$this->x25->x77a->{$this->xf2->x77a->{$this->x25->x77a->x7f0}}}}[ ${$this->x04->x78c->x1b57}->{$this->x04->x77a->x1085}() ] = ${$this->x25->x7b8->{$this->x25->x7b8->x2a9c}};
}
}
if ( null !== ${$this->xf2->x77a->xb81} ) {
${$this->x25->x7de->x3967} = (array) ${$this->x04->x78c->x1b24};
${$this->x04->x77a->{$this->x25->x77a->{$this->x25->x77a->xbb3}}} = array();
foreach ( $this->{$this->x25->x77a->{$this->xf2->x77a->x7ea}} as ${$this->xf2->x78c->{$this->x25->x78c->x1b5a}} ) {
if ( $x65b( ${$this->x25->x77a->xbc0}->{$this->xf2->x77a->x1615}(), ${$this->x25->x7de->x3967} ) ) {
${$this->x04->x7de->{$this->x04->x7de->x3994}}[ ${$this->x04->x78c->x1b57}->{$this->x04->x77a->x1085}() ] = ${$this->x25->x7b8->{$this->x04->x7b8->{$this->x25->x7b8->{$this->x04->x7b8->{$this->xf2->x7b8->x2aa7}}}}};
}
}
return ${$this->x04->x77a->{$this->x25->x77a->{$this->xf2->x77a->{$this->xf2->x77a->{$this->x25->x77a->xbbc}}}}};
}
return $this->{$this->x25->x77a->{$this->x25->x77a->{$this->xf2->x77a->{$this->x25->x77a->x7f0}}}};
}
public function getStoreIndexProperties( $x756 = null ) {
$x68f = $this->x04->x77a->xd9a;
$x715 = $this->xf2->x7de->{$this->xf2->x7de->{$this->x04->x7de->{$this->xf2->x7de->x3b7c}}};
$x75e = $this->x25->x7b8->{$this->x25->x7b8->{$this->x25->x7b8->{$this->x25->x7b8->{$this->x25->x7b8->x2ca1}}}};
$x3c91 = "\x68el\160e\162";
$x3cb8 = "\x67\x65t\115\157\x64\145l";
$x457f = "a\160\160";
$x42b8 = "\x67et\x53in\x67\x6c\145\164\x6f\156";
$x3efd = "\147e\164\123t\x6f\x72\x65\x43\157nfi\x67";
$x4393 = "\147et\x52\x65s\x6f\x75\x72ce\115\x6f\x64\x65\x6c";
$x453f = "\144i\x73\x70\x61t\x63\150\x45\166en\164";
$x45a5 = "g\x65\x74\123\x74\x6fr\x65\x43o\156\x66i\x67\x46l\x61\x67";
${$this->x04->x78c->x1b63} = Mage::$x457f()->{$this->xf2->x77a->x14d4}( ${$this->x04->x77a->xbcc} );
${$this->xf2->x78c->{$this->x04->x78c->{$this->xf2->x78c->x1b75}}} = 'elasticsearch_product_index_properties_' . ${$this->x25->x78c->{$this->x04->x78c->{$this->xf2->x78c->{$this->x04->x78c->x1b6d}}}}->{$this->x04->x77a->xed0}();
if ( Mage::$x457f()->{$this->xf2->x77a->x1659}( 'config' ) ) {
${$this->x04->x77a->{$this->xf2->x77a->{$this->x25->x77a->{$this->x04->x77a->{$this->x25->x77a->xbe7}}}}} = Mage::$x457f()->{$this->x04->x77a->x167f}( ${$this->x04->x78c->x1b6e} );
if ( ${$this->xf2->x7de->x39b2} ) {
return $x68f( ${$this->xf2->x7b8->{$this->x04->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x2ac5}}}} );
}
}
${$this->x04->x77a->{$this->xf2->x77a->{$this->x25->x77a->{$this->x25->x77a->xbe4}}}} = array();
${$this->x25->x78c->{$this->xf2->x78c->{$this->x04->x78c->x1b88}}} = $this->{$this->x25->x77a->x168c}( ${$this->xf2->x7b8->{$this->x25->x7b8->x2aad}} );
${$this->x25->x77a->{$this->x25->x77a->{$this->xf2->x77a->{$this->x04->x77a->xc03}}}} = $this->{$this->x25->x7de->{$this->x25->x7de->x3a53}}( array( 'varchar', 'int' ) );
foreach ( ${$this->x25->x78c->{$this->xf2->x78c->{$this->xf2->x78c->{$this->x25->x78c->x1b96}}}} as ${$this->x25->x78c->x1b97} ) {
if ( $this->{$this->x04->x77a->x1068}( ${$this->xf2->x7de->{$this->xf2->x7de->{$this->xf2->x7de->{$this->x04->x7de->x39cc}}}} ) ) {
${$this->x25->x77a->xc1c} = ${$this->x25->x78c->{$this->x25->x78c->x1b99}}->{$this->x04->x77a->x1085}();
${$this->x04->x77a->{$this->xf2->x77a->{$this->x25->x77a->xbe2}}}[ ${$this->x04->x7b8->{$this->xf2->x7b8->{$this->x25->x7b8->{$this->x25->x7b8->x2af2}}}} ] = $this->{$this->xf2->x77a->x16ce}( ${$this->x25->x7b8->x2ade}, ${$this->x04->x78c->x1b63} );
}
}
${$this->x25->x7b8->{$this->x04->x7b8->x2ad7}} = $this->{$this->x25->x7de->{$this->x25->x7de->{$this->x04->x7de->x3a54}}}( 'text' );
foreach ( ${$this->x25->x78c->{$this->xf2->x78c->{$this->xf2->x78c->{$this->x25->x78c->x1b96}}}} as ${$this->x25->x78c->{$this->x25->x78c->x1b99}} ) {
${$this->x04->x7de->{$this->x04->x7de->{$this->x04->x7de->x39d9}}} = ${$this->x04->x7b8->{$this->xf2->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x2ae6}}}}->{$this->x04->x77a->x1085}();
${$this->x04->x77a->{$this->xf2->x77a->{$this->x25->x77a->{$this->x04->x77a->{$this->x25->x77a->xbe7}}}}}[ ${$this->xf2->x77a->{$this->xf2->x77a->{$this->x04->x77a->{$this->x25->x77a->{$this->xf2->x77a->xc25}}}}} ] = $this->{$this->xf2->x77a->x16ce}( ${$this->xf2->x7de->{$this->xf2->x7de->{$this->xf2->x7de->{$this->x04->x7de->x39cc}}}}, ${$this->xf2->x7b8->{$this->x25->x7b8->x2aad}} );
}
${$this->x25->x77a->{$this->x25->x77a->{$this->xf2->x77a->{$this->x04->x77a->{$this->x25->x77a->xc07}}}}} = $this->{$this->xf2->x78c->{$this->x04->x78c->{$this->x04->x78c->x1c06}}}( array( 'static', 'varchar', 'decimal', 'datetime' ) );
foreach ( ${$this->xf2->x78c->x1b8e} as ${$this->x04->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x2ae4}}} ) {
${$this->x25->x7b8->x2ae8} = ${$this->x25->x77a->{$this->xf2->x77a->{$this->x04->x77a->{$this->xf2->x77a->xc18}}}}->{$this->x04->x77a->x1085}();
if ( $this->{$this->x04->x77a->x1068}( ${$this->x25->x7b8->x2ade} ) && !isset( ${$this->xf2->x7de->x39b2}[ ${$this->x04->x7b8->{$this->x25->x7b8->x2aeb}} ] ) ) {
${$this->x25->x77a->{$this->xf2->x77a->{$this->x04->x77a->{$this->xf2->x77a->xc2f}}}} = $this->{$this->xf2->x77a->x172c}( ${$this->x25->x77a->{$this->x04->x77a->xc0e}} );
if ( ${$this->x25->x78c->{$this->xf2->x78c->{$this->xf2->x78c->{$this->x25->x78c->x1bb4}}}} === 'option' ) {
continue;
}
${$this->x25->x7de->{$this->xf2->x7de->x39f2}} = ${$this->x25->x78c->{$this->x25->x78c->x1b99}}->{$this->x04->x77a->x1736}();
${$this->x04->x78c->{$this->x25->x78c->{$this->x25->x78c->x1b7e}}}[ ${$this->x04->x7b8->{$this->xf2->x7b8->{$this->x25->x7b8->{$this->x25->x7b8->x2af2}}}} ] = array( 'type' => ${$this->x04->x7de->{$this->x25->x7de->x39e2}}, 'include_in_all' => (bool) ${$this->x04->x7b8->{$this->xf2->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x2ae6}}}}->{$this->x25->x77a->x1745}(), );
if ( ${$this->xf2->x7b8->{$this->x25->x7b8->{$this->x25->x7b8->x2b06}}} ) {
${$this->x04->x78c->x1b7a}[ ${$this->xf2->x77a->{$this->x04->x77a->xc21}} ][ 'boost' ] = $x715( ${$this->x04->x78c->x1bb8} );
}
if ( ${$this->xf2->x78c->x1b9c} == 'sku' ) {
${$this->xf2->x7b8->{$this->xf2->x7b8->x2abe}}[ ${$this->x04->x7b8->{$this->xf2->x7b8->{$this->x04->x7b8->x2aed}}} ][ 'fields' ] = array( 'keyword' => array( 'type' => 'string', 'analyzer' => 'keyword', ), 'prefix' => array( 'type' => 'string', 'analyzer' => 'keyword_prefix', 'search_analyzer' => 'keyword', ), 'suffix' => array( 'type' => 'string', 'analyzer' => 'keyword_suffix', 'search_analyzer' => 'keyword', ), );
}
if ( ${$this->xf2->x77a->{$this->xf2->x77a->{$this->x04->x77a->{$this->x25->x77a->{$this->xf2->x77a->xc25}}}}} == 'price' ) {
${$this->x04->x78c->x1b7a}[ ${$this->x25->x77a->xc1c} ][ 'fields' ] = array( 'keyword' => array( 'type' => 'string', 'index' => 'not_analyzed', ), );
}
if ( ${$this->x04->x7b8->{$this->x25->x7b8->x2ae3}}->{$this->xf2->x77a->x1615}() == 'datetime' ) {
${$this->x04->x78c->x1b7a}[ ${$this->x04->x7b8->{$this->xf2->x7b8->{$this->x25->x7b8->{$this->x25->x7b8->x2af2}}}} ][ 'format' ] = $this->_dateFormat;
${$this->xf2->x7de->x39b2}[ ${$this->x04->x7b8->{$this->xf2->x7b8->{$this->x25->x7b8->{$this->x25->x7b8->x2af2}}}} ][ 'ignore_malformed' ] = true;
}
}
}
${$this->x04->x77a->{$this->x25->x77a->xbe0}}[ '_categories' ] = array( 'type' => 'string', 'include_in_all' => true, 'analyzer' => 'std', );
if ( isset( ${$this->x25->x78c->{$this->xf2->x78c->{$this->x04->x78c->{$this->x25->x78c->x1b8c}}}}[ 'analysis' ][ 'analyzer' ][ 'language' ] ) ) {
${$this->x04->x78c->x1b7a}[ '_categories' ][ 'analyzer' ] = 'language';
}
${$this->x04->x77a->{$this->xf2->x77a->{$this->x25->x77a->{$this->x04->x77a->{$this->x25->x77a->xbe7}}}}}[ '_parent_ids' ] = array( 'type' => 'integer', 'store' => true, 'index' => 'no', );
${$this->xf2->x77a->xbdf}[ '_url' ] = array( 'type' => 'string', 'store' => true, 'index' => 'no', );
${$this->x04->x77a->{$this->xf2->x77a->{$this->x25->x77a->{$this->x25->x77a->xbe4}}}} = new Varien_Object( ${$this->xf2->x7de->{$this->x04->x7de->x39b6}} );
Mage::$x453f( 'wyomind_elasticsearch_index_properties', array( 'indexer' => $this, 'store' => ${$this->x25->x77a->{$this->x04->x77a->{$this->x25->x77a->{$this->xf2->x77a->xbd4}}}}, 'properties' => ${$this->x04->x77a->{$this->xf2->x77a->{$this->x25->x77a->{$this->x04->x77a->{$this->x25->x77a->xbe7}}}}}, ) );
${$this->x04->x78c->{$this->x25->x78c->{$this->x25->x78c->x1b7e}}} = ${$this->xf2->x7de->{$this->x04->x7de->x39b6}}->{$this->x25->x77a->xdfb}();
if ( Mage::$x457f()->{$this->xf2->x77a->x1659}( 'config' ) ) {
${$this->xf2->x7de->x3a00} = $this->{$this->x04->x77a->x179b}();
Mage::$x457f()->{$this->x25->x77a->x17ac}( $x75e( ${$this->x04->x77a->{$this->x25->x77a->xbe0}} ), ${$this->x25->x7de->x39a8}, array( 'config' ), ${$this->x04->x7b8->x2b08} );
}
return ${$this->xf2->x7b8->{$this->x04->x7b8->{$this->x04->x7b8->x2ac2}}};
}
public function isIndexOutOfStockProducts( $x774 = null ) {
$x3c91 = "\x68el\160\x65\162";
$x3cb8 = "\147\145t\115\x6f\x64\x65\x6c";
$x457f = "\x61\x70\160";
$x42b8 = "\147\145\164\123\151ng\x6cet\x6f\156";
$x3efd = "\x67et\x53t\157\162\145C\x6f\x6e\x66\151\147";
$x4393 = "\x67\145\164\122\x65\x73\x6fu\162\143\145\115o\144\145l";
$x453f = "d\151spat\x63\150\x45\x76e\156\x74";
$x45a5 = "\x67\x65\164S\164\x6fre\x43o\156f\151g\106l\x61\147";
return Mage::$x45a5( Mage_CatalogInventory_Helper_Data::XML_PATH_SHOW_OUT_OF_STOCK, ${$this->xf2->x7de->x3a0c} );
}
}
Function Calls
| None |
Stats
| MD5 | efe4f16888a01c35565987bf6236a222 |
| Eval Count | 0 |
| Decode Time | 138 ms |