Eigenes Frontend Modul

Ich habe mal einen Text eingefügt der wird angezeigt. testdas1 und testdas2

In der “mydevselect_details_productmain_variantselections.tpl” ist folgender Code als Auszug:

 [{oxscript include="js/widgets/oxarticlevariant.js" priority=10 }]
                [{oxscript add="$( '#variants' ).oxArticleVariant(); "}]
                [{assign var="blCanBuy" value=$aVariantSelections.blPerfectFit}]
                <div id="variants" class="selectorsBox js-fnSubmit clear">testdas1
                    [{assign var="blHasActiveSelections" value=false}]
                    [{foreach from=$aVariantSelections.selections item=oList key=iKey}]
                        [{if $oList->getActiveSelection()}]
                            [{assign var="blHasActiveSelections" value=true}]
                        [{/if}]
                        
                        [{include file="widgets/product/myselectbox.tpl" oSelectionList=$oList iKey=$iKey blInDetails=true}]
                    [{/foreach}]
                </div>testdas2
                

Im html Quelltext sieht das so aus:


                            
                
                
                                <div id="variants" class="selectorsBox js-fnSubmit clear">testdas1
                                                                                        
                                                            </div>testdas2
                
                                                                                                 <div class="variantMessage">Bitte wählen Sie eine Variante</div>
                    

Und auf der Seite sieht das so aus: