Auswahllisten- / Variantenproblem nach eigener Shopanpassung

Hallo Marco,

du meinst den Block aus der products.tpl in die details.tpl ^^

gute Idee… den Block habe ich gefunden und in die details.tpl an die entsprechende Stelle eingefügt.

ABER: Die Bezeichnung, also die Größenauswahl, wird im Warenkorb nicht angegeben. Das sollte aber Sinn der ganzen Sache sein. Muss ich da noch irgendwo nen Befehl einfügen, dass die Angabe im Warenkorb dann übernommen wird?

Das wäre der Abschnitt:

<div class=“variants”> [{ $oViewConf->getHiddenSid() }] [{ $oViewConf->getNavFormParams() }] <input type=“hidden” name=“cl” value="[{ $oViewConf->getActiveClassName() }]"> [{if $owishid}] <input type=“hidden” name=“owishid” value="[{$owishid}]"> [{/if}] [{if $toBasketFunction}] <input type=“hidden” name=“fnc” value="[{$toBasketFunction}]"> [{else}] <input type=“hidden” name=“fnc” value=“tobasket”> [{/if}] <input type=“hidden” name=“aid” value="[{ $product->oxarticles__oxid->value }]"> [{if $altproduct}] <input type=“hidden” name=“anid” value="[{ $altproduct }]"> [{else}] <input type=“hidden” name=“anid” value="[{ $product->oxarticles__oxnid->value }]"> [{/if}] [{if $recommid}] <input type=“hidden” name=“recommid” value="[{ $recommid }]"> [{/if}] <input type=“hidden” name=“pgNr” value="[{ $pageNavigation->actPage-1 }]"> [{if $size!=‘thin’ && $size!=‘thinest’}] <input id=“test_am_[{$testid}]” type=“hidden” name=“am” value=“1”> [{/if}] [{if $size!=‘small’}] [{ if $product->getVariantList() }] <label>[{ $product->oxarticles__oxvarname->value }] :</label> <select id=“test_varSelect_[{$testid}]” name=“aid”> [{foreach from=$product->getVariantList() item=variant}] <option value="[{$variant->sOXID}]">[{ $variant->oxarticles__oxvarselect->value }] [{oxhasrights ident=“SHOWARTICLEPRICE”}] [{ $variant->getFPrice() }] [{ $currency->sign}]* [{/oxhasrights}]</option> [{/foreach}] </select> [{elseif $product->getDispSelList()}] [{foreach key=iSel from=$product->selectlist item=oList}] <label>[{ $oList.name }] :</label> <select id=“test_sellist_[{$testid}]_[{$iSel}]” name=“sel[[{$iSel}]]” onchange=“JavaScript:setSellList(this);”> [{foreach key=iSelIdx from=$oList item=oSelItem}] [{ if $oSelItem->name }] <option value="[{$iSelIdx}]"[{if $oSelItem->selected }]SELECTED[{/if }]>[{ $oSelItem->name }]</option> [{/if}] [{/foreach}] </select> [{/foreach}] [{/if}] [{/if}] </div>

LG vdnowas