После недавнего обновления системы до последней версии перестал работать вывод скидки на товар интернет-магазина. Сайт изначально разрабатывался на 6-ой версии и до обновления скидки корректно выводились..
Привожу фрагмент xml кода
<shop_item id="180">
<shortcut_id>0</shortcut_id>
<shop_tax_id>2</shop_tax_id>
<shop_seller_id>0</shop_seller_id>
<shop_group_id>594</shop_group_id>
<shop_currency_id>1</shop_currency_id>
<shop_id>1</shop_id>
<shop_producer_id>43</shop_producer_id>
<shop_measure_id>2</shop_measure_id>
<type>0</type>
<name>Royal Palace2</name>
<marking>GP-M0021-12</marking>
<vendorcode></vendorcode>
<description></description>
<text>Текстовое описание продукции</text>
<image_large>shop_items_catalog_image180.jpg</image_large>
<image_small>small_shop_items_catalog_image164.jpg</image_small>
<weight>100.00</weight>
<active>1</active>
<siteuser_group_id>-1</siteuser_group_id>
<sorting>1</sorting>
<path>royal-palace-copy-from-10012013-020037</path>
<seo_title></seo_title>
<seo_description></seo_description>
<seo_keywords></seo_keywords>
<indexing>1</indexing>
<image_small_height>143</image_small_height>
<image_small_width>206</image_small_width>
<image_large_height>309</image_large_height>
<image_large_width>380</image_large_width>
<yandex_market>0</yandex_market>
<rambler_pokupki>0</rambler_pokupki>
<yandex_market_bid>0</yandex_market_bid>
<yandex_market_cid>0</yandex_market_cid>
<yandex_market_sales_notes></yandex_market_sales_notes>
<user_id>19</user_id>
<siteuser_id>0</siteuser_id>
<modification_id>0</modification_id>
<guid>DDB9A193-2391-A658-3E26-3046C8244F57</guid>
<showed>177</showed>
<deleted>0</deleted>
<url>/shop/living-rooms/royal-palace-copy-from-10012013-020037/</url>
<date>03.01.2013</date>
<datetime>03.01.2013 16:01:46</datetime>
<start_datetime>0000-00-00 00:00:00</start_datetime>
<end_datetime>0000-00-00 00:00:00</end_datetime>
<dir>/upload/shop_1/1/8/0/item_180/</dir>
<rest>100</rest>
<price>394500.00</price>
<discount>394500</discount>
<tax>60177.97</tax>
<price_tax>394500.00</price_tax>
<currency>руб</currency>
<shop_discount id="7">
<shop_id>1</shop_id>
<name>Скидка</name>
<start_datetime>2013-02-01 15:55:42</start_datetime>
<end_datetime>2013-02-28 15:55:42</end_datetime>
<active>1</active>
<percent>50.00</percent>
<user_id>19</user_id>
</shop_discount>
<shop_discount id="">
<shop_id></shop_id>
<name></name>
<start_datetime>2013-02-04 16:17:30</start_datetime>
<end_datetime>2013-02-04 16:17:30</end_datetime>
<active>1</active>
<percent>0</percent>
<user_id>19</user_id>
</shop_discount>
цена товара 394 500р.
скидка указана в размере 50%
код тдс
<?php
if (Core::moduleIsActive('shop'))
{
$Shop_Controller_Show = new Shop_Controller_Show(
Core_Entity::factory('Shop', 1)
);
$Shop_Controller_Show
->xsl(
Core_Entity::factory('Xsl')->getByName('СписокРаспродажа')
)
->groupsMode('tree')
//->itemsForbiddenTags(array('text'))
->group(FALSE)
->specialprices(TRUE)
->itemsProperties(TRUE)
->modifications(FALSE)
->limit(1000)
->show();
}
?>