Hallo zusammen,
mein Template-Datei sieht folgendermaßen aus:
{extends file="parent:frontend/checkout/ajax_cart_item.tpl"}
{namespace name="frontend/checkout/ajax_cart"}
{* Article name *}
{block name='frontend_checkout_ajax_cart_articlename'}
{$smarty.block.parent}
{if $multioptionsconfig.SEEAJAXCART == '1'}
{if $basketItem.pixel_multi == "MULTIOPTIONEN"}
{block name='frontend_checkout_cart_item_pixelmulti_ajax' }
{foreach name=aussen item=calc_data from=$basketItem.pixel_multidata.CALC_OPTIONS}
{block name='frontend_checkout_cart_item_pixelmulti_calc' }
{if $calc_data.OPTIONSSHOW == 'true'}
{if !$calc_data.WEIGHT}{$calc_data.LABEL}:{if $calc_data.TEXT}{$calc_data.TEXT}{/if}{if $calc_data.PRICE}{$calc_data.PRICE}{/if} {$calc_data.SUFFIX}{/if}
{if $calc_data.WEIGHT}{se name='CartItemWeight'}Gewicht:{/se}{$calc_data.WEIGHT} KG {/if}
{/if}
{/block}
{/foreach}
{foreach name=aussen item=calcoptions_data from=$basketItem.pixel_multidata.OPTIONS}
{block name='frontend_checkout_cart_item_pixelmulti_options' }
{if $calcoptions_data.OPTIONSSHOW == 'true'}
{$calcoptions_data.LABEL}: {if $calcoptions_data.DISTANCEMATRIX == true}{$calcoptions_data.DESTINATION}{else}{$calcoptions_data.TEXT|stripslashes}{/if}
{if $multioptionsconfig.OPTIONSPRICESHOW == '1'} , {if $calcoptions_data.QTY > 1}{$calcoptions_data.QTY} x{/if} {include file="frontend/plugins/pixelmultioptionen/_intern/praefixes.tpl" praefix=$calcoptions_data }
{/if}
{if $calcoptions_data.DISTANCEMATRIX == true}
{s name="Distancekilometer" namespace="frontend/pixelmultioptionen/main"}Entfernung{/s}: {$calcoptions_data.KILOMETER}km * {$calcoptions_data.DISTANCEPRICE}
{s name="DistanceDestination" namespace="frontend/pixelmultioptionen/main"}Ort{/s}: {$calcoptions_data.DESTINATION}
{/if}
{if $calcoptions_data.FILE}
{s name="PixelUploadtwoButton" namespace="frontend/pixelmultioptionen/main"}Herunterladen{/s}
{/if}
{if $calcoptions_data.TEXTFIELD}
{foreach name=aussen item=letter_data from=$calcoptions_data.TEXTFIELD}
{if $calcoptions_data.SOTVID == $letter_data.SOTVID}
{$letter_data.LABEL}: {$letter_data.TEXT|stripslashes}
{if $multioptionsconfig.OPTIONSPRICESHOW == '1'} , {if $letter_data.QTY > 1}{$letter_data.QTY} x{/if} {if $letter_data.PRICEPERLETTER}{$letter_data.PRICEPERLETTER}{if $letter_data.STEXT} je Buchstabe, Gesamt: {$letter_data.PRICE}{/if}{/if}{if $letter_data.VALUE}{$letter_data.VALUE}{/if}
{/if}
{/if}
{/foreach}
{/if}
{if $calcoptions_data.galleryresults.title}
{se name='SGname'}Bildname:{/se}{$calcoptions_data.galleryresults.title}
{/if}
{if $calcoptions_data.galleryresults.id}
{se name='SGImageId'}Bild-ID:{/se}{$calcoptions_data.galleryresults.id}
{/if}
{if $calcoptions_data.galleryresults.image.source}
{/if}
{if $calcoptions_data.fotolianame}
{se name='Fotolianame'}Bildname:{/se}{$calcoptions_data.fotolianame}
{/if}
{if $calcoptions_data.fotoliaresults.id}
{se name='FotoliaImageId'}Bild-ID:{/se}{$calcoptions_data.fotoliaresults.id}
{/if}
{if $calcoptions_data.fotolialicence}
{se name='Fotolialicence'}Bildlizenz:{/se}{$calcoptions_data.fotolialicence}
{/if}
{if $calcoptions_data.fotoliaimage}
{/if}
{/if}
{/block}
{/foreach}
{/block}
{/if}
{/if}
{/block}
Ich bekommen im Shop folgenden Fehler angezeigt:
Fatal error : Uncaught SmartyCompilerException: Syntax Error in template „/html/shopware/engine/Shopware/Plugins/Community/Frontend/Pixelmultioptionen/Views/frontend/checkout/ajax_cart_item.tpl“ on line 3 „{* Article name *}“ unmatched {block} {/block} pairs in /html/shopware/engine/Library/Smarty/sysplugins/smarty_internal_templatecompilerbase.php:657 Stack trace: #0 /html/shopware/engine/Library/Smarty/sysplugins/smarty_internal_compile_extends.php(88): Smarty_Internal_TemplateCompilerBase->trigger_template_error(‚unmatched {bloc…‘) #1 /html/shopware/engine/Library/Smarty/sysplugins/smarty_internal_templatecompilerbase.php(475): Smarty_Internal_Compile_Extends->compile(Array, Object(Smarty_Internal_SmartyTemplateCompiler), Array, NULL, NULL) #2 /html/shopware/engine/Library/Smarty/sysplugins/smarty_internal_templatecompilerbase.php(249): Smarty_Internal_TemplateCompilerBase->callTagCompiler(‚extends‘, Array, Array) #3 /html/shopware/engine/Library/Smarty/sysplugins/smarty_internal_templateparser.ph in /html/shopware/engine/Library/Smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 657
Leider finde ich nicht heraus, welches Block unmatched ist. Vor allem, ich habe meine Änderungen am Template gelöscht und den ursprünglichen Stand wiederhergestellt. Trotzdem kommt der Unmatched-Block-Fehler. Das Shop steht still. Bitte um dringende Hilfe.