Vieni a trovarci, o seguici sui nostro social per scoprire tutte le nostra attività.

Contatti

+393394279038
info@santagatatartufi.it
Piazza Garibaldi, 20, 47866 Sant'Agata Feltria RN, Italia
/* === NASCONDI WISHLIST PAGINA PRODOTTO === */ .single-product .shopengine_add_to_list_action.shopengine-wishlist, .single-product button.shopengine_add_to_list_action, .single-product a.shopengine_add_to_list_action, .woocommerce-page.single-product .shopengine-wishlist { display: none !important; } /* === PROCEDI AL PAGAMENTO BUTTON STYLE === */ .procedi-pagamento-btn { display: block !important; background-color: #8B6914 !important; color: #ffffff !important; border: none !important; padding: 16px 28px !important; font-size: 17px !important; font-weight: 700 !important; cursor: pointer !important; border-radius: 4px !important; text-decoration: none !important; margin-top: 12px !important; width: 100% !important; text-align: center !important; box-sizing: border-box !important; transition: background-color 0.3s ease !important; letter-spacing: 0.5px !important; font-family: Manrope, sans-serif !important; } .procedi-pagamento-btn:hover { background-color: #6a4f0f !important; color: #ffffff !important; } /* === MIGLIORAMENTO TESTI PAGINA CARRELLO === */ .woocommerce-cart h1, .woocommerce-cart h2, .woocommerce-cart h3 { font-size: 22px !important; font-weight: 700 !important; color: #222222 !important; } .woocommerce-cart .woocommerce-cart-form table.shop_table th { font-size: 15px !important; font-weight: 700 !important; color: #222222 !important; padding: 14px 12px !important; } .woocommerce-cart .woocommerce-cart-form table.shop_table td { font-size: 15px !important; color: #333333 !important; padding: 14px 12px !important; vertical-align: middle !important; } .woocommerce-cart .product-name a { font-size: 15px !important; font-weight: 600 !important; color: #222222 !important; } .woocommerce-cart .product-price, .woocommerce-cart .product-subtotal { font-size: 16px !important; font-weight: 600 !important; color: #333333 !important; } .woocommerce-cart .cart-collaterals .cart_totals h2 { font-size: 22px !important; font-weight: 700 !important; color: #222222 !important; } .woocommerce-cart .cart-collaterals .cart_totals table th, .woocommerce-cart .cart-collaterals .cart_totals table td { font-size: 16px !important; font-weight: 600 !important; color: #333333 !important; padding: 12px !important; } .woocommerce-cart .cart-collaterals .cart_totals .order-total th, .woocommerce-cart .cart-collaterals .cart_totals .order-total td { font-size: 19px !important; font-weight: 800 !important; color: #111111 !important; } .woocommerce-cart .cart-collaterals .cart_totals .order-total .amount { font-size: 20px !important; font-weight: 800 !important; color: #111111 !important; } /* === MIGLIORAMENTO TESTI PAGINA PAGAMENTO === */ .woocommerce-checkout h3, .woocommerce-checkout #order_review_heading { font-size: 22px !important; font-weight: 700 !important; color: #222222 !important; margin-bottom: 16px !important; } .woocommerce-checkout .form-row label { font-size: 15px !important; font-weight: 600 !important; color: #333333 !important; } .woocommerce-checkout .form-row input[type="text"], .woocommerce-checkout .form-row input[type="email"], .woocommerce-checkout .form-row input[type="tel"], .woocommerce-checkout .form-row select, .woocommerce-checkout .form-row textarea { font-size: 15px !important; color: #333333 !important; padding: 12px 14px !important; } .woocommerce-checkout #order_review table.shop_table th { font-size: 15px !important; font-weight: 700 !important; color: #222222 !important; padding: 12px !important; } .woocommerce-checkout #order_review table.shop_table td { font-size: 15px !important; color: #333333 !important; padding: 12px !important; } .woocommerce-checkout #order_review table.shop_table .order-total th, .woocommerce-checkout #order_review table.shop_table .order-total td { font-size: 19px !important; font-weight: 800 !important; color: #111111 !important; } .woocommerce-checkout #order_review table.shop_table .order-total .amount { font-size: 20px !important; font-weight: 800 !important; color: #111111 !important; } .woocommerce-checkout #payment .payment_methods label { font-size: 15px !important; font-weight: 600 !important; color: #333333 !important; } .woocommerce-checkout #payment .payment_box p { font-size: 14px !important; color: #555555 !important; } .woocommerce-checkout .woocommerce-privacy-policy-text p { font-size: 13px !important; color: #666666 !important; } (function() { function applyChanges() { // 1. Traduzione "Choose Quantity" -> "Scegli Quantita" document.querySelectorAll('.quantity-title').forEach(function(el) { if (el.textContent.trim() === 'Choose Quantity') { el.textContent = 'Scegli Quantit\u00e0'; } }); // 2. Nascondi wishlist ShopEngine SOLO nella pagina prodotto singolo if (document.body.classList.contains('single-product') || document.body.classList.contains('woocommerce-page')) { document.querySelectorAll('.shopengine_add_to_list_action.shopengine-wishlist, .shopengine-wishlist, [class*="wishlist"]').forEach(function(el) { if (!el.closest('.woocommerce-wishlist, .wishlist-page')) { el.style.display = 'none'; } }); } // 3. Aggiungi pulsante "Procedi al Pagamento" nella pagina prodotto var cartBtn = document.querySelector('.single_add_to_cart_button:not(.procedi-added)'); if (cartBtn && !document.querySelector('.procedi-pagamento-btn')) { var procediBtn = document.createElement('a'); procediBtn.className = 'procedi-pagamento-btn button'; procediBtn.textContent = 'Procedi al Pagamento'; procediBtn.href = '#'; procediBtn.addEventListener('click', function(e) { e.preventDefault(); var form = document.querySelector('form.cart'); if (form) { var formData = new FormData(form); var checkoutUrl = '/pagamento/'; fetch(form.action || window.location.href, { method: 'POST', body: formData, credentials: 'include', redirect: 'follow' }).then(function() { window.location.href = checkoutUrl; }).catch(function() { window.location.href = checkoutUrl; }); } }); cartBtn.classList.add('procedi-added'); cartBtn.parentElement.insertAdjacentElement('afterend', procediBtn); } } if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', applyChanges); } else { applyChanges(); } new MutationObserver(function(mutations) { mutations.forEach(function(mutation) { if (mutation.addedNodes.length) applyChanges(); }); }).observe(document.body, {childList: true, subtree: true}); })();