Category: eCommerce
Enable quantity field on shop page
// Remove the default add to cart button remove_action( ‘woocommerce_after_shop_loop_item’, ‘woocommerce_template_loop_add_to_cart’, 10 ); // Add custom add to cart form for both simple and variable products add_action( ‘woocommerce_after_shop_loop_item’, ‘custom_add_to_cart_form_on_shop_page’, 10 ); function custom_add_to_cart_form_on_shop_page() { global $product; if ( $product->is_type( ‘simple’…Continue reading
Google Ads
eme Configurator JSON FAQ
Socket JSON FAQ
Davit Homepage JSON FAQ
Home Page JSON FAQ
{ “@context”: “https://schema.org”, “@type”: “FAQPage”, “mainEntity”: [ { “@type”: “Question”, “name”: “What does Easily Moved Equipment specialize in?”, “acceptedAnswer”: { “@type”: “Answer”, “text”: “Easily Moved Equipment specializes in manufacturing high-quality, lightweight aluminum gantry cranes and portable lifting equipment for industrial…Continue reading
2200 JSON FAQ
{ “@context”: “https://schema.org”, “@type”: “FAQPage”, “mainEntity”: [ { “@type”: “Question”, “name”: “What is the lifting capacity of the 2200 Series Aluminum Gantry Crane?”, “acceptedAnswer”: { “@type”: “Answer”, “text”: “The 2200 Series Aluminum Gantry Crane has a rated lifting capacity of…Continue reading
Verzend mogelijkheden weghalen bij gratis verzenden behalve ophalen op locaite
function custom_hide_shipping_when_free_shipping_is_available( $rates, $package ) { $free_shipping_exists = false; $local_pickup_exists = false; // Check if Free Shipping and/or Local Pickup exist foreach ( $rates as $rate_key => $rate ) { if ( ‘free_shipping’ === $rate->get_method_id() ) { $free_shipping_exists = true;…Continue reading
3D Viewer Tracking
document.addEventListener(‘DOMContentLoaded’, function() { const viewerCanvas = document.querySelector(‘.userInput canvas’); if (!viewerCanvas) return; // track when user starts grabbing viewerCanvas.addEventListener(‘mousedown’, function() { if (typeof gtag === ‘function’) { gtag(‘event’, ‘grab_start_3d’, { event_category: ‘Viewer 3D’, event_label: ‘mousedown’ }); } }); // track when…Continue reading