Answer the question
In order to leave comments, you need to log in
How to display WooCommerce payment methods?
How can I display connected payment methods?
Answer the question
In order to leave comments, you need to log in
Decided so, displays all delivery methods in a specific zone
$shipping_packages = WC()->cart->get_shipping_packages();
$shipping_zone = wc_get_shipping_zone( reset( $shipping_packages ) );
$zone_method = $shipping_zone->get_shipping_methods();
foreach( $zone_method as $method ) {
echo $method->title . '<br />';
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question