felixbek,
а зачем Вы shop_item/modification_id != 1 с единицей сравниваете, тогда уже с 0 лучше.
felixbek писал(а):
И еще один момент: можно ли добавит имя родительского товара на TITLE
Можно, для этого уже в коде настроек ТДС получаете проверяете на модификацию и дописываете к заголовку. Замените блок:
if ($Shop_Controller_Show->item)
{
$oShop_Item = Core_Entity::factory('Shop_Item', $Shop_Controller_Show->item);
if ($oShop_Item->modification_id)
{
$oParent_Item = $oShop_Item->Modification;
$sParentName = $pageSeparator . $oParent_Item->name;
}
else
{
$sParentName = '';
}
$aTitle[] = ($oShop_Item->seo_title != ''
? $oShop_Item->seo_title
: $oShop_Item->name) . $sParentName;
$aDescription[] = $oShop_Item->seo_description != ''
? $oShop_Item->seo_description
: $oShop_Item->name;
$aKeywords[] = $oShop_Item->seo_keywords != ''
? $oShop_Item->seo_keywords
: $oShop_Item->name;
}