Eliminar recurring total en Woocoommerce Suscriptions.

add_filter( ‘woocommerce_cart_calculate_fees’, ‘add_recurring_postage_fees’, 10, 1 ); function add_recurring_postage_fees( $cart ) { if ( ! empty( $cart->recurring_cart_key ) ) { remove_action( ‘woocommerce_cart_totals_after_order_total’, array( ‘WC_Subscriptions_Cart’, ‘display_recurring_totals’ ), 10 ); remove_action( ‘woocommerce_review_order_after_order_total’, array( ‘WC_Subscriptions_Cart’, ‘display_recurring_totals’ ), 10 ); } } Eliminar los totales de Woocommerce y dejar los de suscriptions. tfoot tr:nth-child(2), tfoot tr:nth-child(1),tfoot tr:nth-child(3){display:none;}
Para poder acceder al contenido Premium tienes que ser suscriptor. Solo 10 euros al mes.Suscríbete