JS Tickera Auto Click (PassieVol)

// == Voelgoed Auto-Click Seating Map Button == // Priority: Vanilla JS -> jQuery (fallback) // Always ensures button is clicked once it appears, regardless of timing. (function() { var MAX_ATTEMPTS = 20; // Limit retries to avoid performance issues…Continue reading

Meta Pixel – InitiateCheckout Event

/** * ============================================================================= * META PIXEL — InitiateCheckout (WooCommerce Checkout) * ============================================================================= * Fires on checkout page (not thank you). * Includes contents + value. * Adds a sessionStorage guard to reduce accidental duplicates. */ add_action(‘wp_footer’, ‘voelgoed_meta_pixel_initiate_checkout’, 20); function voelgoed_meta_pixel_initiate_checkout()…Continue reading

Meta Pixel – Purchase Event

/** * ============================================================================= * META PIXEL — Purchase (WooCommerce Thank You) — Dedup ready for CAPI * ============================================================================= * – Fires on thank-you page ONLY for paid orders (processing/completed) * – Uses variation_id when present * – Adds eventID =…Continue reading

Meta Pixel – AddToCart Event

/** * ============================================================================= * META PIXEL — AddToCart * ============================================================================= * – Single product: fires on form submit (no jQuery required) * – Archives AJAX: listens to WooCommerce ‘added_to_cart’ (requires jQuery) * – Fallback: click listener on add_to_cart_button if jQuery…Continue reading

Meta Pixel – ViewContent Event

// Track ViewContent event on product pages add_action(‘wp_footer’, ‘voelgoed_meta_pixel_view_content’); function voelgoed_meta_pixel_view_content() { if (!function_exists(‘is_product’)) return; if (is_product()) { global $product; if (!$product) return; ?>Continue reading

Auto Complete Virtual Orders – Not EFT

/** * Auto-complete orders that contain ONLY virtual items, * but ONLY after payment is confirmed. * EXCLUDES EFT / Direct Bank Transfer (bacs). */ add_action( “woocommerce_payment_complete”, “vg_autocomplete_virtual_orders_after_payment”, 20 ); function vg_autocomplete_virtual_orders_after_payment( $order_id ) { if ( ! $order_id )…Continue reading

reunik1

@ini_set( ‘upload_max_filesize’ , ‘128M’ ); @ini_set( ‘post_max_size’, ‘128M’); @ini_set( ‘memory_limit’, ‘256M’ ); @ini_set( ‘max_execution_time’, ‘300’ );Continue reading