Вывод элементов из определенной группы на странице товара

#
Вывод элементов из определенной группы на странице товара
В xml при нахождении на странице товара есть группы и текущий элемент.
Нужно помимо текущего элемента в итоговый html вывести элементы из определенной группы например id=7
Группы уже есть но как бы раскрыть дерево одной  из этих групп..

Как это лучше сделать?
Спасибо
ку
#
Re: Вывод элементов из определенной группы на странице товара
Сделал вот так в типовой магазина, самый конец:

else
   {
      /* Вывод конкретного элемент */
      //$param['show_catalog_item_type'] = array('active', 'inactive');

    ob_start();


      $shop->ShowShop($current_shop_id, $xsl_catalog, array('current_group_id' => 7), false, $external_propertys);

$external_propertys['group'] = ob_get_clean();

  /* Вывод конкретного элемент */
      $shop->ShowItem($GLOBALS['shop_item_path']['item'], $xsl_item, $param, $external_propertys);
}


Кошерно ли так. И еще в xml в дереве <group></group> то что я передал все в сущностях


...
images/new_window.gif&quot; /&gt;&lt;b&gt;0.008 с&lt;/b&gt;, размер XML &lt;b&gt;17 150 байт&lt;/b&gt;. &lt;/div&gt;&lt;div class=&quot;hostcms_float_block_drag_block&quot; name=&quot;hostcms_float_block_drag_block&quot; onMouseDown=&quot;new Draggable(this.parentNode);&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;h1 class=&quot;title&quot;&gt;Варианты фасадов&lt;/h1&gt;
   &lt;form method=&quot;get&quot; action=&quot;/modulnie-systemi/tsvetovye_reshenija_fasadov/&quot;&gt;&lt;div class=&quot;gallery_item inline&quot;&gt;&lt;a href=&quot;/upload/shop_2/1/6/2/item_162/shop_items_catalog_image162.jpg&quot; class=&quot;thickbox&quot; rel=&quot;gallery-plants&quot; title=&quot;Дуб&quot;&gt;&lt;img src=&quot;/upload/shop_2/1/6/2/item_162/small_shop_items_catalog_image162.jpg&quot; alt=&quot;Дуб&quot; /&gt;&lt;/a&gt;Дуб&lt;/div&gt;&lt;div class=&quot;gallery_item inline&quot;&gt;&lt;a href=&quot;/upload/shop_2/1/6/3/item_163/shop_items_catalog_image163.jpg&quot; class=&quot;thickbox&quot; rel=&quot;gallery-plants&quot; title=&quot;Груша&quot;&gt;&lt;img src=&quot;/upload/shop_2/1/6/3/item_163/small_shop_items_catalog_image163.jpg&quot; alt=&quot;Груша&quot; /&gt;&lt;/a&gt;Груша&lt;/div&gt;&lt;div class=&quot;gallery_item inline&quot;&gt;&lt;a href=&quot;/upload/shop_2/1/6/4/item_164/shop_items_catalog_image164.jpg&quot; class=&quot;thickbox&quot; rel=&quot;gallery-plants&quot; title=&q
...
ку
#
Re: Вывод элементов из определенной группы на странице товара
Не туда зарулил вот так делаю:


else
   {
      /* Вывод конкретного элемент */
      //$param['show_catalog_item_type'] = array('active', 'inactive');

ob_start();

$shop_id = 2;
$group_id = 7;

$row = $shop->GetAllItems($shop_id, $group_id, $param);

print_r($row);

// $external_propertys['content'] = $row = ob_get_clean(); ????

      /* Вывод конкретного элемент */
      $shop->ShowItem($GLOBALS['shop_item_path']['item'], $xsl_item, $param, $external_propertys);
   }



Распечатка дает что хочу но с буфером туплю - как правильно его во внешние передать?
Я закомментировал кусок выше, просто и так и так уже пробую - что-то пустое дерево <content></content> в xml получается
ку
Модератор
#
Re: Вывод элементов из определенной группы на странице товара
compaq,
Вполне кошерно.
передать
$external_propertys['content'] = ob_get_clean();
compaq писал(а):
И еще в xml в дереве <group></group> то что я передал все в сущностях
Вы передавайте уже готовый HTML, который в XSL просто выведите на отображение. В XML он будет в виде сущностей, это правильно.
#
Re: Вывод элементов из определенной группы на странице товара
Не получается - xml не попадают данные, подскажите в чем ошибка?

else
   {
      /* Вывод конкретного элемент */
      //$param['show_catalog_item_type'] = array('active', 'inactive');

ob_start();

$shop_id = 2;
$group_id = 7;

$shop->GetAllItems($shop_id, $group_id, $param);

$external_propertys['content'] = ob_get_clean();




      /* Вывод конкретного элемент */
      $shop->ShowItem($GLOBALS['shop_item_path']['item'], $xsl_item, $param, $external_propertys);
   }




<?xml version="1.0" encoding="windows-1251"?>
<shop id="2" current_group_id="18">
   <user_id>0</user_id>
   <content></content>
   <name>Каталог</name>
   <description></description>
   <path>/modulnie-systemi/</path>
   <site_id>1</site_id>
   <shop_image_small_max_width>250</shop_image_small_max_width>
   <shop_image_big_max_width>700</shop_image_big_max_width>
   <shop_image_small_max_height>250</shop_image_small_max_height>
   <shop_image_big_max_height>700</shop_image_big_max_height>
   <structure_id>74</structure_id>
   <shop_country_id>175</shop_country_id>
...
ку
#
Re: Вывод элементов из определенной группы на странице товара
Вот так попадает но появляется ошибка в xml на клиенте




else
   {
      /* Вывод конкретного элемент */
      //$param['show_catalog_item_type'] = array('active', 'inactive');

ob_start();

$shop_id = 2;
$group_id = 7;

$group_color = $shop->GetAllItems($shop_id, $group_id, $param);

$external_propertys['content'] = $group_color;
$group_color = ob_get_clean();




      /* Вывод конкретного элемент */
      $shop->ShowItem($GLOBALS['shop_item_path']['item'], $xsl_item, $param, $external_propertys);
   }



xml



<?xml version="1.0" encoding="windows-1251"?>
<shop id="2" current_group_id="18">
   <user_id>0</user_id>
   <content><1><shop_items_catalog_item_id>163</shop_items_catalog_item_id>
         <shop_items_catalog_shortcut_id>0</shop_items_catalog_shortcut_id>
         <shop_tax_id>0</shop_tax_id>
         <shop_sallers_id>0</shop_sallers_id>
         <shop_groups_id>7</shop_groups_id>
         <shop_currency_id>2</shop_currency_id>
         <shop_shops_id>2</shop_shops_id>
         <shop_producers_list_id>0</shop_producers_list_id>
         <shop_mesures_id>0</shop_mesures_id>
         <shop_items_catalog_type>0</shop_items_catalog_type>
         <shop_items_catalog_name>Груша</shop_items_catalog_name>
         <shop_items_catalog_marking></shop_items_catalog_marking>
         <shop_vendorcode></shop_vendorcode>
         <shop_items_catalog_description></shop_items_catalog_description>
         <shop_items_catalog_text></shop_items_catalog_text>
         <shop_items_catalog_image>shop_items_catalog_image163.jpg</shop_items_catalog_image>
         <shop_items_catalog_small_image>small_shop_items_catalog_image163.jpg</shop_items_catalog_small_image>
         <shop_items_catalog_weight>0.000</shop_items_catalog_weight>
         <shop_items_catalog_rest>1</shop_items_catalog_rest>
         <shop_items_catalog_price>0.00</shop_items_catalog_price>
         <shop_items_catalog_is_active>1</shop_items_catalog_is_active>
         <shop_items_catalog_access>-1</shop_items_catalog_access>
         <shop_items_catalog_order>10</shop_items_catalog_order>
         <shop_items_catalog_path>grusha</shop_items_catalog_path>
         <shop_items_catalog_seo_title></shop_items_catalog_seo_title>
         <shop_items_catalog_seo_description></shop_items_catalog_seo_description>
         <shop_items_catalog_seo_keywords></shop_items_catalog_seo_keywords>
         <shop_items_catalog_indexation>1</shop_items_catalog_indexation>
         <shop_items_catalog_small_image_height>100</shop_items_catalog_small_image_height>
         <shop_items_catalog_small_image_width>100</shop_items_catalog_small_image_width>
         <shop_items_catalog_big_image_height>100</shop_items_catalog_big_image_height>
         <shop_items_catalog_big_image_width>100</shop_items_catalog_big_image_width>
         <shop_items_catalog_yandex_market_allow>1</shop_items_catalog_yandex_market_allow>
         <shop_items_catalog_rambler_pokupki_allow>1</shop_items_catalog_rambler_pokupki_allow>
         <shop_items_catalog_yandex_market_bid>0</shop_items_catalog_yandex_market_bid>
         <shop_items_catalog_yandex_market_cid>0</shop_items_catalog_yandex_market_cid>
         <shop_items_catalog_yandex_market_sales_notes></shop_items_catalog_yandex_market_sales_notes>
         <users_id>19</users_id>
         <site_users_id>0</site_users_id>
         <shop_items_catalog_date_time>2010-05-05 09:08:30</shop_items_catalog_date_time>
         <shop_items_catalog_modification_id>0</shop_items_catalog_modification_id>
         <shop_items_cml_id>072E71A0-F652-D440-FD3B-269773300379</shop_items_cml_id>
         <shop_items_catalog_putoff_date>2010-05-05 09:08:30</shop_items_catalog_putoff_date>
         <shop_items_catalog_putend_date>0000-00-00 00:00:00</shop_items_catalog_putend_date>
         <shop_items_catalog_show_count>0</shop_items_catalog_show_count>

      </1>
      <2><shop_items_catalog_item_id>164</shop_items_catalog_item_id>
         <shop_items_catalog_shortcut_id>0</shop_items_catalog_shortcut_id>
         <shop_tax_id>0</shop_tax_id>
         <shop_sallers_id>0</shop_sallers_id>
         <shop_groups_id>7</shop_groups_id>
         <shop_currency_id>2</shop_currency_id>
         <shop_shops_id>2</shop_shops_id>
         <shop_producers_list_id>0</shop_producers_list_id>
         <shop_mesures_id>0</shop_mesures_id>
         <shop_items_catalog_type>0</shop_items_catalog_type>
         <shop_items_catalog_name>Береза</shop_items_catalog_name>
         <shop_items_catalog_marking></shop_items_catalog_marking>
         <shop_vendorcode></shop_vendorcode>
         <shop_items_catalog_description></shop_items_catalog_description>
         <shop_items_catalog_text></shop_items_catalog_text>
         <shop_items_catalog_image>shop_items_catalog_image164.jpg</shop_items_catalog_image>
         <shop_items_catalog_small_image>small_shop_items_catalog_image164.jpg</shop_items_catalog_small_image>
         <shop_items_catalog_weight>0.000</shop_items_catalog_weight>
         <shop_items_catalog_rest>1</shop_items_catalog_rest>
         <shop_items_catalog_price>0.00</shop_items_catalog_price>
         <shop_items_catalog_is_active>1</shop_items_catalog_is_active>
         <shop_items_catalog_access>-1</shop_items_catalog_access>
         <shop_items_catalog_order>20</shop_items_catalog_order>
         <shop_items_catalog_path>bereza</shop_items_catalog_path>
         <shop_items_catalog_seo_title></shop_items_catalog_seo_title>
         <shop_items_catalog_seo_description></shop_items_catalog_seo_description>
         <shop_items_catalog_seo_keywords></shop_items_catalog_seo_keywords>
         <shop_items_catalog_indexation>1</shop_items_catalog_indexation>
         <shop_items_catalog_small_image_height>100</shop_items_catalog_small_image_height>
         <shop_items_catalog_small_image_width>100</shop_items_catalog_small_image_width>
         <shop_items_catalog_big_image_height>100</shop_items_catalog_big_image_height>
         <shop_items_catalog_big_image_width>100</shop_items_catalog_big_image_width>
         <shop_items_catalog_yandex_market_allow>1</shop_items_catalog_yandex_market_allow>
         <shop_items_catalog_rambler_pokupki_allow>1</shop_items_catalog_rambler_pokupki_allow>
         <shop_items_catalog_yandex_market_bid>0</shop_items_catalog_yandex_market_bid>
         <shop_items_catalog_yandex_market_cid>0</shop_items_catalog_yandex_market_cid>
         <shop_items_catalog_yandex_market_sales_notes></shop_items_catalog_yandex_market_sales_notes>
         <users_id>19</users_id>
         <site_users_id>0</site_users_id>
         <shop_items_catalog_date_time>2010-05-05 09:08:57</shop_items_catalog_date_time>
         <shop_items_catalog_modification_id>0</shop_items_catalog_modification_id>
         <shop_items_cml_id>255B34B8-8B84-4E69-8C8F-9CA0B24EABE3</shop_items_cml_id>
         <shop_items_catalog_putoff_date>2010-05-05 09:08:57</shop_items_catalog_putoff_date>
         <shop_items_catalog_putend_date>0000-00-00 00:00:00</shop_items_catalog_putend_date>
         <shop_items_catalog_show_count>0</shop_items_catalog_show_count>

      </2>
      <3><shop_items_catalog_item_id>165</shop_items_catalog_item_id>
         <shop_items_catalog_shortcut_id>0</shop_items_catalog_shortcut_id>
         <shop_tax_id>0</shop_tax_id>
         <shop_sallers_id>0</shop_sallers_id>
         <shop_groups_id>7</shop_groups_id>
         <shop_currency_id>2</shop_currency_id>
         <shop_shops_id>2</shop_shops_id>
         <shop_producers_list_id>0</shop_producers_list_id>
         <shop_mesures_id>0</shop_mesures_id>
         <shop_items_catalog_type>0</shop_items_catalog_type>
         <shop_items_catalog_name>Ольха</shop_items_catalog_name>
         <shop_items_catalog_marking></shop_items_catalog_marking>
         <shop_vendorcode></shop_vendorcode>
         <shop_items_catalog_description></shop_items_catalog_description>
         <shop_items_catalog_text></shop_items_catalog_text>
         <shop_items_catalog_image>shop_items_catalog_image165.jpg</shop_items_catalog_image>
         <shop_items_catalog_small_image>small_shop_items_catalog_image165.jpg</shop_items_catalog_small_image>
         <shop_items_catalog_weight>0.000</shop_items_catalog_weight>
         <shop_items_catalog_rest>1</shop_items_catalog_rest>
         <shop_items_catalog_price>0.00</shop_items_catalog_price>
         <shop_items_catalog_is_active>1</shop_items_catalog_is_active>
         <shop_items_catalog_access>-1</shop_items_catalog_access>
         <shop_items_catalog_order>30</shop_items_catalog_order>
         <shop_items_catalog_path>olkha</shop_items_catalog_path>
         <shop_items_catalog_seo_title></shop_items_catalog_seo_title>
         <shop_items_catalog_seo_description></shop_items_catalog_seo_description>
         <shop_items_catalog_seo_keywords></shop_items_catalog_seo_keywords>
         <shop_items_catalog_indexation>1</shop_items_catalog_indexation>
         <shop_items_catalog_small_image_height>100</shop_items_catalog_small_image_height>
         <shop_items_catalog_small_image_width>100</shop_items_catalog_small_image_width>
         <shop_items_catalog_big_image_height>100</shop_items_catalog_big_image_height>
         <shop_items_catalog_big_image_width>100</shop_items_catalog_big_image_width>
         <shop_items_catalog_yandex_market_allow>1</shop_items_catalog_yandex_market_allow>
         <shop_items_catalog_rambler_pokupki_allow>1</shop_items_catalog_rambler_pokupki_allow>
         <shop_items_catalog_yandex_market_bid>0</shop_items_catalog_yandex_market_bid>
         <shop_items_catalog_yandex_market_cid>0</shop_items_catalog_yandex_market_cid>
         <shop_items_catalog_yandex_market_sales_notes></shop_items_catalog_yandex_market_sales_notes>
         <users_id>19</users_id>
         <site_users_id>0</site_users_id>
         <shop_items_catalog_date_time>2010-05-05 09:09:36</shop_items_catalog_date_time>
         <shop_items_catalog_modification_id>0</shop_items_catalog_modification_id>
         <shop_items_cml_id>BFE6B7EB-2154-C01F-D84D-75C58A702174</shop_items_cml_id>
         <shop_items_catalog_putoff_date>2010-05-05 09:09:36</shop_items_catalog_putoff_date>
         <shop_items_catalog_putend_date>0000-00-00 00:00:00</shop_items_catalog_putend_date>
         <shop_items_catalog_show_count>0</shop_items_catalog_show_count>

      </3>
      <4><shop_items_catalog_item_id>166</shop_items_catalog_item_id>
         <shop_items_catalog_shortcut_id>0</shop_items_catalog_shortcut_id>
         <shop_tax_id>0</shop_tax_id>
         <shop_sallers_id>0</shop_sallers_id>
         <shop_groups_id>7</shop_groups_id>
         <shop_currency_id>2</shop_currency_id>
         <shop_shops_id>2</shop_shops_id>
         <shop_producers_list_id>0</shop_producers_list_id>
         <shop_mesures_id>0</shop_mesures_id>
         <shop_items_catalog_type>0</shop_items_catalog_type>
         <shop_items_catalog_name>Палисандр</shop_items_catalog_name>
         <shop_items_catalog_marking></shop_items_catalog_marking>
         <shop_vendorcode></shop_vendorcode>
         <shop_items_catalog_description></shop_items_catalog_description>
         <shop_items_catalog_text></shop_items_catalog_text>
         <shop_items_catalog_image>shop_items_catalog_image166.jpg</shop_items_catalog_image>
         <shop_items_catalog_small_image>small_shop_items_catalog_image166.jpg</shop_items_catalog_small_image>
         <shop_items_catalog_weight>0.000</shop_items_catalog_weight>
         <shop_items_catalog_rest>1</shop_items_catalog_rest>
         <shop_items_catalog_price>0.00</shop_items_catalog_price>
         <shop_items_catalog_is_active>1</shop_items_catalog_is_active>
         <shop_items_catalog_access>-1</shop_items_catalog_access>
         <shop_items_catalog_order>40</shop_items_catalog_order>
         <shop_items_catalog_path>palisandr</shop_items_catalog_path>
         <shop_items_catalog_seo_title></shop_items_catalog_seo_title>
         <shop_items_catalog_seo_description></shop_items_catalog_seo_description>
         <shop_items_catalog_seo_keywords></shop_items_catalog_seo_keywords>
         <shop_items_catalog_indexation>1</shop_items_catalog_indexation>
         <shop_items_catalog_small_image_height>100</shop_items_catalog_small_image_height>
         <shop_items_catalog_small_image_width>100</shop_items_catalog_small_image_width>
         <shop_items_catalog_big_image_height>100</shop_items_catalog_big_image_height>
         <shop_items_catalog_big_image_width>100</shop_items_catalog_big_image_width>
         <shop_items_catalog_yandex_market_allow>1</shop_items_catalog_yandex_market_allow>
         <shop_items_catalog_rambler_pokupki_allow>1</shop_items_catalog_rambler_pokupki_allow>
         <shop_items_catalog_yandex_market_bid>0</shop_items_catalog_yandex_market_bid>
         <shop_items_catalog_yandex_market_cid>0</shop_items_catalog_yandex_market_cid>
         <shop_items_catalog_yandex_market_sales_notes></shop_items_catalog_yandex_market_sales_notes>
         <users_id>19</users_id>
         <site_users_id>0</site_users_id>
         <shop_items_catalog_date_time>2010-05-05 09:10:13</shop_items_catalog_date_time>
         <shop_items_catalog_modification_id>0</shop_items_catalog_modification_id>
         <shop_items_cml_id>D2E65E6E-0F89-5009-B201-16D9E8F7793A</shop_items_cml_id>
         <shop_items_catalog_putoff_date>2010-05-05 09:10:13</shop_items_catalog_putoff_date>
         <shop_items_catalog_putend_date>0000-00-00 00:00:00</shop_items_catalog_putend_date>
         <shop_items_catalog_show_count>0</shop_items_catalog_show_count>

      </4>

</content>
   <name>Каталог</name>
   <description></description>
   <path>/modulnie-systemi/</path>
   <site_id>1</site_id>
   <shop_image_small_max_width>250</shop_image_small_max_width>
   <shop_image_big_max_width>700</shop_image_big_max_width>
   <shop_image_small_max_height>250</shop_image_small_max_height>
   <shop_image_big_max_height>700</shop_image_big_max_height>
   <structure_id>74</structure_id>
   <shop_country_id>175</shop_country_id>
   <shop_currency id="2">
      <shop_currency_name>руб.</shop_currency_name>
      <shop_currency_international_name>RUR</shop_currency_international_name>
      <shop_currency_value_in_basic_currency>1.000000</shop_currency_value_in_basic_currency>
      <shop_currency_is_default>1</shop_currency_is_default>
   </shop_currency>
   <all_currency>
      <shop_currency id="2">
         <shop_currency_name>руб.</shop_currency_name>
         <shop_currency_international_name>RUR</shop_currency_international_name>
         <shop_currency_value_in_basic_currency>1.000000</shop_currency_value_in_basic_currency>
         <shop_currency_is_default>1</shop_currency_is_default>
         <shop_currency_coefficient>1</shop_currency_coefficient>
      </shop_currency>
      <shop_currency id="14">
         <shop_currency_name>евро</shop_currency_name>
         <shop_currency_international_name>EUR</shop_currency_international_name>
         <shop_currency_value_in_basic_currency>35.000000</shop_currency_value_in_basic_currency>
         <shop_currency_is_default>0</shop_currency_is_default>
         <shop_currency_coefficient>0.028571428571429</shop_currency_coefficient>
      </shop_currency>
      <shop_currency id="15">
         <shop_currency_name>USD</shop_currency_name>
         <shop_currency_international_name>USD</shop_currency_international_name>
         <shop_currency_value_in_basic_currency>26.000000</shop_currency_value_in_basic_currency>
         <shop_currency_is_default>0</shop_currency_is_default>
         <shop_currency_coefficient>0.038461538461538</shop_currency_coefficient>
      </shop_currency>
   </all_currency>
   <shop_order_status id="0">
   </shop_order_status>
   <shop_mesures id="27">
      <shop_mesures_name>шт</shop_mesures_name>
      <shop_mesures_description>штука</shop_mesures_description>
   </shop_mesures>
   <shop_shops_send_order_mail_admin>1</shop_shops_send_order_mail_admin>
   <shop_shops_send_order_mail_user>1</shop_shops_send_order_mail_user>
   <shop_shops_admin_mail>******</shop_shops_admin_mail>
   <group id="6" parent="0">
      <name>Варианты компоновки</name>
      <description></description>
      <order>0</order>
      <indexation>1</indexation>
      <path>varianty_kompanovki</path>
      <fullpath>varianty_kompanovki/</fullpath>
      <count_items>17</count_items>
      <count_groups>0</count_groups>
      <count_all_items>17</count_all_items>
      <count_all_groups>0</count_all_groups>
      <seo_title>Варианты компановки модулей</seo_title>
      <seo_description>Варианты компановки модулей</seo_description>
      <seo_keywords>Варианты компановки модулей</seo_keywords>
      <propertys>
         <property type="Checkbox" xml_name="gallery" id="1" parent_id="0" value_id="1">
            <name>Галлерея?</name>
            <value>1</value>
            <default_value>0</default_value>
            <order>0</order>
         </property>
      </propertys>
   </group>
   <group id="10" parent="0">
      <name>Модульные шкафы</name>
      <description></description>
      <order>0</order>
      <indexation>1</indexation>
      <path>modulnye_shkafy</path>
      <fullpath>modulnye_shkafy/</fullpath>
      <count_items>0</count_items>
      <count_groups>0</count_groups>
      <count_all_items>0</count_all_items>
      <count_all_groups>0</count_all_groups>
      <seo_title></seo_title>
      <seo_description></seo_description>
      <seo_keywords></seo_keywords>
      <propertys>
      </propertys>
   </group>
   <group id="7" parent="0">
      <name>Варианты фасадов</name>
      <description></description>
      <order>1</order>
      <indexation>1</indexation>
      <path>tsvetovye_reshenija_fasadov</path>
      <fullpath>tsvetovye_reshenija_fasadov/</fullpath>
      <count_items>5</count_items>
      <count_groups>0</count_groups>
      <count_all_items>5</count_all_items>
      <count_all_groups>0</count_all_groups>
      <seo_title></seo_title>
      <seo_description></seo_description>
      <seo_keywords></seo_keywords>
      <propertys>
         <property type="Checkbox" xml_name="gallery" id="1" parent_id="0" value_id="2">
            <name>Галлерея?</name>
            <value>1</value>
            <default_value>0</default_value>
            <order>0</order>
         </property>
      </propertys>
   </group>
   <group id="18" parent="0">
      <name>Шкафы для одежды</name>
      <description></description>
      <order>2</order>
      <indexation>1</indexation>
      <path>shkafy-dlja-odezhdy</path>
      <fullpath>shkafy-dlja-odezhdy/</fullpath>
      <count_items>13</count_items>
      <count_groups>0</count_groups>
      <count_all_items>13</count_all_items>
      <count_all_groups>0</count_all_groups>
      <seo_title></seo_title>
      <seo_description></seo_description>
      <seo_keywords></seo_keywords>
      <propertys>
         <property type="Checkbox" xml_name="gallery" id="1" parent_id="0" value_id="5">
            <name>Галлерея?</name>
            <value>0</value>
            <default_value>0</default_value>
            <order>0</order>
         </property>
      </propertys>
   </group>
   <group id="14" parent="0">
      <name>Шкафы для книг,серванты</name>
      <description></description>
      <order>3</order>
      <indexation>1</indexation>
      <path>modulnye_sektsii_servanty</path>
      <fullpath>modulnye_sektsii_servanty/</fullpath>
      <count_items>17</count_items>
      <count_groups>0</count_groups>
      <count_all_items>17</count_all_items>
      <count_all_groups>0</count_all_groups>
      <seo_title></seo_title>
      <seo_description></seo_description>
      <seo_keywords></seo_keywords>
      <propertys>
      </propertys>
   </group>
   <group id="13" parent="0">
      <name>Угловые шкафы</name>
      <description></description>
      <order>4</order>
      <indexation>1</indexation>
      <path>modulnye_uglovye_shkafy</path>
      <fullpath>modulnye_uglovye_shkafy/</fullpath>
      <count_items>5</count_items>
      <count_groups>0</count_groups>
      <count_all_items>5</count_all_items>
      <count_all_groups>0</count_all_groups>
      <seo_title></seo_title>
      <seo_description></seo_description>
      <seo_keywords></seo_keywords>
      <propertys>
      </propertys>
   </group>
   <group id="8" parent="0">
      <name>Шкафы для гостиной</name>
      <description></description>
      <order>4</order>
      <indexation>1</indexation>
      <path>shkafy-dlja-gostinojj</path>
      <fullpath>shkafy-dlja-gostinojj/</fullpath>
      <count_items>5</count_items>
      <count_groups>0</count_groups>
      <count_all_items>5</count_all_items>
      <count_all_groups>0</count_all_groups>
      <seo_title>Модули для гостиной</seo_title>
      <seo_description>Модули для гостиной</seo_description>
      <seo_keywords>Модули для гостиной</seo_keywords>
      <propertys>
         <property type="Checkbox" xml_name="gallery" id="1" parent_id="0" value_id="6">
            <name>Галлерея?</name>
            <value>0</value>
            <default_value>0</default_value>
            <order>0</order>
         </property>
      </propertys>
   </group>
   <group id="9" parent="0">
      <name>Угловые консоли</name>
      <description></description>
      <order>5</order>
      <indexation>1</indexation>
      <path>uglovye-konsoli</path>
      <fullpath>uglovye-konsoli/</fullpath>
      <count_items>4</count_items>
      <count_groups>0</count_groups>
      <count_all_items>4</count_all_items>
      <count_all_groups>0</count_all_groups>
      <seo_title></seo_title>
      <seo_description></seo_description>
      <seo_keywords></seo_keywords>
      <propertys>
         <property type="Checkbox" xml_name="gallery" id="1" parent_id="0" value_id="7">
            <name>Галлерея?</name>
            <value>0</value>
            <default_value>0</default_value>
            <order>0</order>
         </property>
      </propertys>
   </group>
   <group id="11" parent="0">
      <name>Прихожие,комоды,ТВ-тумбы</name>
      <description></description>
      <order>6</order>
      <indexation>1</indexation>
      <path>modulnye_prikhozhie_komody</path>
      <fullpath>modulnye_prikhozhie_komody/</fullpath>
      <count_items>27</count_items>
      <count_groups>0</count_groups>
      <count_all_items>27</count_all_items>
      <count_all_groups>0</count_all_groups>
      <seo_title></seo_title>
      <seo_description></seo_description>
      <seo_keywords></seo_keywords>
      <propertys>
      </propertys>
   </group>
   <group id="12" parent="0">
      <name>Столы, тумбы, обувницы</name>
      <description></description>
      <order>7</order>
      <indexation>1</indexation>
      <path>stoly_tumby_obuvnitsy</path>
      <fullpath>stoly_tumby_obuvnitsy/</fullpath>
      <count_items>7</count_items>
      <count_groups>0</count_groups>
      <count_all_items>7</count_all_items>
      <count_all_groups>0</count_all_groups>
      <seo_title></seo_title>
      <seo_description></seo_description>
      <seo_keywords></seo_keywords>
      <propertys>
      </propertys>
   </group>
   <group id="17" parent="0">
      <name>Трельяж</name>
      <description></description>
      <order>8</order>
      <indexation>1</indexation>
      <path>trelyazh</path>
      <fullpath>trelyazh/</fullpath>
      <count_items>1</count_items>
      <count_groups>0</count_groups>
      <count_all_items>1</count_all_items>
      <count_all_groups>0</count_all_groups>
      <seo_title></seo_title>
      <seo_description></seo_description>
      <seo_keywords></seo_keywords>
      <propertys>
         <property type="Checkbox" xml_name="gallery" id="1" parent_id="0" value_id="4">
            <name>Галлерея?</name>
            <value>0</value>
            <default_value>0</default_value>
            <order>0</order>
         </property>
      </propertys>
   </group>
   <group id="15" parent="0">
      <name>Шкафы-кровати</name>
      <description></description>
      <order>10</order>
      <indexation>1</indexation>
      <path>podemnye_shkafy_krovati</path>
      <fullpath>podemnye_shkafy_krovati/</fullpath>
      <count_items>3</count_items>
      <count_groups>0</count_groups>
      <count_all_items>3</count_all_items>
      <count_all_groups>0</count_all_groups>
      <seo_title></seo_title>
      <seo_description></seo_description>
      <seo_keywords></seo_keywords>
      <propertys>
      </propertys>
   </group>
   <group id="16" parent="0">
      <name>Кровати</name>
      <description></description>
      <order>11</order>
      <indexation>1</indexation>
      <path>krovati</path>
      <fullpath>krovati/</fullpath>
      <count_items>5</count_items>
      <count_groups>0</count_groups>
      <count_all_items>5</count_all_items>
      <count_all_groups>0</count_all_groups>
      <seo_title></seo_title>
      <seo_description></seo_description>
      <seo_keywords></seo_keywords>
      <propertys>
         <property type="Checkbox" xml_name="gallery" id="1" parent_id="0" value_id="3">
            <name>Галлерея?</name>
            <value>0</value>
            <default_value>0</default_value>
            <order>0</order>
         </property>
      </propertys>
   </group>
   <properties_items_dir id="1" parent_id="0">
      <shop_shops_id>2</shop_shops_id>
      <shop_properties_items_dir_name>Цвета</shop_properties_items_dir_name>
      <shop_properties_items_dir_description></shop_properties_items_dir_description>
      <shop_properties_items_dir_order>0</shop_properties_items_dir_order>
   </properties_items_dir>
   <properties_for_group>
      <property id="1" parent_id="0" xml_name="open_img">
         <property_name>Фото в раскрытом варианте</property_name>
         <shop_list_of_properties_type>1</shop_list_of_properties_type>
         <property_show_kind>0</property_show_kind>
      </property>
   </properties_for_group>
   <item id="159" group="18">
      <captcha_key>45096</captcha_key>
      <name>Шкаф для белья со штангой, полками и ящиками Арт. 110</name>
      <show_count>91</show_count>
      <saller>0</saller>
      <marking_of_goods></marking_of_goods>
      <description>&lt;p&gt;&lt;strong&gt;Шкаф для белья со штангой, полками и ящиками&lt;/strong&gt;&lt;/p&gt;
         &lt;p class=&quot;desc&quot;&gt;Может комплектоваться зеркалами арт. З100 (1980*280мм)&lt;/p&gt;
         &lt;p class=&quot;sizedesc&quot;&gt;2216 x 1640 x 490 мм В x Ш x Г&lt;/p&gt;
         &lt;p class=&quot;sizedesc&quot;&gt;Цена зеркала 1560 руб. за шт.&lt;/p&gt;
         &lt;p class=&quot;sizedesc&quot;&gt;Только на крайние двери!!!&lt;/p&gt;
      &lt;p class=&quot;sizedesc&quot;&gt;&lt;span style=&quot;color: #888888;&quot;&gt;&lt;span style=&quot;color: #888888;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description>
      <date>30.04.2010</date>
      <datetime>30.04.2010 14:22:50</datetime>
      <time>14:22:50</time>
      <putoff_date>00.00.0000 00:00:00</putoff_date>
      <putend_date>00.00.0000 00:00:00</putend_date>
      <text>&lt;p&gt;&lt;strong&gt;Шкаф для&amp;nbsp;белья со&amp;nbsp;штангой, полками и&amp;nbsp;ящиками&lt;/strong&gt;&lt;/p&gt;
         &lt;p class=&quot;desc&quot;&gt;Может комплектоваться зеркалами арт.З100&lt;span style=&quot;margin-right: 0.3em&quot;&gt; &lt;/span&gt; &lt;span style=&quot;margin-left: -0.3em&quot;&gt;(1980&lt;/span&gt;*280мм)&lt;/p&gt;
         &lt;p class=&quot;desc&quot;&gt;2216&amp;times;1640&amp;times;490 мм&amp;nbsp;В&amp;nbsp;x Ш&amp;nbsp;x Г&lt;/p&gt;
         &lt;p class=&quot;desc&quot;&gt;Цена зеркала 1560 руб. за&amp;nbsp;шт.&lt;/p&gt;
      &lt;p class=&quot;desc&quot;&gt;Только на&amp;nbsp;крайние двери!!!&lt;/p&gt;</text>
      <image width="321" height="400">/upload/shop_2/1/5/9/item_159/shop_items_catalog_image159.jpg</image>
      <small_image width="200" height="250">/upload/shop_2/1/5/9/item_159/small_shop_items_catalog_image159.jpg</small_image>
      <type>0</type>
      <weight>0</weight>
      <weight_mesure>шт</weight_mesure>
      <rest>1</rest>
      <mesure></mesure>
      <shop_tax_id>0</shop_tax_id>
      <price>9500.00</price>
      <price_tax>9500.00</price_tax>
      <price_discount>9500.00</price_discount>
      <item_currency>руб.</item_currency>
      <currency>руб.</currency>
      <is_active>1</is_active>
      <order>0</order>
      <path>shkaf-dlja-belja-so-shtangojj-polkami-i-jashhikami-art-110</path>
      <fullpath>shkafy-dlja-odezhdy/</fullpath>
      <seo_title></seo_title>
      <seo_description></seo_description>
      <seo_keywords></seo_keywords>
      <indexation>1</indexation>
      <vendorCode></vendorCode>
      <shop_items_cml_id></shop_items_cml_id>
      <property id="1" dir_id="0" xml_name="open_img">
         <name>Фото в раскрытом варианте</name>
         <xml_name>open_img</xml_name>
         <type>1</type>
         <order>0</order>
         <prefics></prefics>
         <value>kk.jpg</value>
         <file_path width = "321" height = "400">/upload/shop_2/1/5/9/item_159/shop_property_file_159_1.jpg</file_path>
         <small_image>
            <file_path width = "200" height = "250">/upload/shop_2/1/5/9/item_159/small_shop_property_file_159_1.jpg</file_path>
            <value></value>
         </small_image>
      </property>
      <shop_special_prices>
      </shop_special_prices>
   </item>
</shop>





Ошибка



ПРЕДУПРЕЖЕДЕНИЕ: DOMDocument::loadXML() [function.DOMDocument-loadXML]: StartTag: invalid element name in Entity, line: 4 в файле /home/**/****/public_html/modules/Xsl/Xsl.class.php (строка 260)
ПРЕДУПРЕЖЕДЕНИЕ: DOMDocument::loadXML() [function.DOMDocument-loadXML]: expected '>' in Entity, line: 50 в файле /home/**/****/public_html/modules/Xsl/Xsl.class.php (строка 260)
ПРЕДУПРЕЖЕДЕНИЕ: DOMDocument::loadXML() [function.DOMDocument-loadXML]: Opening and ending tag mismatch: content line 4 and unparseable in Entity, line: 50 в файле /home/**/****/public_html/modules/Xsl/Xsl.class.php (строка 260)
ПРЕДУПРЕЖЕДЕНИЕ: DOMDocument::loadXML() [function.DOMDocument-loadXML]: StartTag: invalid element name in Entity, line: 51 в файле /home/**/****/public_html/modules/Xsl/Xsl.class.php (строка 260)
ПРЕДУПРЕЖЕДЕНИЕ: DOMDocument::loadXML() [function.DOMDocument-loadXML]: expected '>' in Entity, line: 97 в файле /home/**/****/public_html/modules/Xsl/Xsl.class.php (строка 260)
ПРЕДУПРЕЖЕДЕНИЕ: DOMDocument::loadXML() [function.DOMDocument-loadXML]: Opening and ending tag mismatch: shop line 2 and unparseable in Entity, line: 97 в файле /home/**/****/public_html/modules/Xsl/Xsl.class.php (строка 260)
ПРЕДУПРЕЖЕДЕНИЕ: DOMDocument::loadXML() [function.DOMDocument-loadXML]: Extra content at the end of the document in Entity, line: 97 в файле /home/**/****/public_html/modules/Xsl/Xsl.class.php (строка 260)
ку
#
Re: Вывод элементов из определенной группы на странице товара
Скажите вы решили данный вопрос мне бы ваши знания пригодились тоже хочу вывести так как у вас.
Авторизация