Show the products column on the WooCommerce orders list

// legacy – for CPT-based orders add_filter( ‘manage_edit-shop_order_columns’, ‘misha_order_items_column’ ); // for HPOS-based orders add_filter( ‘manage_woocommerce_page_wc-orders_columns’, ‘misha_order_items_column’ ); function misha_order_items_column( $columns ) { // let’s add our column before “Total” $columns = array_slice( $columns, 0, 4, true ) // 4…Continue reading

gamroud js

document.addEventListener(“DOMContentLoaded”, function() { const popup = document.getElementById(“popup”); const iframe = document.getElementById(“gumroadIframe”); const close = document.querySelector(“.close”); const buttons = document.querySelectorAll(“.checkoutButton”); buttons.forEach(function(button) { button.addEventListener(“click”, function() { const gumroadCheckoutUrl = this.getAttribute(“data-url”); iframe.src = gumroadCheckoutUrl; popup.style.display = “block”; }); }); close.addEventListener(“click”, function() { popup.style.display…Continue reading