Erste Variante schon ausgewählt, statt "Bitte wählen"??

Okay, dann mache das bitte mal Rückgängig. Und bearbeite mal zum Test die jqeury.shopware.js (function($) { //Changes the displayed informations on the //article detail site and changes the active //images which is used by variant articles $.changeDetails = function (ordernumber) { if (typeof($.checkNotification) == 'function') { if (!ordernumber){ $.checkNotification($.ordernumber); }else { $.checkNotification(ordernumber); } } try { if(!ordernumber || $('#instock\_'+ordernumber).val() \> 0) { $('#article\_notification').hide(); $('#detailCartButton').show(); $('#detailBuyInfoNotAvailable').hide(); } else { $('#article\_notification').show(); if($('#detailBuyInfoNotAvailable').length) { $('#detailCartButton').hide(); $('#detailBuyInfoNotAvailable').show(); } } } catch(e) {} if (!ordernumber) { // Hide Pseudoprice $('.PseudoPrice').hide(); // Hide all other thumbnails if (isVariant) { var thumbs = $('.thumb\_box').children('a:[id]'); thumbs.each(function (i, el) { if ($(el).attr('id') != 'thumb' + $.ordernumber) { $(el).hide(); } }); } // Hide basket $('#basketButton').css('opacity', '0.4'); } else { // Show Pseudo price $('#'+ordernumber).find('.PseudoPrice').show(); // Change informations $('#article\_details').html($('#' + ordernumber).html()); //Set basket button to active $('#basketButton').css('opacity', '1.0'); // Change main image $('a#zoom1 img').attr('src', $('#img' + ordernumber).find('img').attr('src')); //Wenn eine andere Variante ausgewaehlt ist if(ordernumber != $.ordernumber) { //Wenn ZoomViewer ist aktiv useZoom = parseInt(useZoom); if(useZoom) { $('a#zoom1 img').attr('src', $('#img' + ordernumber).find('img').attr('src')).attr('title', $('#img' + ordernumber).children('a').attr('title')); $('#img' + ordernumber).find('a').trigger('click'); } else { //Lightboxlink wechseln $('a#zoom1').attr('href', $('#img' + ordernumber).children('a').attr('href')); } //Thumbnails wechseln $('#thumb' + $.ordernumber).hide(); $('#thumb' + ordernumber).show(); //neue Ordernumber in die globale Variable schreiben $.ordernumber = ordernumber; try { $('#variantOrdernumber').val(ordernumber); }catch (err){ } // try to active liveshopping try { $('#article\_details').liveshopping(); } catch(err) {} } //Set basket button to active $('#basketButton').css('opacity', '1.0'); } }; })(jQuery); Ich habe das //Set basket button to active $('#basketButton').css('opacity', '1.0'); unten hinzugefügt.

[quote=“ottscho”]Okay, dann mache das bitte mal Rückgängig. Und bearbeite mal zum Test die jqeury.shopware.js (function($) { //Changes the displayed informations on the //article detail site and changes the active //images which is used by variant articles $.changeDetails = function (ordernumber) { if (typeof($.checkNotification) == 'function') { if (!ordernumber){ $.checkNotification($.ordernumber); }else { $.checkNotification(ordernumber); } } try { if(!ordernumber || $('#instock\_'+ordernumber).val() \> 0) { $('#article\_notification').hide(); $('#detailCartButton').show(); $('#detailBuyInfoNotAvailable').hide(); } else { $('#article\_notification').show(); if($('#detailBuyInfoNotAvailable').length) { $('#detailCartButton').hide(); $('#detailBuyInfoNotAvailable').show(); } } } catch(e) {} if (!ordernumber) { // Hide Pseudoprice $('.PseudoPrice').hide(); // Hide all other thumbnails if (isVariant) { var thumbs = $('.thumb\_box').children('a:[id]'); thumbs.each(function (i, el) { if ($(el).attr('id') != 'thumb' + $.ordernumber) { $(el).hide(); } }); } // Hide basket $('#basketButton').css('opacity', '0.4'); } else { // Show Pseudo price $('#'+ordernumber).find('.PseudoPrice').show(); // Change informations $('#article\_details').html($('#' + ordernumber).html()); //Set basket button to active $('#basketButton').css('opacity', '1.0'); // Change main image $('a#zoom1 img').attr('src', $('#img' + ordernumber).find('img').attr('src')); //Wenn eine andere Variante ausgewaehlt ist if(ordernumber != $.ordernumber) { //Wenn ZoomViewer ist aktiv useZoom = parseInt(useZoom); if(useZoom) { $('a#zoom1 img').attr('src', $('#img' + ordernumber).find('img').attr('src')).attr('title', $('#img' + ordernumber).children('a').attr('title')); $('#img' + ordernumber).find('a').trigger('click'); } else { //Lightboxlink wechseln $('a#zoom1').attr('href', $('#img' + ordernumber).children('a').attr('href')); } //Thumbnails wechseln $('#thumb' + $.ordernumber).hide(); $('#thumb' + ordernumber).show(); //neue Ordernumber in die globale Variable schreiben $.ordernumber = ordernumber; try { $('#variantOrdernumber').val(ordernumber); }catch (err){ } // try to active liveshopping try { $('#article\_details').liveshopping(); } catch(err) {} } //Set basket button to active $('#basketButton').css('opacity', '1.0'); } }; })(jQuery); Ich habe das //Set basket button to active $('#basketButton').css('opacity', '1.0'); unten hinzugefügt.[/quote] Hi ottscho, hat leider auch nichts gebracht. Ich habe jetzt einfach den opacity Wert bei “Hide Basket” auf 1.0 gesetzt. Jetzt klappts. Trotzdem Danke! Peter

Ist zwar schon eine Weile her, aber ich mache mal hier weiter. Ich habe den Thread jetzt 1 zu 1 durchgearbeitet. Leider hat mir aber sogar das Hide Opacity = 1.0 von Peter keinen grünen Button beschert. Er blieb ausgegraut. Was könnte ich denn noch probieren?