Ausverkaufte Artikel mit "ausverkauft"-Grafik kennzeichnen

[quote=„frank73“]Hallo, ich bekomme das leider nicht hin, bin Neuling. Habe SW 5.1.1 und habe den Code in meinem Theme in die Datei box_article.tpl gelegt. [code]{block name=„frontend_listing_box_article_includes“} {* Ausverkauft *} {block name=‚frontend_listing_box_article_sold‘} {if $sArticle.instock == 0}

{/if} {/block} {if $productBoxLayout == ‚minimal‘} {include file=„frontend/listing/product-box/box-minimal.tpl“} {elseif $productBoxLayout == ‚image‘} {include file=„frontend/listing/product-box/box-big-image.tpl“} {elseif $productBoxLayout == ‚slider‘} {include file=„frontend/listing/product-box/box-product-slider.tpl“} {elseif $productBoxLayout == ‚emotion‘} {include file=„frontend/listing/product-box/box-emotion.tpl“} {else} {block name=„frontend_listing_box_article_includes_additional“} {include file=„frontend/listing/product-box/box-basic.tpl“ productBoxLayout=„basic“} {/block} {/if} {/block}[/code] Anschließend in mein Theme hochgeladen. Dann den CSS-Code in meinem Theme in eine Less-datei main-navigation.less ganz am Ende eingefügt. Wieder in mein Theme hochgeladen sowie auch die entsprechende Grafik. Wie gesagt funktioniert nicht! Bestimmt ein absoluter anfängerfehler, oder? :wink: kann mir jemand helfen?[/quote] Hallo Frank, hast du in der Datei oberhalb auch dies eingefügt: {extends file="parent:frontend/listing/box\_article.tpl"} Bzw. wieso versuchst du es nicht beispielsweise so mal: [code] {extends file=„parent:frontend/listing/box_article.tpl“} {block name=„frontend_listing_box_article_includes“ prepend} {block name=‚frontend_listing_box_article_sold‘} {if $sArticle.instock == 0}

{/if} {/block} [/code] Kommt denn eine Fehlermeldung oder zeigt er nur das div nicht an? Beste Grüße Sebastian