diff --git a/Application/views/blocks/page/details/inc/details_tabs_invite.html.tpl b/Application/views/blocks/page/details/inc/details_tabs_invite.html.tpl index 5b90bb8..5d41898 100644 --- a/Application/views/blocks/page/details/inc/details_tabs_invite.html.tpl +++ b/Application/views/blocks/page/details/inc/details_tabs_invite.html.tpl @@ -3,16 +3,18 @@ [{assign var="registry" value="\OxidEsales\Eshop\Core\Registry"|@oxNew}] [{assign var="oConfig" value=$registry->getConfig()}] [{assign var="oManufacturer" value=$oView->getManufacturer()}] + [{if $oManufacturer && $oManufacturer->getId()}] [{assign var="sShopURL" value=$oConfig->getConfigParam('sShopURL')}] [{assign var="description" value=$oManufacturer->d3GetLongdesc()}] - [{if $oConfig->getConfigParam('d3manufacturerinformation_showManufacturertextOnDetailsPage') && $description->rawValue|strip_tags|trim}] + [{if $oConfig->d3GetBoolModuleSettingByName('_showManufacturertextOnDetailsPage') && $description|strip_tags|trim}] [{capture append="tabs"}][{oxmultilang ident="D3_MANUFACTURERINFO_TAB"}][{/capture}] [{capture append="tabsContent"}]
[{oxeval var=$description}]
[{assign var="blFirstTab" value=false}] - [{/capture}] + [{/capture}] + [{/if}] [{/if}] \ No newline at end of file