ערכת פרמיום

    ערכת הפרמיום כוללת את כל מגוון מוצרי

    הטיפוח לשימוש לאורך כל היממה

    jQuery( document ).ready( function () { var settings = { "url": "https://api-cdn.yotpo.com/v1/widget/Q5jilpqwCTeIM6ExiRi5ZB1VXJNz920txq3Ht5gB/products/24014/reviews.json", "method": "GET", "timeout": 0, "headers": { "Accept": "application/json", "Content-Type": "application/json" }, }; jQuery.ajax(settings).done(function (response) { console.log(response); window.FontAwesomeConfig = { autoReplaceSvg: false } var toypo_res = response; var toypo_total_review = toypo_res.response.bottomline.total_review; var toypo_average_score = toypo_res.response.bottomline.average_score; console.log(toypo_res.response.bottomline.average_score, toypo_res.response.bottomline.total_review); var prd_rating = toypo_average_score; var next_after = Math.floor(prd_rating) + 1; var diff_point = prd_rating – Math.floor(prd_rating); for(var i = 1; i < 5; i++){ if(i = 0.25){ if(diff_point = 0.75){ jQuery(`.toypo_main.premium span.fa:nth-child(${next_after})`).removeClass('fa-star-o').addClass('fa-star'); } } } else{ jQuery(`.toypo_main.premium span.fa:nth-child(${prd_rating})`).removeClass('fa-star-o').addClass('fa-star'); } } jQuery('.toypo_main.premium .stars_cnt').text(`(${toypo_total_review})`); }); });
    .toypo_main{ color:#FECF03; font-size: 2rem; text-align: center; } .toypo_main .stars_cnt{ font-size: 1rem; color:#fff; height: 2rem; display: inline-block; vertical-align: middle; } @media (max-width: 959px){ .toypo_main{ font-size: 1.2rem; } .toypo_main .stars_cnt{ font-size: 1rem; height: 2rem; } }
    ₪1089
    ₪929
    929

    ערכת פרמיום

    ערכת הפרמיום כוללת את כל מגוון מוצרי

    הטיפוח לשימוש לאורך כל היממה

    jQuery( document ).ready( function () { var settings = { "url": "https://api-cdn.yotpo.com/v1/widget/Q5jilpqwCTeIM6ExiRi5ZB1VXJNz920txq3Ht5gB/products/24014/reviews.json", "method": "GET", "timeout": 0, "headers": { "Accept": "application/json", "Content-Type": "application/json" }, }; jQuery.ajax(settings).done(function (response) { console.log(response); window.FontAwesomeConfig = { autoReplaceSvg: false } var toypo_res = response; var toypo_total_review = toypo_res.response.bottomline.total_review; var toypo_average_score = toypo_res.response.bottomline.average_score; console.log(toypo_res.response.bottomline.average_score, toypo_res.response.bottomline.total_review); var prd_rating = toypo_average_score; var next_after = Math.floor(prd_rating) + 1; var diff_point = prd_rating – Math.floor(prd_rating); for(var i = 1; i < 5; i++){ if(i = 0.25){ if(diff_point = 0.75){ jQuery(`.toypo_main.premium span.fa:nth-child(${next_after})`).removeClass('fa-star-o').addClass('fa-star'); } } } else{ jQuery(`.toypo_main.premium span.fa:nth-child(${prd_rating})`).removeClass('fa-star-o').addClass('fa-star'); } } jQuery('.toypo_main.premium .stars_cnt').text(`(${toypo_total_review})`); }); });
    .toypo_main{ color:#FECF03; font-size: 2rem; text-align: center; } .toypo_main .stars_cnt{ font-size: 1rem; color:#fff; height: 2rem; display: inline-block; vertical-align: middle; } @media (max-width: 959px){ .toypo_main{ font-size: 1.2rem; } .toypo_main .stars_cnt{ font-size: 1rem; height: 2rem; } }
    ₪1089
    ₪929
    929

    0
      0
      העגלה שלי
        חזרה לעגלה
        דילוג לתוכן