{ "@context": "http://schema.org/", "@type": "Review", "itemReviewed": { "@type": "Product", "name": "Kette Collier aus echter Lava mit Poren mit Verschluss aus 925 Silber, L 50cm" }, "reviewRating": { "@type": "Rating", "bestRating": "5", "worstRating": "1", "ratingValue": "5.00" }, "publisher": { "@type": "Organization", "name": "Schmuck Krone" } } document.addEventListener('DOMContentLoaded', function() { if($("select.custom-select option:selected").text().indexOf('Bitte') >= 0){ $('.info>li.av').hide(); var oldArtNr = $('.art-no>span:nth-child(2)').html(); var newArtNr = oldArtNr.split('-', 3); if (newArtNr.length > 2) { $('.art-no>span:nth-child(2)').after('' + newArtNr[0] +'-'+ newArtNr[1] +'').hide(); } else { $('.art-no>span:nth-child(2)').after(''+ newArtNr[0] +'').hide(); } }; $("select.custom-select").change(function() { $('.newnr').remove(); $('.art-no>span:nth-child(2)').delay( 1500 ).show(); $('.add-to-basket-container').removeClass("disabled");$('.info>li.av').delay( 1500 ).show();}); $('input[name="variationid"]').val('0102036'); var averageCount=$('.feedback-average-count').text();$('.sectionHeader .reviewCountTarget').html(averageCount);});