Connecting to store...

Loading...
Browse Collections ↗
No active filters
Loading products...
jQuery(document).ready(function($) { // Your Popup ID from Elementor - change this number var POPUP_ID = 'YOUR_POPUP_ID_HERE'; // Click handler for Quick View button $(document).on('click', '#gt-quick-view-btn, .gt-quick-view-btn', function(e) { e.preventDefault(); var productId = $(this).data('product-id'); if (!productId) return; // Fetch product data via WooCommerce AJAX $.ajax({ url: wc_add_to_cart_params.ajax_url, type: 'POST', data: { action: 'gt_get_quick_view_data', product_id: productId, nonce: gt_quickview.nonce }, success: function(response) { if (response.success) { var data = response.data; // Inject product data into popup $('#gt-popup-title').text(data.title); $('#gt-popup-price').html(data.price); $('#gt-popup-image').html(data.image); $('#gt-popup-variations').html(data.variations_form); // Open Elementor popup elementorProFrontend.modules.popup.showPopup( { id: POPUP_ID } ); // Initialize WooCommerce variation scripts $(document.body).trigger('wc-variation-form-ready'); } } }); }); });