PATH:
home
/
thebhoeo
/
public_html
/
wp-content
/
themes
/
woodmart
/
js
/
scripts
/
wc
!function(e){woodmartThemeModule.singleProdReviews=function(){let i=e("#reviews");function t(){let i=e(".wd-rating-summary-cont").find(".wd-active");return i.length>0?i.find(".wd-rating-label").data("rating").toString():""}function o(o=!1,n=!1){let s=e(".commentlist"),r=s.length>0?s.data("reviews-columns"):{},d={action:"woodmart_filter_review",rating:t(),product_id:i.data("product-id"),order_by:0<i.find(".wd-reviews-sorting-select :checked").length?i.find(".wd-reviews-sorting-select :checked").val():"newest",only_images:e("#wd-with-image-checkbox").is(":checked"),summary_criteria_ids:woodmart_settings.summary_criteria_ids};r.hasOwnProperty("reviews_columns")&&(d.reviews_columns=r.reviews_columns),r.hasOwnProperty("reviews_columns_tablet")&&(d.reviews_columns_tablet=r.reviews_columns_tablet),r.hasOwnProperty("reviews_columns_mobile")&&(d.reviews_columns_mobile=r.reviews_columns_mobile),o&&(d.rating="",d.only_images=!1),e.ajax({url:woodmart_settings.ajaxurl,method:"GET",data:d,beforeSend:function(){let e=i.find("#comments .commentlist");i.find("#comments .wd-loader-overlay").addClass("wd-loading"),n&&i.find(".wd-rating-summary-wrap .wd-loader-overlay").addClass("wd-loading"),e.removeClass("wd-active"),e.removeClass("wd-in")},complete:function(){i.find("#comments .wd-loader-overlay").removeClass("wd-loading"),n&&i.find(".wd-rating-summary-wrap .wd-loader-overlay").removeClass("wd-loading"),setTimeout(function(){i.find("#comments .commentlist").addClass("wd-active")},50),setTimeout(function(){i.find("#comments .commentlist").addClass("wd-in")},100)},success:function(t){(!d.rating??!d.only_images)&&e(".wd-reviews-sorting-clear").addClass("wd-hide"),t.title&&i.find(".woocommerce-Reviews-title").html(t.title),e(document).trigger("woodmart_reviews_sorting_clear",d),t.content&&i.find("#comments .wd-reviews-content").html(t.content),woodmartThemeModule.hasOwnProperty("photoswipeImages")&&"function"==typeof woodmartThemeModule.photoswipeImages&&woodmartThemeModule.photoswipeImages()},error:function(e){console.error(e)}})}i.off("click",".wd-rating-summary-item").on("click",".wd-rating-summary-item",function(){if(!woodmart_settings.is_rating_summary_filter_enabled||e(this).hasClass("wd-empty"))return;e(this).siblings().removeClass("wd-active"),e(this).toggleClass("wd-active");let i=t();e(document).on("woodmart_reviews_sorting_clear",function(t,o){i?e(".wd-reviews-sorting-clear").removeClass("wd-hide"):e(".wd-reviews-sorting-clear").addClass("wd-hide")}),o(!1,!0)}).off("click",".wd-reviews-sorting-clear").on("click",".wd-reviews-sorting-clear",function(i){i.preventDefault(),e(".wd-rating-summary-item").each(function(){e(this).removeClass("wd-active")}),e(document).on("woodmart_reviews_sorting_clear",function(i,t){e(".wd-reviews-sorting-clear").addClass("wd-hide")}),e("#wd-with-image-checkbox").prop("checked",!1),o(!0,!0)}).off("click","#wd-with-image-checkbox").on("click","#wd-with-image-checkbox",function(){let i=e(this).is(":checked");e(document).on("woodmart_reviews_sorting_clear",function(t,o){i?e(".wd-reviews-sorting-clear").removeClass("wd-hide"):0===o.rating.length&&e(".wd-reviews-sorting-clear").addClass("wd-hide")}),o()}).off("change",".wd-reviews-sorting-select").on("change",".wd-reviews-sorting-select",function(){o()})},e(document).ready(function(){woodmartThemeModule.singleProdReviews()}),window.addEventListener("wdOpenDescHiddenTab",function(e){woodmartThemeModule.hasOwnProperty("singleProdReviews")&&woodmartThemeModule.singleProdReviews()})}(jQuery);
[+]
..
[-] filtersArea.min.js
[edit]
[-] quickShop.min.js
[edit]
[-] loginSidebar.js
[edit]
[-] shopLoader.min.js
[edit]
[-] woocommerceWrappTable.min.js
[edit]
[-] abandonedCart.min.js
[edit]
[-] product360Button.min.js
[edit]
[-] swatchesLimit.js
[edit]
[-] frequentlyBoughtTogether.js
[edit]
[-] quickShopVariationForm.min.js
[edit]
[-] trackProductViewed.min.js
[edit]
[-] frequentlyBoughtTogether.min.js
[edit]
[-] sortByWidget.js
[edit]
[-] woocommerceQuantity.min.js
[edit]
[-] stickyDetails.min.js
[edit]
[-] filterDropdowns.min.js
[edit]
[-] commentImage.min.js
[edit]
[-] woocommerceQuantity.js
[edit]
[-] singleProductTabsAccordion.js
[edit]
[-] addToCartAllTypes.min.js
[edit]
[-] swatchesVariations.min.js
[edit]
[-] loginTabs.js
[edit]
[-] categoriesAccordion.min.js
[edit]
[-] checkoutRemoveBtn.min.js
[edit]
[-] productImagesGallery.js
[edit]
[-] singleProductTabsSideHidden.js
[edit]
[-] stickyAddToCart.js
[edit]
[-] swatchesVariations.js
[edit]
[-] imagesGalleryInLoop.min.js
[edit]
[-] quickShop.js
[edit]
[-] product360Button.js
[edit]
[-] initZoom.js
[edit]
[-] emailSubscriptionCheckboxes.min.js
[edit]
[-] headerCategoriesMenu.js
[edit]
[-] headerCategoriesMenu.min.js
[edit]
[-] freeGiftsTable.js
[edit]
[-] wishlist.min.js
[edit]
[-] checkoutQuantity.min.js
[edit]
[-] ptSubscribeForm.min.js
[edit]
[-] productHover.js
[edit]
[-] updateAjaxDeliveryDates.js
[edit]
[-] productMoreDescription.min.js
[edit]
[-] woocommercePriceSlider.min.js
[edit]
[-] productImages.js
[edit]
[-] productReviewsLikes.min.js
[edit]
[-] filterDropdowns.js
[edit]
[-] singleProductTabsAccordion.min.js
[edit]
[-] shopMasonry.min.js
[edit]
[-] woodmartCompare.js
[edit]
[-] searchByFilters.js
[edit]
[-] gridQuantity.min.js
[edit]
[-] swatchesOnGrid.js
[edit]
[-] productsLoadMore.min.js
[edit]
[-] productGalleryVideo.js
[edit]
[-] variationsPrice.min.js
[edit]
[-] productReviewsCriteria.js
[edit]
[-] emailSubscriptionCheckboxes.js
[edit]
[-] freeGiftsTable.min.js
[edit]
[-] dynamicDiscountsTable.min.js
[edit]
[-] waitlistTable.min.js
[edit]
[-] abandonedCart.js
[edit]
[-] shopMasonry.js
[edit]
[-] wishlistGroup.js
[edit]
[-] wishlist.js
[edit]
[-] checkoutFields.js
[edit]
[-] addToCartAllTypes.js
[edit]
[-] imagesGalleryInLoop.js
[edit]
[-] productReviews.js
[edit]
[-] waitlistSubscribeForm.min.js
[edit]
[-] categoriesDropdowns.min.js
[edit]
[-] filtersArea.js
[edit]
[-] cartWidget.min.js
[edit]
[-] estimateDeliveryOnCart.js
[edit]
[-] productRecentlyViewed.min.js
[edit]
[-] woocommerceWrappTable.js
[edit]
[-] waitlistSubscribeForm.js
[edit]
[-] productReviewsLikes.js
[edit]
[-] checkoutRemoveBtn.js
[edit]
[-] cartQuantity.min.js
[edit]
[-] productMoreDescription.js
[edit]
[-] ptSubscribeForm.js
[edit]
[-] shopPageInit.js
[edit]
[-] countProductVisits.min.js
[edit]
[-] loginDropdown.min.js
[edit]
[-] productReviewsCriteria.min.js
[edit]
[-] loginDropdown.js
[edit]
[-] actionAfterAddToCart.min.js
[edit]
[-] miniCartQuantity.js
[edit]
[-] woodmartCompare.min.js
[edit]
[-] searchByFilters.min.js
[edit]
[-] miniCartQuantity.min.js
[edit]
[-] updateCartFragmentsFix.min.js
[edit]
[-] waitlistTable.js
[edit]
[-] onRemoveFromCart.min.js
[edit]
[-] quickShopVariationForm.js
[edit]
[-] categoriesAccordion.js
[edit]
[-] singleProductTabsSideHidden.min.js
[edit]
[-] loginTabs.min.js
[edit]
[-] checkoutFields.min.js
[edit]
[-] estimateDeliveryOnCart.min.js
[edit]
[-] productFilters.js
[edit]
[-] wishlistGroup.min.js
[edit]
[-] productRecentlyViewed.js
[edit]
[-] productFilters.min.js
[edit]
[-] shopLoader.js
[edit]
[-] productHover.min.js
[edit]
[-] quickView.min.js
[edit]
[-] checkoutQuantity.js
[edit]
[-] cartWidget.js
[edit]
[-] onRemoveFromCart.js
[edit]
[-] quickView.js
[edit]
[-] woocommerceComments.js
[edit]
[-] countProductVisits.js
[edit]
[-] dynamicDiscountsTable.js
[edit]
[-] loginSidebar.min.js
[edit]
[-] woocommerceComments.min.js
[edit]
[-] swatchesOnGrid.min.js
[edit]
[-] cartQuantity.js
[edit]
[-] productImagesGallery.min.js
[edit]
[-] updateAjaxDeliveryDates.min.js
[edit]
[-] gridQuantity.js
[edit]
[-] stickySidebarBtn.min.js
[edit]
[-] productVideo.min.js
[edit]
[-] variationsPrice.js
[edit]
[-] productReviews.min.js
[edit]
[-] ajaxFilters.js
[edit]
[-] productImages.min.js
[edit]
[-] trackProductViewed.js
[edit]
[-] ptTable.min.js
[edit]
[-] actionAfterAddToCart.js
[edit]
[-] stickyAddToCart.min.js
[edit]
[-] ptTable.js
[edit]
[-] swatchesLimit.min.js
[edit]
[-] shopPageInit.min.js
[edit]
[-] productVideo.js
[edit]
[-] productGalleryVideo.min.js
[edit]
[-] ajaxFilters.min.js
[edit]
[-] stickyDetails.js
[edit]
[-] productsLoadMore.js
[edit]
[-] woocommercePriceSlider.js
[edit]
[-] sortByWidget.min.js
[edit]
[-] commentImage.js
[edit]
[-] productsTabs.min.js
[edit]
[-] productsTabs.js
[edit]
[-] categoriesDropdowns.js
[edit]
[-] initZoom.min.js
[edit]
[-] updateCartFragmentsFix.js
[edit]
[-] stickySidebarBtn.js
[edit]