skip to Main Content

WordPress – Woocommerce Subscription Cancellation (Send customer email)

Woocommerce subscriptions by default doesn't send subscription cancellation to the customer so I'm trying to add that by using woocommerce_subscription_status_pending-cancelHook and the function is below: add_action('woocommerce_subscription_status_pending-cancel', 'yanco_woocommerce_subscription_status_pending_cancel', 10, 3 ); function yanco_woocommerce_subscription_status_pending_cancel( $subscription ) { $customer_email = $subscription->get_billing_email(); $wc_emails =…

VIEW QUESTION

WordPress – Unset Specific Shipping Rate When Free Shipping Rate is Available for 2 Shipping zones

I found this code: /** * @snippet Hide one shipping rate when Free Shipping is available * @how-to Get CustomizeWoo.com FREE * @author Rodolfo Melogli * @compatible WooCommerce 6 * @community https://businessbloomer.com/club/ */ add_filter( 'woocommerce_package_rates', 'bbloomer_unset_shipping_when_free_is_available_in_zone', 9999, 2 ); function…

VIEW QUESTION
Back To Top
Search