advanced-floating-content-close-btn (function(){ var phone = '8614739666321'; function cleanText(s){ return String(s || '').replace(/\s+/g,' ').trim(); } function findProductCard(btn){ var node = btn; while(node && node !== document.body){ if(node.matches && (node.matches('.e-con, .elementor-column, li, .product, .woocommerce-loop-product, .jet-listing-grid__item, .eael-product-grid'))){ if(node.querySelector && node.querySelector('a[href*="/product/"], figcaption, .wp-caption-text, .woocommerce-loop-product__title, h2, h3')) return node; } node = node.parentElement; } return btn.parentElement; } function productTitleFrom(btn){ var card = findProductCard(btn); if(!card) return 'your used CNC machine'; var selectors = [ 'figcaption', '.wp-caption-text', '.woocommerce-loop-product__title', '.product-title', 'h2 a[href*="/product/"]', 'h3 a[href*="/product/"]', 'a[href*="/product/"]', 'h2', 'h3' ]; for(var i=0;i<selectors.length;i++){ var el = card.querySelector(selectors[i]); var t = cleanText(el && el.textContent); if(t && !/^get quote$/i.test(t) && !/^contact us$/i.test(t)) return t; } var img = card.querySelector('img[alt]'); var alt = cleanText(img && img.getAttribute('alt')); return alt || 'your used CNC machine'; } function updateQuoteButtons(){ var buttons = document.querySelectorAll('a[href*="/contact-us"], a[href$="#"]'); buttons.forEach(function(btn){ if(!/get quote/i.test(cleanText(btn.textContent))) return; var title = productTitleFrom(btn); var msg = 'Hello, I am interested in ' + title + '. Please send machine details, videos and quotation.'; btn.href = 'https://wa.me/' + phone + '?text=' + encodeURIComponent(msg); btn.target = '_blank'; btn.rel = 'noopener'; btn.setAttribute('data-minamoto-whatsapp-quote','1'); btn.setAttribute('aria-label','Get a quote for ' + title + ' on WhatsApp'); }); } document.addEventListener('DOMContentLoaded', updateQuoteButtons); window.addEventListener('load', updateQuoteButtons); setTimeout(updateQuoteButtons, 500); setTimeout(updateQuoteButtons, 1500); setTimeout(updateQuoteButtons, 3000); })();

Schedule Appointment

Fill out the form below, and we will be in touch shortly.
Floating contact button for CNC machine quotation

Learn how we helped 100 top brands gain success.

Let's have a chat