Jump to content

load tpl content from ajax request


apositivo

Recommended Posts

Hi community !

 

We are testing in prestashop Communication and are studying this excelente ecommerce CMS , we have a module with a button (as shown in the figure), works perfectly communicates with the controller via AJAX and brings the information requested.


Now we have a new challenge , want to know if that method that runs through ajax pressing the button you may be the content of the  TPL

 

button  (file AJAX_DIV.jpg)


<input type="text" id="id_data" value="1"/>
<button id="ajax-data">Click for get ajax data</button>
<div style=" border-style:dashed; border-color:#000000" id="MyContent"> show in this DIV information <BR> VIA AJAX</div>

code in ajax.js

$(function() {
    $('#ajax-data').click(function() {
        var query = $.ajax({
            type: 'POST',
            url: baseUri+'module/MyModule/ajax',
            data: 'method=myMethod&id_data=' + $('#id_data').val(),
            dataType: 'html',
            success: function(data)
            {
                console.log(data);
            }
        });
    });
});

code in controller:

<?php
 // class: modulename+controllername+prarentclassname
class MyModuleajaxModuleFrontController extends ModuleFrontController {
 
    public function initContent() {
        parent::initContent();
        $this->ajax = true; // enable ajax
    }
 
    // respond json or html
    public function displayAjax()
    {
        if ($this->errors)
            die(Tools::jsonEncode(array('hasError' => true, 'errors' => $this->errors)));

        if(Tools::getValue('method')=='myMethod')
        {
            $sql = 'SELECT * FROM ps_product WHERE id_product = '.Tools::getValue('id_data');
            $products = Db::getInstance()->ExecuteS( $sql );
            $productObj = new Product($products['id_product']);
            /*  THE DUDE ! how pass TPL to AJAX request ???*/
            $return $this->setTemplate('myinfoproducts.tpl');
        
        }
    }
    
    
    
}

post-341341-0-40690200-1439588680_thumb.jpg

post-341341-0-59584300-1439588702_thumb.jpg

post-341341-0-61755800-1439588709_thumb.jpg

Link to comment
Share on other sites

y add this line

return json_encode($this->context->smarty->fetch('blocknewproducts.tpl'));

 

and dont work :(

 

the content for blocknewproducts.tpl  ( ONLY FOR TEST is   "HELLO WORLD")

<?php
 // class: modulename+controllername+prarentclassname
class MyModuleajaxModuleFrontController extends ModuleFrontController {
 
    public function initContent() {
        parent::initContent();
        $this->ajax = true; // enable ajax
    }
 
    // respond json or html
    public function displayAjax()
    {
        if ($this->errors)
            die(Tools::jsonEncode(array('hasError' => true, 'errors' => $this->errors)));

        if(Tools::getValue('method')=='myMethod')
        {
            $sql = 'SELECT * FROM ps_product WHERE id_product = '.Tools::getValue('id_data');
            $products = Db::getInstance()->ExecuteS( $sql );
            $productObj = new Product($products['id_product']);
            /*  THE DUDE ! how pass TPL to AJAX request ???*/
           return json_encode($this->context->smarty->fetch('blocknewproducts.tpl'));
        
        }
    }
    
    
    
}
Link to comment
Share on other sites

hi Nemo1....

 

echo json_encode($this->context->smarty->fetch('blocknewproducts.tpl'));

 

"NetworkError: 500 Internal Server Error - http://localhost/test/module/MyModule/ajax"
 
"NetworkError: 500 Internal Server Error - http://localhost/test/module/MyModule/ajax"
 
with this code:
echo(json_encode($this->setTemplate('blocknewproducts.tpl')));
RESPONSE
 
null

post-341341-0-32575800-1440091015_thumb.jpg

Edited by apositivo (see edit history)
Link to comment
Share on other sites

i add this code line for example  and this WORKS !

$arr = array('a' => 1, 'b' => 2, 'c' => 3, 'd' => 4, 'e' => 5);
            echo json_encode($arr);

but how pass TPL to AJAX request DONT WORK

 

remember

the content for blocknewproducts.tpl  ( ONLY FOR TEST is   "HELLO WORLD")

 

and the php file is

<?php
 // class: modulename+controllername+prarentclassname
class MyModuleajaxModuleFrontController extends ModuleFrontController {
 
    public function initContent() {
        parent::initContent();
        $this->ajax = true; // enable ajax
    }
 
    // respond json or html
    public function displayAjax()
    {
        if ($this->errors)
            die(Tools::jsonEncode(array('hasError' => true, 'errors' => $this->errors)));

        if(Tools::getValue('method')=='myMethod')
        {
            $sql = 'SELECT * FROM ps_product WHERE id_product = '.Tools::getValue('id_data');
            $products = Db::getInstance()->ExecuteS( $sql );
            $productObj = new Product($products['id_product']);
            /*  THE DUDE ! how pass TPL to AJAX request ???*/
           return json_encode($this->context->smarty->fetch('blocknewproducts.tpl'));
        
        }
    }
    
    
    
}

post-341341-0-97962200-1440102201_thumb.jpg

Edited by apositivo (see edit history)
Link to comment
Share on other sites

hi Nemo1!  THANK YOU !

 

on Turn On dev mode (layer 8 error  heheheh , had forgotten the debug)... the path to the tpl file   XD

 

THIS WORK !

$sql = 'SELECT * FROM ps_product WHERE id_product = '.Tools::getValue('id_data').' LIMIT 1000';
            $id_product="";
            $products = Db::getInstance()->ExecuteS( $sql );
            foreach($products as $product)
            {    
            $id_product = $product['id_product'];
            }
            $productObj = new Product($id_product);
            $this->context->smarty->assign('new_products', $productObj);
            echo json_encode($this->context->smarty->fetch(_PS_MODULE_DIR_ .'MyModule/views/templates/front/blocknewproducts.tpl'));
Edited by apositivo (see edit history)
Link to comment
Share on other sites

this work Nemo1, But the content return ajax is

"\r\n\r\n
\r\n\t
Novedades<\/a><\/h4>\r\n\t
\r\n\t\t\t

    \r\n\t\t\t\t\t\t\t\t\t
    \"\"<\/a><\/li>\r\n\t\t\t\t\t\t\t\t\t\t\t\t
    \"\"<\/a><\/li>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/ul>\r\n\t\t

    \r\n\t\t\t\t\t
    <\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    <\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    1<\/a><\/dt>\r\n\t\t\t
        1<\/a>
        Leer m\u00e1s<\/a><\/dd>\t\t\t\t\t
    1<\/a><\/dt>\r\n\t\t\t
        1<\/a>
        Leer m\u00e1s<\/a><\/dd>\t\t\t\t\t
    5<\/a><\/dt>\r\n\t\t\t
        5<\/a>
        Leer m\u00e1s<\/a><\/dd>\t\t\t\t\t
    1<\/a><\/dt>\r\n\t\t\t
        1<\/a>
        Leer m\u00e1s<\/a><\/dd>\t\t\t\t\t
    <\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    <\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    <\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    <\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    <\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    0<\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    1<\/a><\/dt>\r\n\t\t\t
        1<\/a>
        Leer m\u00e1s<\/a><\/dd>\t\t\t\t\t
    <\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    <\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    1<\/a><\/dt>\r\n\t\t\t
        1<\/a>
        Leer m\u00e1s<\/a><\/dd>\t\t\t\t\t
    <\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    0<\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    4<\/a><\/dt>\r\n\t\t\t
        4<\/a>
        Leer m\u00e1s<\/a><\/dd>\t\t\t\t\t
    0<\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    0<\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    <\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    <\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    0<\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    0<\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    d<\/a><\/dt>\r\n\t\t\t
        d<\/a>
        Leer m\u00e1s<\/a><\/dd>\t\t\t\t\t
    <\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    <\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    0<\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    0<\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    0<\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    0<\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    0<\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    <\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    <\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    <\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    <\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    <\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    0<\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    0<\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    <\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    0<\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    0<\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    1<\/a><\/dt>\r\n\t\t\t
        1<\/a>
        Leer m\u00e1s<\/a><\/dd>\t\t\t\t\t
    4<\/a><\/dt>\r\n\t\t\t
        4<\/a>
        Leer m\u00e1s<\/a><\/dd>\t\t\t\t\t
    0<\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    1<\/a><\/dt>\r\n\t\t\t
        1<\/a>
        Leer m\u00e1s<\/a><\/dd>\t\t\t\t\t
    0<\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    n<\/a><\/dt>\r\n\t\t\t
        n<\/a>
        Leer m\u00e1s<\/a><\/dd>\t\t\t\t\t
    1<\/a><\/dt>\r\n\t\t\t
        1<\/a>
        Leer m\u00e1s<\/a><\/dd>\t\t\t\t\t
    1<\/a><\/dt>\r\n\t\t\t
        1<\/a>
        Leer m\u00e1s<\/a><\/dd>\t\t\t\t\t
    b<\/a><\/dt>\r\n\t\t\t
        b<\/a>
        Leer m\u00e1s<\/a><\/dd>\t\t\t\t\t
    2<\/a><\/dt>\r\n\t\t\t
        2<\/a>
        Leer m\u00e1s<\/a><\/dd>\t\t\t\t\t
    2<\/a><\/dt>\r\n\t\t\t
        2<\/a>
        Leer m\u00e1s<\/a><\/dd>\t\t\t\t\t
    <\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    <\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    1<\/a><\/dt>\r\n\t\t\t
        1<\/a>
        Read m\u00e1s<\/a><\/dd>\t\t\t\t\t
    <\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    0<\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    2<\/a><\/dt>\r\n\t\t\t
        2<\/a>
        Read m\u00e1s<\/a><\/dd>\t\t\t\t\t
    <\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    <\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    0<\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    0<\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    0<\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    <\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    1<\/a><\/dt>\r\n\t\t\t
        1<\/a>
        Read m\u00e1s<\/a><\/dd>\t\t\t\t\t
    <\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    3<\/a><\/dt>\r\n\t\t\t
        3<\/a>
        Read m\u00e1s<\/a><\/dd>\t\t\t\t\t
    <\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    <\/a><\/dt>\r\n\t\t\t\t\t\t\t\t
    <\/a><\/dt>\r\n\t\t\t\t\t\t\t<\/dl>\r\n\t\t

My tpl :

<!-- MODULE My Module  RETURN VIA AJAX -->
{foreach from=$new_products item='product' name='newProducts'}
            {$product.name|escape:html:'UTF-8'}
            <br>
        {/foreach}
 
Edited by apositivo (see edit history)
Link to comment
Share on other sites

TEST 1 : 

 

in ajax.js 

dataType: 'html',

in ajax.php  dont use json_encode

$sql = 'SELECT * FROM ps_product WHERE id_product = '.Tools::getValue('id_data').' LIMIT 1000';
            $id_product="";
            $products = Db::getInstance()->ExecuteS( $sql );
            foreach($products as $product)
            {    
            $id_product = $product['id_product'];
            }
            $productObj = new Product($id_product);
            $this->context->smarty->assign('new_products', $productObj);
            echo ($this->context->smarty->fetch(_PS_MODULE_DIR_ .'MyModule/views/templates/front/blocknewproducts.tpl'));

in tpl

{$new_products|print_r}

RESULT:

Product Object
(
    [tax_name] => 
    [tax_rate] => 
    [id_manufacturer] => 1
    [id_supplier] => 1
    [id_category_default] => 10
    [id_shop_default] => 1
    [manufacturer_name] => 
    [supplier_name] => 
    [name] => Array
        (
            [1] => Printed Dress
            [2] => Vestido estampado
        )

    [description] => Array
        (
            [1] => Fashion has been creating well-designed collections since 2010. The brand offers feminine designs delivering stylish separates and statement dresses which have since evolved into a full ready-to-wear collection in which every item is a vital part of a woman's wardrobe. The result? Cool, easy, chic looks with youthful elegance and unmistakable signature style. All the beautiful pieces are made in Italy and manufactured with the greatest attention. Now Fashion extends to a range of accessories including shoes, hats, belts and more![2] =>Fashion lleva diseñando increíbles colecciones desde 2010. La marca ofrece diseños femeninos, con elegantes prendas para combinar y las últimas tendencias en vestidos. Las colecciones han evolucionado hacia una línea prêt-à-porter en la que cada elemento resulta indispensable en el fondo de armario de una mujer. ¿El resultado? Looks frescos, sencillos y muy chic, con una elegancia juvenil y un estilo único e inconfundible. Todas las prendas se confeccionan en Italia, prestando atención hasta al más mínimo detalle. Ahora Fashion ha ampliado su catálogo para incluir todo tipo de complementos: ¡zapatos, sombreros, cinturones y mucho más! ) [description_short] => Array ( [1] =>
Printed evening dress with straight sleeves with black thin waist belt and ruffled linings.[2] =>Vestido de noche estampado con mangas rectas, cinturón negro y volantes.
) [quantity] => 0 [minimal_quantity] => 1 [available_now] => Array ( [1] => In stock [2] => En stock ) [available_later] => Array ( [1] => [2] => ) [price] => 50.994153 [specificPrice] => 0 [additional_shipping_cost] => 0.00 [wholesale_price] => 15.300000 [on_sale] => 0 [online_only] => 0 [unity] => [unit_price] => [unit_price_ratio] => 0.000000 [ecotax] => 0.000000 [reference] => demo_4 [supplier_reference] => [location] => [width] => 0.000000 [height] => 0.000000 [depth] => 0.000000 [weight] => 0.000000 [ean13] => 0 [upc] => [link_rewrite] => Array ( [1] => printed-dress [2] => vestido-estampado ) [meta_description] => Array ( [1] => [2] => ) [meta_keywords] => Array ( [1] => [2] => ) [meta_title] => Array ( [1] => [2] => ) [quantity_discount] => 0 [customizable] => 0 [new] => [uploadable_files] => 0 [text_fields] => 0 [active] => 1 [redirect_type] => 404 [id_product_redirected] => 0 [available_for_order] => 1 [available_date] => 0000-00-00 [condition] => new [show_price] => 1 [indexed] => 1 [visibility] => both [date_add] => 2015-08-12 14:32:08 [date_upd] => 2015-08-12 14:32:08 [tags] => [base_price] => [id_tax_rules_group] => 1 [id_color_default] => 0 [advanced_stock_management] => 0 [out_of_stock] => 2 [depends_on_stock] => [isFullyLoaded] => [cache_is_pack] => 0 [cache_has_attachments] => 0 [is_virtual] => 0 [id_pack_product_attribute] => [cache_default_attribute] => 16 [category] => [pack_stock_type] => 3 [webserviceParameters:protected] => Array ( [objectMethods] => Array ( [add] => addWs [update] => updateWs ) [objectNodeNames] => products [fields] => Array ( [id_manufacturer] => Array ( [xlink_resource] => manufacturers ) [id_supplier] => Array ( [xlink_resource] => suppliers ) [id_category_default] => Array ( [xlink_resource] => categories ) [new] => Array ( ) [cache_default_attribute] => Array ( ) [id_default_image] => Array ( [getter] => getCoverWs [setter] => setCoverWs [xlink_resource] => Array ( [resourceName] => images [subResourceName] => products ) ) [id_default_combination] => Array ( [getter] => getWsDefaultCombination [setter] => setWsDefaultCombination [xlink_resource] => Array ( [resourceName] => combinations ) ) [id_tax_rules_group] => Array ( [xlink_resource] => Array ( [resourceName] => tax_rule_groups ) ) [position_in_category] => Array ( [getter] => getWsPositionInCategory [setter] => setWsPositionInCategory ) [manufacturer_name] => Array ( [getter] => getWsManufacturerName [setter] => ) [quantity] => Array ( [getter] => [setter] => ) [type] => Array ( [getter] => getWsType [setter] => setWsType ) ) [associations] => Array ( [categories] => Array ( [resource] => category [fields] => Array ( [id] => Array ( [required] => 1 ) ) ) [images] => Array ( [resource] => image [fields] => Array ( [id] => Array ( ) ) ) [combinations] => Array ( [resource] => combination [fields] => Array ( [id] => Array ( [required] => 1 ) ) ) [product_option_values] => Array ( [resource] => product_option_value [fields] => Array ( [id] => Array ( [required] => 1 ) ) ) [product_features] => Array ( [resource] => product_feature [fields] => Array ( [id] => Array ( [required] => 1 ) [id_feature_value] => Array ( [required] => 1 [xlink_resource] => product_feature_values ) ) ) [tags] => Array ( [resource] => tag [fields] => Array ( [id] => Array ( [required] => 1 ) ) ) [stock_availables] => Array ( [resource] => stock_available [fields] => Array ( [id] => Array ( [required] => 1 ) [id_product_attribute] => Array ( [required] => 1 ) ) [setter] => ) [accessories] => Array ( [resource] => product [api] => products [fields] => Array ( [id] => Array ( [required] => 1 [xlink_resource] => product ) ) ) [product_bundle] => Array ( [resource] => product [api] => products [fields] => Array ( [id] => Array ( [required] => 1 ) [quantity] => Array ( ) ) ) ) ) [id] => 4 [id_lang:protected] => [id_shop:protected] => 1 [id_shop_list] => [get_shop_from_context:protected] => 1 [table:protected] => product [identifier:protected] => id_product [fieldsRequired:protected] => Array ( [0] => price ) [fieldsSize:protected] => Array ( [reference] => 32 [supplier_reference] => 32 [location] => 64 [ean13] => 13 [upc] => 12 ) [fieldsValidate:protected] => Array ( [id_shop_default] => isUnsignedId [id_manufacturer] => isUnsignedId [id_supplier] => isUnsignedId [reference] => isReference [supplier_reference] => isReference [location] => isReference [width] => isUnsignedFloat [height] => isUnsignedFloat [depth] => isUnsignedFloat [weight] => isUnsignedFloat [quantity_discount] => isBool [ean13] => isEan13 [upc] => isUpc [cache_is_pack] => isBool [cache_has_attachments] => isBool [is_virtual] => isBool [id_category_default] => isUnsignedId [id_tax_rules_group] => isUnsignedId [on_sale] => isBool [online_only] => isBool [ecotax] => isPrice [minimal_quantity] => isUnsignedInt [price] => isPrice [wholesale_price] => isPrice [unity] => isString [additional_shipping_cost] => isPrice [customizable] => isUnsignedInt [text_fields] => isUnsignedInt [uploadable_files] => isUnsignedInt [active] => isBool [redirect_type] => isString [id_product_redirected] => isUnsignedId [available_for_order] => isBool [available_date] => isDateFormat [condition] => isGenericName [show_price] => isBool [indexed] => isBool [visibility] => isProductVisibility [advanced_stock_management] => isBool [date_add] => isDate [date_upd] => isDate [pack_stock_type] => isUnsignedInt ) [fieldsRequiredLang:protected] => Array ( [0] => link_rewrite [1] => name ) [fieldsSizeLang:protected] => Array ( [meta_description] => 255 [meta_keywords] => 255 [meta_title] => 128 [link_rewrite] => 128 [name] => 128 [available_now] => 255 [available_later] => 255 ) [fieldsValidateLang:protected] => Array ( [meta_description] => isGenericName [meta_keywords] => isGenericName [meta_title] => isGenericName [link_rewrite] => isLinkRewrite [name] => isCatalogName [description] => isCleanHtml [description_short] => isCleanHtml [available_now] => isGenericName [available_later] => IsGenericName ) [tables:protected] => Array ( ) [image_dir:protected] => [image_format:protected] => jpg [def:protected] => Array ( [table] => product [primary] => id_product [multilang] => 1 [multilang_shop] => 1 [fields] => Array ( [id_shop_default] => Array ( [type] => 1 [validate] => isUnsignedId ) [id_manufacturer] => Array ( [type] => 1 [validate] => isUnsignedId ) [id_supplier] => Array ( [type] => 1 [validate] => isUnsignedId ) [reference] => Array ( [type] => 3 [validate] => isReference [size] => 32 ) [supplier_reference] => Array ( [type] => 3 [validate] => isReference [size] => 32 ) [location] => Array ( [type] => 3 [validate] => isReference [size] => 64 ) [width] => Array ( [type] => 4 [validate] => isUnsignedFloat ) [height] => Array ( [type] => 4 [validate] => isUnsignedFloat ) [depth] => Array ( [type] => 4 [validate] => isUnsignedFloat ) [weight] => Array ( [type] => 4 [validate] => isUnsignedFloat ) [quantity_discount] => Array ( [type] => 2 [validate] => isBool ) [ean13] => Array ( [type] => 3 [validate] => isEan13 [size] => 13 ) [upc] => Array ( [type] => 3 [validate] => isUpc [size] => 12 ) [cache_is_pack] => Array ( [type] => 2 [validate] => isBool ) [cache_has_attachments] => Array ( [type] => 2 [validate] => isBool ) [is_virtual] => Array ( [type] => 2 [validate] => isBool ) [id_category_default] => Array ( [type] => 1 [shop] => 1 [validate] => isUnsignedId ) [id_tax_rules_group] => Array ( [type] => 1 [shop] => 1 [validate] => isUnsignedId ) [on_sale] => Array ( [type] => 2 [shop] => 1 [validate] => isBool ) [online_only] => Array ( [type] => 2 [shop] => 1 [validate] => isBool ) [ecotax] => Array ( [type] => 4 [shop] => 1 [validate] => isPrice ) [minimal_quantity] => Array ( [type] => 1 [shop] => 1 [validate] => isUnsignedInt ) [price] => Array ( [type] => 4 [shop] => 1 [validate] => isPrice [required] => 1 ) [wholesale_price] => Array ( [type] => 4 [shop] => 1 [validate] => isPrice ) [unity] => Array ( [type] => 3 [shop] => 1 [validate] => isString ) [unit_price_ratio] => Array ( [type] => 4 [shop] => 1 ) [additional_shipping_cost] => Array ( [type] => 4 [shop] => 1 [validate] => isPrice ) [customizable] => Array ( [type] => 1 [shop] => 1 [validate] => isUnsignedInt ) [text_fields] => Array ( [type] => 1 [shop] => 1 [validate] => isUnsignedInt ) [uploadable_files] => Array ( [type] => 1 [shop] => 1 [validate] => isUnsignedInt ) [active] => Array ( [type] => 2 [shop] => 1 [validate] => isBool ) [redirect_type] => Array ( [type] => 3 [shop] => 1 [validate] => isString ) [id_product_redirected] => Array ( [type] => 1 [shop] => 1 [validate] => isUnsignedId ) [available_for_order] => Array ( [type] => 2 [shop] => 1 [validate] => isBool ) [available_date] => Array ( [type] => 5 [shop] => 1 [validate] => isDateFormat ) [condition] => Array ( [type] => 3 [shop] => 1 [validate] => isGenericName [values] => Array ( [0] => new [1] => used [2] => refurbished ) [default] => new ) [show_price] => Array ( [type] => 2 [shop] => 1 [validate] => isBool ) [indexed] => Array ( [type] => 2 [shop] => 1 [validate] => isBool ) [visibility] => Array ( [type] => 3 [shop] => 1 [validate] => isProductVisibility [values] => Array ( [0] => both [1] => catalog [2] => search [3] => none ) [default] => both ) [cache_default_attribute] => Array ( [type] => 1 [shop] => 1 ) [advanced_stock_management] => Array ( [type] => 2 [shop] => 1 [validate] => isBool ) [date_add] => Array ( [type] => 5 [shop] => 1 [validate] => isDate ) [date_upd] => Array ( [type] => 5 [shop] => 1 [validate] => isDate ) [pack_stock_type] => Array ( [type] => 1 [shop] => 1 [validate] => isUnsignedInt ) [meta_description] => Array ( [type] => 3 [lang] => 1 [validate] => isGenericName [size] => 255 ) [meta_keywords] => Array ( [type] => 3 [lang] => 1 [validate] => isGenericName [size] => 255 ) [meta_title] => Array ( [type] => 3 [lang] => 1 [validate] => isGenericName [size] => 128 ) [link_rewrite] => Array ( [type] => 3 [lang] => 1 [validate] => isLinkRewrite [required] => 1 [size] => 128 [ws_modifier] => Array ( [http_method] => 2 [modifier] => modifierWsLinkRewrite ) ) [name] => Array ( [type] => 3 [lang] => 1 [validate] => isCatalogName [required] => 1 [size] => 128 ) [description] => Array ( [type] => 6 [lang] => 1 [validate] => isCleanHtml ) [description_short] => Array ( [type] => 6 [lang] => 1 [validate] => isCleanHtml ) [available_now] => Array ( [type] => 3 [lang] => 1 [validate] => isGenericName [size] => 255 ) [available_later] => Array ( [type] => 3 [lang] => 1 [validate] => IsGenericName [size] => 255 ) ) [associations] => Array ( [manufacturer] => Array ( [type] => 1 ) [supplier] => Array ( [type] => 1 ) [default_category] => Array ( [type] => 1 [field] => id_category_default [object] => Category ) [tax_rules_group] => Array ( [type] => 1 ) [categories] => Array ( [type] => 2 [field] => id_category [object] => Category [association] => category_product ) [stock_availables] => Array ( [type] => 2 [field] => id_stock_available [object] => StockAvailable [association] => stock_availables ) [l] => Array ( [type] => 2 [field] => id_product [foreign_field] => id_product ) ) [classname] => Product ) [update_fields:protected] => [force_id] => )
Link to comment
Share on other sites

what is the diference between

$productObj =Product::getNewProducts((int) $this->context->language->id, 0, (int)Configuration::get('NEW_PRODUCTS_NBR'));

and

$sql = 'SELECT * FROM ps_product WHERE id_product = '.Tools::getValue('id_data').' LIMIT 1000';
            $id_product="";
            $products = Db::getInstance()->ExecuteS( $sql );
            foreach($products as $product)
            {    
            $id_product = $product['id_product'];
            }
            $productObj = new Product($id_product);

how to get tha same data with BOTH method ?

Link to comment
Share on other sites

test 2

$productObj = new Product(1);
$this->context->smarty->assign('products', $productObj);

 on .TPL

{foreach from=$products item=product name=products}
{$product.name}
{/foreach}

result :

1 1 5 1 0 1 1 0 4 0 0 0 0 d 0 0 0 0 0 0 0 0 0 1 4 0 1 0 n 1 1 b 2 2 1 0 2 0 0 0 1 3

Link to comment
Share on other sites

Can we stick to a single question each time? Not sure which one you need to be answered.
The last one:

$this->context->smarty->assign('products', $productObj);

THis is a product object, not an array. You can use it in the template like $product->name
Or, in this case, since you didn't pass in any language $product->name.1 (for the id_lang =1)

Link to comment
Share on other sites

Oh, my mistake, you need to assign "product" without s
You can print it out in the template to see how it looks like too $product|@debug_print_var

blocklayered uses the method I mentioned:

 

$product_list = $smarty->fetch(_PS_THEME_DIR_.'product-list.tpl');

Then returns a json encoded version of an array, containing this as well (so it can be appended using js)

Link to comment
Share on other sites

thank  you nemo1.

 

any question, blocklayered return data a json format, and with javascript this data is transformed in HTML ???

Array{"filtersBlock":"\r\n<div id=\"layered_block_left\" class=\"block\">\r\n\t<p class=\"title_block\">Catalog<\/p>\r\n\t<div class=\"block_content\">\r\n\t\t<form action=\"#\" id=\"layered_form\">\r\n\t\t\t<div>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"layered_filter\">\r\n\t\t\t\t\t\t <div class=\"layered_subtitle_heading\">\r\n  <span class=\"layered_subtitle\">Categories<\/span>\r\n <!--<span class=\"layered_close\">\r\n \t<a href=\"#\" data-rel=\"ul_layered_category_0\"><\/a>\r\n <\/span>-->\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<ul id=\"ul_layered_category_0\" class=\"col-lg-12 layered_filter_ul\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"nomargin hiddable col-lg-12\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" class=\"checkbox\" name=\"layered_category_4\" id=\"layered_category_4\" value=\"4\" \/> \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"layered_category_4\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/localhost\/ps1610\/en\/3-women#categories-tops\" data-rel=\"nofollow\">Tops<span> (2)<\/span><\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/label>\r\n\t\t\t\t\t\t\t\t\t\t<\/li>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"nomargin hiddable col-lg-12\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" class=\"checkbox\" name=\"layered_category_8\" id=\"layered_category_8\" value=\"8\" \/> \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"layered_category_8\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/localhost\/ps1610\/en\/3-women#categories-dresses\" data-rel=\"nofollow\">Dresses<span> (5)<\/span><\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/label>\r\n\t\t\t\t\t\t\t\t\t\t<\/li>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/ul>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"layered_filter\">\r\n\t\t\t\t\t\t <div class=\"layered_subtitle_heading\">\r\n  <span class=\"layered_subtitle\">Size<\/span>\r\n <!--<span class=\"layered_close\">\r\n \t<a href=\"#\" data-rel=\"ul_layered_id_attribute_group_1\"><\/a>\r\n <\/span>-->\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<ul id=\"ul_layered_id_attribute_group_1\" class=\"col-lg-12 layered_filter_ul\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"nomargin hiddable col-lg-12\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" class=\"checkbox\" name=\"layered_id_attribute_group_1\" id=\"layered_id_attribute_group_1\" value=\"1_1\" \/> \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"layered_id_attribute_group_1\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/localhost\/ps1610\/en\/3-women#size-s\">S<span> (7)<\/span><\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/label>\r\n\t\t\t\t\t\t\t\t\t\t<\/li>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"nomargin hiddable col-lg-12\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" class=\"checkbox\" name=\"layered_id_attribute_group_2\" id=\"layered_id_attribute_group_2\" value=\"2_1\" \/> \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"layered_id_attribute_group_2\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/localhost\/ps1610\/en\/3-women#size-m\">M<span> (7)<\/span><\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/label>\r\n\t\t\t\t\t\t\t\t\t\t<\/li>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"nomargin hiddable col-lg-12\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" class=\"checkbox\" name=\"layered_id_attribute_group_3\" id=\"layered_id_attribute_group_3\" value=\"3_1\" \/> \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"layered_id_attribute_group_3\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/localhost\/ps1610\/en\/3-women#size-l\">L<span> (7)<\/span><\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/label>\r\n\t\t\t\t\t\t\t\t\t\t<\/li>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/ul>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"layered_filter\">\r\n\t\t\t\t\t\t  <div class=\"layered_subtitle_heading\">\r\n <span class=\"layered_subtitle\">Color<\/span>\r\n <!--<span class=\"layered_close\">\r\n \t<a href=\"#\" data-rel=\"ul_layered_id_attribute_group_3\"><\/a>\r\n <\/span>-->\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<ul id=\"ul_layered_id_attribute_group_3\" class=\"col-lg-12 layered_filter_ul\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"nomargin hiddable col-lg-12\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" class=\"checkbox\" name=\"layered_id_attribute_group_7\" id=\"layered_id_attribute_group_7\" value=\"7_3\" \/> \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"layered_id_attribute_group_7\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/localhost\/ps1610\/en\/3-women#color-beige\">Beige<span> (1)<\/span><\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/label>\r\n\t\t\t\t\t\t\t\t\t\t<\/li>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"nomargin hiddable col-lg-12\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" class=\"checkbox\" name=\"layered_id_attribute_group_8\" id=\"layered_id_attribute_group_8\" value=\"8_3\" \/> \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"layered_id_attribute_group_8\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/localhost\/ps1610\/en\/3-women#color-white\">White<span> (2)<\/span><\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/label>\r\n\t\t\t\t\t\t\t\t\t\t<\/li>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"nomargin hiddable col-lg-12\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" class=\"checkbox\" name=\"layered_id_attribute_group_11\" id=\"layered_id_attribute_group_11\" value=\"11_3\" \/> \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"layered_id_attribute_group_11\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/localhost\/ps1610\/en\/3-women#color-black\">Black<span> (2)<\/span><\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/label>\r\n\t\t\t\t\t\t\t\t\t\t<\/li>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"nomargin hiddable col-lg-12\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" class=\"checkbox\" name=\"layered_id_attribute_group_13\" id=\"layered_id_attribute_group_13\" value=\"13_3\" \/> \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"layered_id_attribute_group_13\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/localhost\/ps1610\/en\/3-women#color-orange\">Orange<span> (3)<\/span><\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/label>\r\n\t\t\t\t\t\t\t\t\t\t<\/li>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"nomargin hiddable col-lg-12\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" class=\"checkbox\" name=\"layered_id_attribute_group_14\" id=\"layered_id_attribute_group_14\" value=\"14_3\" \/> \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"layered_id_attribute_group_14\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/localhost\/ps1610\/en\/3-women#color-blue\">Blue<span> (2)<\/span><\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/label>\r\n\t\t\t\t\t\t\t\t\t\t<\/li>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"nomargin hiddable col-lg-12\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" class=\"checkbox\" name=\"layered_id_attribute_group_15\" id=\"layered_id_attribute_group_15\" value=\"15_3\" \/> \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"layered_id_attribute_group_15\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/localhost\/ps1610\/en\/3-women#color-green\">Green<span> (1)<\/span><\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/label>\r\n\t\t\t\t\t\t\t\t\t\t<\/li>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"nomargin hiddable col-lg-12\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" class=\"checkbox\" name=\"layered_id_attribute_group_16\" id=\"layered_id_attribute_group_16\" value=\"16_3\" \/> \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"layered_id_attribute_group_16\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/localhost\/ps1610\/en\/3-women#color-yellow\">Yellow<span> (3)<\/span><\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/label>\r\n\t\t\t\t\t\t\t\t\t\t<\/li>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"nomargin hiddable col-lg-12\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" class=\"checkbox\" name=\"layered_id_attribute_group_24\" id=\"layered_id_attribute_group_24\" value=\"24_3\" \/> \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"layered_id_attribute_group_24\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/localhost\/ps1610\/en\/3-women#color-pink\">Pink<span> (1)<\/span><\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/label>\r\n\t\t\t\t\t\t\t\t\t\t<\/li>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/ul>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"layered_filter\">\r\n\t\t\t\t\t\t <div class=\"layered_subtitle_heading\">\r\n <span class=\"layered_subtitle\">Compositions<\/span>\r\n  <!--<span class=\"layered_close\">\r\n \t<a href=\"#\" data-rel=\"ul_layered_id_feature_5\"><\/a>\r\n <\/span>-->\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<ul id=\"ul_layered_id_feature_5\" class=\"col-lg-12 layered_filter_ul\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"nomargin hiddable col-lg-12\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" class=\"checkbox\" name=\"layered_id_feature_5\" id=\"layered_id_feature_5\" value=\"5_5\" \/> \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"layered_id_feature_5\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/localhost\/ps1610\/en\/3-women#compositions-cotton\">Cotton<span> (3)<\/span><\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/label>\r\n\t\t\t\t\t\t\t\t\t\t<\/li>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"nomargin hiddable col-lg-12\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" class=\"checkbox\" name=\"layered_id_feature_1\" id=\"layered_id_feature_1\" value=\"1_5\" \/> \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"layered_id_feature_1\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/localhost\/ps1610\/en\/3-women#compositions-polyester\">Polyester<span> (2)<\/span><\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/label>\r\n\t\t\t\t\t\t\t\t\t\t<\/li>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"nomargin hiddable col-lg-12\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" class=\"checkbox\" name=\"layered_id_feature_3\" id=\"layered_id_feature_3\" value=\"3_5\" \/> \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"layered_id_feature_3\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/localhost\/ps1610\/en\/3-women#compositions-viscose\">Viscose<span> (2)<\/span><\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/label>\r\n\t\t\t\t\t\t\t\t\t\t<\/li>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/ul>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"layered_filter\">\r\n\t\t\t\t\t\t <div class=\"layered_subtitle_heading\">\r\n <span class=\"layered_subtitle\">Properties<\/span>\r\n  <!--<span class=\"layered_close\">\r\n \t<a href=\"#\" data-rel=\"ul_layered_id_feature_7\"><\/a>\r\n <\/span>-->\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<ul id=\"ul_layered_id_feature_7\" class=\"col-lg-12 layered_filter_ul\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"nomargin hiddable col-lg-12\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" class=\"checkbox\" name=\"layered_id_feature_18\" id=\"layered_id_feature_18\" value=\"18_7\" \/> \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"layered_id_feature_18\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/localhost\/ps1610\/en\/3-women#properties-colorful_dress\">Colorful Dress<span> (1)<\/span><\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/label>\r\n\t\t\t\t\t\t\t\t\t\t<\/li>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"nomargin hiddable col-lg-12\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" class=\"checkbox\" name=\"layered_id_feature_21\" id=\"layered_id_feature_21\" value=\"21_7\" \/> \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"layered_id_feature_21\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/localhost\/ps1610\/en\/3-women#properties-maxi_dress\">Maxi Dress<span> (1)<\/span><\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/label>\r\n\t\t\t\t\t\t\t\t\t\t<\/li>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"nomargin hiddable col-lg-12\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" class=\"checkbox\" name=\"layered_id_feature_20\" id=\"layered_id_feature_20\" value=\"20_7\" \/> \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"layered_id_feature_20\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/localhost\/ps1610\/en\/3-women#properties-midi_dress\">Midi Dress<span> (1)<\/span><\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/label>\r\n\t\t\t\t\t\t\t\t\t\t<\/li>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"nomargin hiddable col-lg-12\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" class=\"checkbox\" name=\"layered_id_feature_19\" id=\"layered_id_feature_19\" value=\"19_7\" \/> \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"layered_id_feature_19\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/localhost\/ps1610\/en\/3-women#properties-short_dress\">Short Dress<span> (2)<\/span><\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/label>\r\n\t\t\t\t\t\t\t\t\t\t<\/li>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"nomargin hiddable col-lg-12\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" class=\"checkbox\" name=\"layered_id_feature_17\" id=\"layered_id_feature_17\" value=\"17_7\" \/> \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"layered_id_feature_17\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/localhost\/ps1610\/en\/3-women#properties-short_sleeve\">Short Sleeve<span> (2)<\/span><\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/label>\r\n\t\t\t\t\t\t\t\t\t\t<\/li>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/ul>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"layered_filter\">\r\n\t\t\t\t\t\t  <div class=\"layered_subtitle_heading\">\r\n <span class=\"layered_subtitle\">Styles<\/span>\r\n <!--<span class=\"layered_close\">\r\n \t<a href=\"#\" data-rel=\"ul_layered_id_feature_6\"><\/a>\r\n  <\/span>-->\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<ul id=\"ul_layered_id_feature_6\" class=\"col-lg-12 layered_filter_ul\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"nomargin hiddable col-lg-12\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" class=\"checkbox\" name=\"layered_id_feature_11\" id=\"layered_id_feature_11\" value=\"11_6\" \/> \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"layered_id_feature_11\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/localhost\/ps1610\/en\/3-women#styles-casual\">Casual<span> (3)<\/span><\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/label>\r\n\t\t\t\t\t\t\t\t\t\t<\/li>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"nomargin hiddable col-lg-12\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" class=\"checkbox\" name=\"layered_id_feature_16\" id=\"layered_id_feature_16\" value=\"16_6\" \/> \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"layered_id_feature_16\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/localhost\/ps1610\/en\/3-women#styles-dressy\">Dressy<span> (1)<\/span><\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/label>\r\n\t\t\t\t\t\t\t\t\t\t<\/li>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"nomargin hiddable col-lg-12\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" class=\"checkbox\" name=\"layered_id_feature_13\" id=\"layered_id_feature_13\" value=\"13_6\" \/> \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"layered_id_feature_13\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/localhost\/ps1610\/en\/3-women#styles-girly\">Girly<span> (3)<\/span><\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/label>\r\n\t\t\t\t\t\t\t\t\t\t<\/li>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/ul>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"layered_filter\">\r\n\t\t\t\t\t\t  <div class=\"layered_subtitle_heading\">\r\n <span class=\"layered_subtitle\">Availability<\/span>\r\n <!--<span class=\"layered_close\">\r\n \t<a href=\"#\" data-rel=\"ul_layered_quantity_0\"><\/a>\r\n  <\/span>-->\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<ul id=\"ul_layered_quantity_0\" class=\"col-lg-12 layered_filter_ul\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"nomargin hiddable col-lg-12\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" class=\"checkbox\" name=\"layered_quantity_1\" id=\"layered_quantity_1\" value=\"1\" \/> \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"layered_quantity_1\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/localhost\/ps1610\/en\/3-women#availability-in_stock\" data-rel=\"nofollow\">In stock<span> (7)<\/span><\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/label>\r\n\t\t\t\t\t\t\t\t\t\t<\/li>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/ul>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"layered_filter\">\r\n\t\t\t\t\t\t <div class=\"layered_subtitle_heading\">\r\n <span class=\"layered_subtitle\">Manufacturer<\/span>\r\n  <!--<span class=\"layered_close\">\r\n \t<a href=\"#\" data-rel=\"ul_layered_manufacturer_0\"><\/a>\r\n <\/span>-->\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<ul id=\"ul_layered_manufacturer_0\" class=\"col-lg-12 layered_filter_ul\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"nomargin hiddable col-lg-12\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" class=\"checkbox\" name=\"layered_manufacturer_1\" id=\"layered_manufacturer_1\" value=\"1\" \/> \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"layered_manufacturer_1\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/localhost\/ps1610\/en\/3-women#manufacturer-fashion_manufacturer\" data-rel=\"nofollow\">Fashion Manufacturer<span> (7)<\/span><\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/label>\r\n\t\t\t\t\t\t\t\t\t\t<\/li>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/ul>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"layered_filter\">\r\n\t\t\t\t\t\t  <div class=\"layered_subtitle_heading\">\r\n <span class=\"layered_subtitle\">Condition<\/span>\r\n <!--<span class=\"layered_close\">\r\n  \t<a href=\"#\" data-rel=\"ul_layered_condition_0\"><\/a>\r\n  <\/span>-->\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<ul id=\"ul_layered_condition_0\" class=\"col-lg-12 layered_filter_ul\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"nomargin hiddable col-lg-12\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" class=\"checkbox\" name=\"layered_condition_new\" id=\"layered_condition_new\" value=\"new\" \/> \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"layered_condition_new\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"http:\/\/localhost\/ps1610\/en\/3-women#condition-new\" data-rel=\"nofollow\">New<span> (7)<\/span><\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/label>\r\n\t\t\t\t\t\t\t\t\t\t<\/li>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/ul>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"layered_price\" style=\"display: none;\">\r\n\t\t\t\t\t\t  <div class=\"layered_subtitle_heading\">\r\n <span class=\"layered_subtitle\">Price<\/span>\r\n <!--<span class=\"layered_close\">\r\n  \t<a href=\"#\" data-rel=\"ul_layered_price_0\"><\/a>\r\n <\/span>-->\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<ul id=\"ul_layered_price_0\" class=\"col-lg-12 layered_filter_ul\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label for=\"price\">\r\n\t\t\t\t\t\t\t\t\t\tRange:\r\n\t\t\t\t\t\t\t\t\t<\/label> \r\n\t\t\t\t\t\t\t\t\t<span id=\"layered_price_range\"><\/span>\r\n\t\t\t\t\t\t\t\t\t<div class=\"layered_slider_container\">\r\n\t\t\t\t\t\t\t\t\t\t<div class=\"layered_slider\" id=\"layered_price_slider\" data-type=\"price\" data-format=\"2\" data-unit=\"$\"><\/div>\r\n\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/ul>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t<input type=\"hidden\" name=\"id_category_layered\" value=\"3\" \/>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/form>\r\n\t<\/div>\r\n\t<div id=\"layered_ajax_loader\" style=\"display: none;\">\r\n\t\t<p>\r\n\t\t\t<img src=\"http:\/\/localhost\/ps1610\/img\/loader.gif\" alt=\"\" \/>\r\n\t\t\t<br \/>Loading...\r\n\t\t<\/p>\r\n\t<\/div>\r\n<\/div>\r\n","productList":"<style type=\"text\/css\">\n.boton {\n\n color: #ffffff;\n background: #009ad0 linear-gradient(to bottom, #009ad0 0%, #007ab7 100%) repeat-x scroll 0 0;\n font: 700 17px\/21px Arial,Helvetica,sans-serif;\n padding: 10px 14px;\n border: 1px solid #06b2e6;\n\n}\n.boton:hover {\n\n color: #ffffff;\n background: #009ad0 linear-gradient(to bottom, #009ad0 0%, #007ab7 100%) repeat-x scroll 0 0;\n font: 700 17px\/21px Arial,Helvetica,sans-serif;\n padding: 10px 14px;\n border: 1px solid #06b2e6;\n\n}\n<\/style>\n\t\n\t\t\t\t\t\t\t\t\t\n\t\t\n\t\n\t<!-- Products list -->\n\t<ul class=\"product_list grid row\">\n\t\t\t\n\t\t\n\t\t\n\t\t\t\t\t\t\t\t<li class=\"ajax_block_product col-xs-12 col-sm-6 col-md-4 first-in-line last-line first-item-of-tablet-line first-item-of-mobile-line last-mobile-line\">\n\t\t\t<div class=\"product-container\" itemscope itemtype=\"http:\/\/schema.org\/Product\">\n\t\t\t\t<div class=\"left-block\">\n\t\t\t\t\t<div class=\"product-image-container\">\n\t\t\t\t\t\t<a class=\"product_img_link\" href=\"http:\/\/localhost\/ps1610\/en\/casual-dresses\/3-printed-dress.html\" title=\"Printed Dress\" itemprop=\"url\">\n\t\t\t\t\t\t\t<img class=\"replace-2x img-responsive\" src=\"http:\/\/localhost\/ps1610\/8-home_default\/printed-dress.jpg\" alt=\"Printed Dress\" title=\"Printed Dress\" width=\"250\" height=\"250\" itemprop=\"image\" \/>\n\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"quick-view-wrapper-mobile\">\n\t\t\t\t\t\t\t<a class=\"quick-view-mobile\" href=\"http:\/\/localhost\/ps1610\/en\/casual-dresses\/3-printed-dress.html\" rel=\"http:\/\/localhost\/ps1610\/en\/casual-dresses\/3-printed-dress.html\">\n\t\t\t\t\t\t\t\t<i class=\"icon-eye-open\"><\/i>\n\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<a class=\"quick-view\" href=\"http:\/\/localhost\/ps1610\/en\/casual-dresses\/3-printed-dress.html\" rel=\"http:\/\/localhost\/ps1610\/en\/casual-dresses\/3-printed-dress.html\">\n\t\t\t\t\t\t\t<span>Quick view<\/span>\n\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"content_price\" itemprop=\"offers\" itemscope itemtype=\"http:\/\/schema.org\/Offer\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span itemprop=\"price\" class=\"price product-price\">\n \n\t\t\t\t\t\t\t\t\t\t29,12 $\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t<meta itemprop=\"priceCurrency\" content=\"VEF\" \/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"unvisible\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<link itemprop=\"availability\" href=\"http:\/\/schema.org\/InStock\" \/>In stock\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"right-block\">\n\t\t\t\t\t<h5 itemprop=\"name\">\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"product-name\" href=\"http:\/\/localhost\/ps1610\/en\/casual-dresses\/3-printed-dress.html\" title=\"Printed Dress\" itemprop=\"url\" >\n\t\t\t\t\t\t\tPrinted Dress\n\t\t\t\t\t\t<\/a>\n\t\t\t\t\t<\/h5>\n\t\t\t\t\t\n\t\t\t\t\t<p class=\"product-desc\" itemprop=\"description\">\n\t\t\t\t\t\t100% cotton double printed dress. Black and white striped top and orange high waisted skater skirt bottom.\n\t\t\t\t\t<\/p>\n\t\t\t\t\t\t\t\t\t\t<div class=\"content_price\">\n\t\t\t\t\t\t \n\t\t\t\t\t\t\t<span class=\"price product-price\">\n\t\t\t\t\t\t\t\t29,12 $\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n  \n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t<div class=\"button-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"quick-view boton btn btn-default\" href=\"http:\/\/localhost\/ps1610\/en\/casual-dresses\/3-printed-dress.html\" rel=\"http:\/\/localhost\/ps1610\/en\/casual-dresses\/3-printed-dress.html\">\n\t\t\t\t\t\t\t\t<span>Quick Buy<\/span>\n\t\t\t\t\t\t\t\t<\/a>\n<!---->\n\t\t\t\t\t\t\t\t<a class=\"button ajax_add_to_cart_button btn btn-default\" href=\"http:\/\/localhost\/ps1610\/en\/cart?add=1&id_product=3&token=9c2bcf7a8abd251b249ed9ae5501c646\" rel=\"nofollow\" title=\"Add to cart\" data-id-product=\"3\" data-minimal_quantity=\"1\">\n\t\t\t\t\t\t\t\t\t<span>Add to cart<\/span>\n\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!--<a class=\"button lnk_view btn btn-default\" href=\"http:\/\/localhost\/ps1610\/en\/casual-dresses\/3-printed-dress.html\" title=\"View\">\n\t\t\t\t\t\t\t<span>More<\/span>\n\t\t\t\t\t\t<\/a>-->\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"color-list-container\"><\/div>\n\t\t\t\t\t\t\t\t\t\t<div class=\"product-flags\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"availability\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\" label-success\">\n\t\t\t\t\t\t\t\t\t\tIn stock\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t \t\t\t\t<div class=\"functional-buttons clearfix\">\n\t\t\t\t\t\t\n<div class=\"wishlist\">\n\t<a class=\"addToWishlist wishlistProd_3\" href=\"#\" rel=\"3\" onclick=\"WishlistCart('wishlist_block_list', 'add', '3', false, 1); return false;\">\n\t\tAdd to Wishlist\n\t<\/a>\n<\/div>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"compare\">\n\t\t\t\t\t\t\t\t<a class=\"add_to_compare\" href=\"http:\/\/localhost\/ps1610\/en\/casual-dresses\/3-printed-dress.html\" data-id-product=\"3\">Add to Compare<\/a>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<\/div><!-- .product-container> -->\n\t\t<\/li>\n\t\t\t\n\t\t\n\t\t\n\t\t\t\t\t\t\t\t<li class=\"ajax_block_product col-xs-12 col-sm-6 col-md-4 last-line last-item-of-tablet-line last-mobile-line\">\n\t\t\t<div class=\"product-container\" itemscope itemtype=\"http:\/\/schema.org\/Product\">\n\t\t\t\t<div class=\"left-block\">\n\t\t\t\t\t<div class=\"product-image-container\">\n\t\t\t\t\t\t<a class=\"product_img_link\" href=\"http:\/\/localhost\/ps1610\/en\/evening-dresses\/4-printed-dress.html\" title=\"Printed Dress\" itemprop=\"url\">\n\t\t\t\t\t\t\t<img class=\"replace-2x img-responsive\" src=\"http:\/\/localhost\/ps1610\/10-home_default\/printed-dress.jpg\" alt=\"Printed Dress\" title=\"Printed Dress\" width=\"250\" height=\"250\" itemprop=\"image\" \/>\n\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"quick-view-wrapper-mobile\">\n\t\t\t\t\t\t\t<a class=\"quick-view-mobile\" href=\"http:\/\/localhost\/ps1610\/en\/evening-dresses\/4-printed-dress.html\" rel=\"http:\/\/localhost\/ps1610\/en\/evening-dresses\/4-printed-dress.html\">\n\t\t\t\t\t\t\t\t<i class=\"icon-eye-open\"><\/i>\n\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<a class=\"quick-view\" href=\"http:\/\/localhost\/ps1610\/en\/evening-dresses\/4-printed-dress.html\" rel=\"http:\/\/localhost\/ps1610\/en\/evening-dresses\/4-printed-dress.html\">\n\t\t\t\t\t\t\t<span>Quick view<\/span>\n\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"content_price\" itemprop=\"offers\" itemscope itemtype=\"http:\/\/schema.org\/Offer\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span itemprop=\"price\" class=\"price product-price\">\n \n\t\t\t\t\t\t\t\t\t\t57,11 $\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t<meta itemprop=\"priceCurrency\" content=\"VEF\" \/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"unvisible\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<link itemprop=\"availability\" href=\"http:\/\/schema.org\/InStock\" \/>In stock\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"right-block\">\n\t\t\t\t\t<h5 itemprop=\"name\">\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"product-name\" href=\"http:\/\/localhost\/ps1610\/en\/evening-dresses\/4-printed-dress.html\" title=\"Printed Dress\" itemprop=\"url\" >\n\t\t\t\t\t\t\tPrinted Dress\n\t\t\t\t\t\t<\/a>\n\t\t\t\t\t<\/h5>\n\t\t\t\t\t\n\t\t\t\t\t<p class=\"product-desc\" itemprop=\"description\">\n\t\t\t\t\t\tPrinted evening dress with straight sleeves with black thin waist belt and ruffled linings.\n\t\t\t\t\t<\/p>\n\t\t\t\t\t\t\t\t\t\t<div class=\"content_price\">\n\t\t\t\t\t\t \n\t\t\t\t\t\t\t<span class=\"price product-price\">\n\t\t\t\t\t\t\t\t57,11 $\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n  \n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t<div class=\"button-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"quick-view boton btn btn-default\" href=\"http:\/\/localhost\/ps1610\/en\/evening-dresses\/4-printed-dress.html\" rel=\"http:\/\/localhost\/ps1610\/en\/evening-dresses\/4-printed-dress.html\">\n\t\t\t\t\t\t\t\t<span>Quick Buy<\/span>\n\t\t\t\t\t\t\t\t<\/a>\n<!---->\n\t\t\t\t\t\t\t\t<a class=\"button ajax_add_to_cart_button btn btn-default\" href=\"http:\/\/localhost\/ps1610\/en\/cart?add=1&id_product=4&token=9c2bcf7a8abd251b249ed9ae5501c646\" rel=\"nofollow\" title=\"Add to cart\" data-id-product=\"4\" data-minimal_quantity=\"1\">\n\t\t\t\t\t\t\t\t\t<span>Add to cart<\/span>\n\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!--<a class=\"button lnk_view btn btn-default\" href=\"http:\/\/localhost\/ps1610\/en\/evening-dresses\/4-printed-dress.html\" title=\"View\">\n\t\t\t\t\t\t\t<span>More<\/span>\n\t\t\t\t\t\t<\/a>-->\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"color-list-container\"><\/div>\n\t\t\t\t\t\t\t\t\t\t<div class=\"product-flags\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"availability\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\" label-success\">\n\t\t\t\t\t\t\t\t\t\tIn stock\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t \t\t\t\t<div class=\"functional-buttons clearfix\">\n\t\t\t\t\t\t\n<div class=\"wishlist\">\n\t<a class=\"addToWishlist wishlistProd_4\" href=\"#\" rel=\"4\" onclick=\"WishlistCart('wishlist_block_list', 'add', '4', false, 1); return false;\">\n\t\tAdd to Wishlist\n\t<\/a>\n<\/div>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"compare\">\n\t\t\t\t\t\t\t\t<a class=\"add_to_compare\" href=\"http:\/\/localhost\/ps1610\/en\/evening-dresses\/4-printed-dress.html\" data-id-product=\"4\">Add to Compare<\/a>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<\/div><!-- .product-container> -->\n\t\t<\/li>\n\t\t<\/ul>\n\n\n\n\n","pagination":"\n\t\n\t\t\t\t\t\t\t\t\t\t\t\t<!-- Pagination -->\n\t<div id=\"pagination\" class=\"pagination clearfix\">\n\t \t\t\t<form class=\"showall\" action=\"http:\/\/localhost\/ps1610\/en\/index.php?controller=category\" method=\"get\">\n\t\t\t\t<div>\n\t\t\t\t\t\t\t\t\t\t\t <button type=\"submit\" class=\"btn btn-default button exclusive-medium\">\n\t \t<span>Show all<\/span>\n\t <\/button>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"id_category_layered\" value=\"3\" \/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"layered_price_slider\" value=\"16_57\" \/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"orderby\" value=\"position\" \/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"orderway\" value=\"asc\" \/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"_\" value=\"1441252964608\" \/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t <input name=\"n\" id=\"nb_item\" class=\"hidden\" value=\"7\" \/>\n\t\t\t\t<\/div>\n\t\t\t<\/form>\n\t\t\t\t\t\t\t<ul class=\"pagination\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li id=\"pagination_previous\" class=\"pagination_previous\">\n\t\t\t\t\t\t<a rel=\"nofollow\" href=\"http:\/\/localhost\/ps1610\/en\/index.php?controller=category&id_category_layered=3&layered_price_slider=16_57&orderby=position&orderway=asc&n=2&_=1441252964608\" rel=\"prev\">\n\t\t\t\t\t\t\t<i class=\"icon-chevron-left\"><\/i> <b>Previous<\/b>\n\t\t\t\t\t\t<\/a>\n\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t<a rel=\"nofollow\" href=\"http:\/\/localhost\/ps1610\/en\/index.php?controller=category&id_category_layered=3&layered_price_slider=16_57&orderby=position&orderway=asc&n=2&_=1441252964608\">\n\t\t\t\t\t\t\t\t<span>1<\/span>\n\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"active current\">\n\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\t<span>2<\/span>\n\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t<a rel=\"nofollow\" href=\"http:\/\/localhost\/ps1610\/en\/index.php?controller=category&id_category_layered=3&layered_price_slider=16_57&orderby=position&orderway=asc&n=2&_=1441252964608&p=3\">\n\t\t\t\t\t\t\t\t<span>3<\/span>\n\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t<a rel=\"nofollow\" href=\"http:\/\/localhost\/ps1610\/en\/index.php?controller=category&id_category_layered=3&layered_price_slider=16_57&orderby=position&orderway=asc&n=2&_=1441252964608&p=4\">\n\t\t\t\t\t\t\t\t<span>4<\/span>\n\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li id=\"pagination_next\" class=\"pagination_next\">\n\t\t\t\t\t\t<a rel=\"nofollow\" href=\"http:\/\/localhost\/ps1610\/en\/index.php?controller=category&id_category_layered=3&layered_price_slider=16_57&orderby=position&orderway=asc&n=2&_=1441252964608&p=3\" rel=\"next\">\n\t\t\t\t\t\t\t<b>Next<\/b> <i class=\"icon-chevron-right\"><\/i>\n\t\t\t\t\t\t<\/a>\n\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t<\/ul>\n\t\t\t<\/div>\n <div class=\"product-count\">\n \t \t\t  \t \tShowing 3 - 4 of 7 items\n\t\t <\/div>\n\t<!-- \/Pagination -->\n","categoryCount":"<span class=\"heading-counter\">There are 7 products.<\/span>\n","meta_title":"Women - test","heading":"Women","meta_keywords":null,"meta_description":"","current_friendly_url":"#\/page-2","filters":[{"type_lite":"category","type":"category","id_key":0,"name":"Categories","values":{"4":{"name":"Tops","nbr":2,"link":"http:\/\/localhost\/ps1610\/en\/3-women#categories-tops","rel":"nofollow"},"8":{"name":"Dresses","nbr":5,"link":"http:\/\/localhost\/ps1610\/en\/3-women#categories-dresses","rel":"nofollow"[spam-filter],"filter_show_limit":"0","filter_type":"0"},{"type_lite":"id_attribute_group","type":"id_attribute_group","id_key":1,"name":"Size","is_color_group":false,"values":{"1":{"color":"","name":"S","nbr":7,"url_name":null,"meta_title":null,"link":"http:\/\/localhost\/ps1610\/en\/3-women#size-s","rel":""},"2":{"color":"","name":"M","nbr":7,"url_name":null,"meta_title":null,"link":"http:\/\/localhost\/ps1610\/en\/3-women#size-m","rel":""},"3":{"color":"","name":"L","nbr":7,"url_name":null,"meta_title":null,"link":"http:\/\/localhost\/ps1610\/en\/3-women#size-l","rel":""[spam-filter],"url_name":null,"meta_title":null,"filter_show_limit":"0","filter_type":"0"},{"type_lite":"id_attribute_group","type":"id_attribute_group","id_key":3,"name":"Color","is_color_group":false,"values":{"7":{"color":"#f5f5dc","name":"Beige","nbr":1,"url_name":null,"meta_title":null,"link":"http:\/\/localhost\/ps1610\/en\/3-women#color-beige","rel":""},"8":{"color":"#ffffff","name":"White","nbr":2,"url_name":null,"meta_title":null,"link":"http:\/\/localhost\/ps1610\/en\/3-women#color-white","rel":""},"11":{"color":"#434A54","name":"Black","nbr":2,"url_name":null,"meta_title":null,"link":"http:\/\/localhost\/ps1610\/en\/3-women#color-black","rel":""},"13":{"color":"#F39C11","name":"Orange","nbr":3,"url_name":null,"meta_title":null,"link":"http:\/\/localhost\/ps1610\/en\/3-women#color-orange","rel":""},"14":{"color":"#5D9CEC","name":"Blue","nbr":2,"url_name":null,"meta_title":null,"link":"http:\/\/localhost\/ps1610\/en\/3-women#color-blue","rel":""},"15":{"color":"#A0D468","name":"Green","nbr":1,"url_name":null,"meta_title":null,"link":"http:\/\/localhost\/ps1610\/en\/3-women#color-green","rel":""},"16":{"color":"#F1C40F","name":"Yellow","nbr":3,"url_name":null,"meta_title":null,"link":"http:\/\/localhost\/ps1610\/en\/3-women#color-yellow","rel":""},"24":{"color":"#FCCACD","name":"Pink","nbr":1,"url_name":null,"meta_title":null,"link":"http:\/\/localhost\/ps1610\/en\/3-women#color-pink","rel":""[spam-filter],"url_name":"color","meta_title":"","filter_show_limit":"0","filter_type":"0"},{"type_lite":"id_feature","type":"id_feature","id_key":5,"values":{"5":{"nbr":3,"name":"Cotton","url_name":null,"meta_title":null,"link":"http:\/\/localhost\/ps1610\/en\/3-women#compositions-cotton","rel":""},"1":{"nbr":2,"name":"Polyester","url_name":null,"meta_title":null,"link":"http:\/\/localhost\/ps1610\/en\/3-women#compositions-polyester","rel":""},"3":{"nbr":2,"name":"Viscose","url_name":null,"meta_title":null,"link":"http:\/\/localhost\/ps1610\/en\/3-women#compositions-viscose","rel":""[spam-filter],"name":"Compositions","url_name":null,"meta_title":null,"filter_show_limit":"0","filter_type":"0"},{"type_lite":"id_feature","type":"id_feature","id_key":7,"values":{"18":{"nbr":1,"name":"Colorful Dress","url_name":null,"meta_title":null,"link":"http:\/\/localhost\/ps1610\/en\/3-women#properties-colorful_dress","rel":""},"21":{"nbr":1,"name":"Maxi Dress","url_name":null,"meta_title":null,"link":"http:\/\/localhost\/ps1610\/en\/3-women#properties-maxi_dress","rel":""},"20":{"nbr":1,"name":"Midi Dress","url_name":null,"meta_title":null,"link":"http:\/\/localhost\/ps1610\/en\/3-women#properties-midi_dress","rel":""},"19":{"nbr":2,"name":"Short Dress","url_name":null,"meta_title":null,"link":"http:\/\/localhost\/ps1610\/en\/3-women#properties-short_dress","rel":""},"17":{"nbr":2,"name":"Short Sleeve","url_name":null,"meta_title":null,"link":"http:\/\/localhost\/ps1610\/en\/3-women#properties-short_sleeve","rel":""[spam-filter],"name":"Properties","url_name":null,"meta_title":null,"filter_show_limit":"0","filter_type":"0"},{"type_lite":"id_feature","type":"id_feature","id_key":6,"values":{"11":{"nbr":3,"name":"Casual","url_name":null,"meta_title":null,"link":"http:\/\/localhost\/ps1610\/en\/3-women#styles-casual","rel":""},"16":{"nbr":1,"name":"Dressy","url_name":null,"meta_title":null,"link":"http:\/\/localhost\/ps1610\/en\/3-women#styles-dressy","rel":""},"13":{"nbr":3,"name":"Girly","url_name":null,"meta_title":null,"link":"http:\/\/localhost\/ps1610\/en\/3-women#styles-girly","rel":""[spam-filter],"name":"Styles","url_name":null,"meta_title":null,"filter_show_limit":"0","filter_type":"0"},{"type_lite":"quantity","type":"quantity","id_key":0,"name":"Availability","values":[{"name":"Not available","nbr":0,"link":"http:\/\/localhost\/ps1610\/en\/3-women#availability-not_available","rel":"nofollow"},{"name":"In stock","nbr":7,"link":"http:\/\/localhost\/ps1610\/en\/3-women#availability-in_stock","rel":"nofollow"}],"filter_show_limit":"0","filter_type":"0"},{"type_lite":"manufacturer","type":"manufacturer","id_key":0,"name":"Manufacturer","values":{"1":{"name":"Fashion Manufacturer","nbr":"7","link":"http:\/\/localhost\/ps1610\/en\/3-women#manufacturer-fashion_manufacturer","rel":"nofollow"[spam-filter],"filter_show_limit":"0","filter_type":"0"},{"type_lite":"condition","type":"condition","id_key":0,"name":"Condition","values":{"new":{"name":"New","nbr":7,"link":"http:\/\/localhost\/ps1610\/en\/3-women#condition-new","rel":"nofollow"},"used":{"name":"Used","nbr":0,"link":"http:\/\/localhost\/ps1610\/en\/3-women#condition-used","rel":"nofollow"},"refurbished":{"name":"Refurbished","nbr":0,"link":"http:\/\/localhost\/ps1610\/en\/3-women#condition-refurbished","rel":"nofollow"[spam-filter],"filter_show_limit":"0","filter_type":"0"},{"type_lite":"price","type":"price","id_key":0,"name":"Price","slider":true,"max":"57","min":"16","values":{"1":"57","0":"16"},"unit":"$","format":"2","filter_show_limit":"0","filter_type":"0"}],"nbRenderedProducts":7,"nbAskedProducts":2,"pagination_bottom":"\n\t\n\t\t\t\t\t\t\t\t\t\t\t\t<!-- Pagination -->\n\t<div id=\"pagination_bottom\" class=\"pagination clearfix\">\n\t \t\t\t<form class=\"showall\" action=\"http:\/\/localhost\/ps1610\/en\/index.php?controller=category\" method=\"get\">\n\t\t\t\t<div>\n\t\t\t\t\t\t\t\t\t\t\t <button type=\"submit\" class=\"btn btn-default button exclusive-medium\">\n\t \t<span>Show all<\/span>\n\t <\/button>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"id_category_layered\" value=\"3\" \/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"layered_price_slider\" value=\"16_57\" \/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"orderby\" value=\"position\" \/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"orderway\" value=\"asc\" \/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"_\" value=\"1441252964608\" \/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t <input name=\"n\" id=\"nb_item\" class=\"hidden\" value=\"7\" \/>\n\t\t\t\t<\/div>\n\t\t\t<\/form>\n\t\t\t\t\t\t\t<ul class=\"pagination\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li id=\"pagination_previous_bottom\" class=\"pagination_previous\">\n\t\t\t\t\t\t<a rel=\"nofollow\" href=\"http:\/\/localhost\/ps1610\/en\/index.php?controller=category&id_category_layered=3&layered_price_slider=16_57&orderby=position&orderway=asc&n=2&_=1441252964608\" rel=\"prev\">\n\t\t\t\t\t\t\t<i class=\"icon-chevron-left\"><\/i> <b>Previous<\/b>\n\t\t\t\t\t\t<\/a>\n\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t<a rel=\"nofollow\" href=\"http:\/\/localhost\/ps1610\/en\/index.php?controller=category&id_category_layered=3&layered_price_slider=16_57&orderby=position&orderway=asc&n=2&_=1441252964608\">\n\t\t\t\t\t\t\t\t<span>1<\/span>\n\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"active current\">\n\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\t<span>2<\/span>\n\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t<a rel=\"nofollow\" href=\"http:\/\/localhost\/ps1610\/en\/index.php?controller=category&id_category_layered=3&layered_price_slider=16_57&orderby=position&orderway=asc&n=2&_=1441252964608&p=3\">\n\t\t\t\t\t\t\t\t<span>3<\/span>\n\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t<a rel=\"nofollow\" href=\"http:\/\/localhost\/ps1610\/en\/index.php?controller=category&id_category_layered=3&layered_price_slider=16_57&orderby=position&orderway=asc&n=2&_=1441252964608&p=4\">\n\t\t\t\t\t\t\t\t<span>4<\/span>\n\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li id=\"pagination_next_bottom\" class=\"pagination_next\">\n\t\t\t\t\t\t<a rel=\"nofollow\" href=\"http:\/\/localhost\/ps1610\/en\/index.php?controller=category&id_category_layered=3&layered_price_slider=16_57&orderby=position&orderway=asc&n=2&_=1441252964608&p=3\" rel=\"next\">\n\t\t\t\t\t\t\t<b>Next<\/b> <i class=\"icon-chevron-right\"><\/i>\n\t\t\t\t\t\t<\/a>\n\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t<\/ul>\n\t\t\t<\/div>\n <div class=\"product-count\">\n \t \t\t \t  \tShowing 3 - 4 of 7 items\n\t\t <\/div>\n\t<!-- \/Pagination -->\n"}

result

 

post-341341-0-70905800-1441254142_thumb.jpg

Link to comment
Share on other sites

  • 3 years later...

I know the thread is a bit old but I am talking for version 1.7 (nowadays) and the similar issue I had. If you want to return template.

First, you assign the variables (if any)

Then you echo the template (not with the 'module:' technique, but wit the old fashioned _PS_MODULE_DIR_) NO JSON ENCODE!!

Then you just die!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...