How do I hide ‘out of stock’ products in the admin ‘product’ page?

You can do that by adding the code below on your theme functions php file. add_action( ‘pre_get_posts’, ‘iconic_hide_out_of_stock_products’ ); function iconic_hide_out_of_stock_products( $q ) { if ( ! $q->is_main_query() || is_admin() ) { return; } if ( $outofstock_term = get_term_by( ‘name’, ‘outofstock’, ‘product_visibility’ ) ) { $tax_query = (array) $q->get(‘tax_query’); $tax_query[] = array( ‘taxonomy’ => ‘product_visibility’, … Read more

Refund from wooCommerce with stripe [closed]

When you refunded the order in Woocommerce, did you click the button to Refund via Stripe instead of Refund manually? If you clicked Refund via Stripe, and Stripe is connected properly, the order will refund in Stripe. Have you setup a webhook endpoint in Stripe? For example, https://yourdomain.com/?wc-api=wc_stripeWoocommerce at https://dashboard.stripe.com/login?redirect=%2Faccount%2Fwebhooks