Skip to content
(function () {
function updateReviewCount() {
document.querySelectorAll(
'.woocommerce-product-rating .woocommerce-review-link .count'
).forEach(function (element) {
element.textContent = '351';
});
}
// Run immediately
updateReviewCount();
// Run after the page loads
document.addEventListener('DOMContentLoaded', updateReviewCount);
window.addEventListener('load', updateReviewCount);
// Detect WooCommerce or Elementor content updates
const observer = new MutationObserver(updateReviewCount);
observer.observe(document.body, {
childList: true,
subtree: true
});
})();