Moin zusammen,
wir haben im Child Templete folgendes angelegt:
Productsdetails/tabp.tpl
{block name='productdetails-tabs-tab-description-include-attributes'}
{/block}
{block name='productdetails-tabs-include-attributes'}
{/block}
{block name='productdetails-tabs-tab-description' append}
{$showAttributesTable = ($Einstellungen.artikeldetails.merkmale_anzeigen === 'Y'
&& !empty($Artikel->oMerkmale_arr) || $showProductWeight || $showShippingWeight
|| $Einstellungen.artikeldetails.artikeldetails_abmessungen_anzeigen === 'Y')}
{if $showAttributesTable}
{tab title="{lang key="merkmale" section="custom"}" active=false id="merkmale"}
{include file='productdetails/attributes.tpl' tplscope='details'
showProductWeight=$showProductWeight showShippingWeight=$showShippingWeight
dimension=$dimension showAttributesTable=$showAttributesTable}
{/tab}
{/if}
{/block}
{block name='productdetails-tabs-description' append}
{card no-body=true}
{cardheader id="tab-merkmale-head"
data=["toggle" => "collapse",
"target"=>"#tab-merkmale"
]
aria=["expanded" => "false",
"controls" => "tab-merkmale"
]
}
{lang key='merkmale' section='custom'}
{/cardheader}
{collapse id="tab-merkmale" visible=false
data=["parent"=>"#tabAccordion"]
aria=["labelledby"=>"tab-merkmale-head"]
}
{cardbody}
{block name='productdetails-tabs-card-merkmale'}
{block name='productdetails-tabs-card-merkmale-content'}
{opcMountPoint id='opc_before_desc'}
<div class="desc">
{include file='productdetails/attributes.tpl' tplscope='details'
showProductWeight=$showProductWeight showShippingWeight=$showShippingWeight
dimension=$dimension showAttributesTable=$showAttributesTable}
</div>
{/block}
{/block}
{/cardbody}
{/collapse}
{/card}
{/block}
Und eine Sprachvariable angelegt als Merkmal, nur leider erscheineb die Merkmale nicht mehr im extra Tab.
Jemand eine Idee?
Danke
wir haben im Child Templete folgendes angelegt:
Productsdetails/tabp.tpl
{block name='productdetails-tabs-tab-description-include-attributes'}
{/block}
{block name='productdetails-tabs-include-attributes'}
{/block}
{block name='productdetails-tabs-tab-description' append}
{$showAttributesTable = ($Einstellungen.artikeldetails.merkmale_anzeigen === 'Y'
&& !empty($Artikel->oMerkmale_arr) || $showProductWeight || $showShippingWeight
|| $Einstellungen.artikeldetails.artikeldetails_abmessungen_anzeigen === 'Y')}
{if $showAttributesTable}
{tab title="{lang key="merkmale" section="custom"}" active=false id="merkmale"}
{include file='productdetails/attributes.tpl' tplscope='details'
showProductWeight=$showProductWeight showShippingWeight=$showShippingWeight
dimension=$dimension showAttributesTable=$showAttributesTable}
{/tab}
{/if}
{/block}
{block name='productdetails-tabs-description' append}
{card no-body=true}
{cardheader id="tab-merkmale-head"
data=["toggle" => "collapse",
"target"=>"#tab-merkmale"
]
aria=["expanded" => "false",
"controls" => "tab-merkmale"
]
}
{lang key='merkmale' section='custom'}
{/cardheader}
{collapse id="tab-merkmale" visible=false
data=["parent"=>"#tabAccordion"]
aria=["labelledby"=>"tab-merkmale-head"]
}
{cardbody}
{block name='productdetails-tabs-card-merkmale'}
{block name='productdetails-tabs-card-merkmale-content'}
{opcMountPoint id='opc_before_desc'}
<div class="desc">
{include file='productdetails/attributes.tpl' tplscope='details'
showProductWeight=$showProductWeight showShippingWeight=$showShippingWeight
dimension=$dimension showAttributesTable=$showAttributesTable}
</div>
{/block}
{/block}
{/cardbody}
{/collapse}
{/card}
{/block}
Und eine Sprachvariable angelegt als Merkmal, nur leider erscheineb die Merkmale nicht mehr im extra Tab.
Jemand eine Idee?
Danke