вызываю вот так

 <div class="form-group">
                    	<a href="../[[~18]]" class="shk-but btn btn-danger" role="button" id="wishL" onclick="return shkCompare.toCompareLink();">В WishList</a>	
                    	<input type="checkbox" name="compare" id="compare[[*id]]" value="1" onclick="return shkCompare.toCompare([[*id]],[[+parent]],this)" [[*id:in_compare=`checked="checked"`]] />
                    	<label for="compare[[*id]]">Сравнить</label>
              </div>
          </div>


на страницу избранного вставляю такой код

[[!getProducts?
&resources=`[[!compare?action=`print_id_list`]]`
]]


получаю просто массив

Array
(
    [idx] => 0
    [num] => 1
    [first] => 1
    [last] => 1
    [odd] => 1
    [activeClass] => 
    [active] => 0
    [activeParent_snippet] => 
    [id] => 8
    [type] => document
    [contentType] => text/html
    [pagetitle] => Сумки
    [longtitle] => 
    [description] => 
    [alias] => bags
    [link_attributes] => 
    [published] => 1
    [pub_date] => 0
    [unpub_date] => 0
    [parent] => 24
    [isfolder] => 1
    [introtext] => 
    [content] =>