🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-08-07 06:29:16 | PHP 8.2.32
📂
/ (Root)
/
home
/
eliteewa
/
public_html
/
wp-content
/
plugins
/
header-footer-elementor
/
inc
/
js
📍 /home/eliteewa/public_html/wp-content/plugins/header-footer-elementor/inc/js
🔄 Refresh
✏️
Editing: woo-products.js
Writable
/** * HFE Woo Products Widget JavaScript */ (function($) { 'use strict'; var HFEWooProducts = { init: function() { this.bindEvents(); }, bindEvents: function() { // Add any interactive functionality here $(document).on('click', '.hfe-product-add-to-cart .button', this.handleAddToCart); }, handleAddToCart: function(e) { var $button = $(this); // Add loading state $button.addClass('loading'); // Remove loading state after WooCommerce handles the request setTimeout(function() { $button.removeClass('loading'); }, 2000); } }; // Initialize when document is ready $(document).ready(function() { HFEWooProducts.init(); }); // Initialize for Elementor editor $(window).on('elementor/frontend/init', function() { elementorFrontend.hooks.addAction('frontend/element_ready/hfe-woo-product-grid.default', function($scope) { HFEWooProducts.init(); }); }); })(jQuery);
💾 Save Changes
❌ Cancel