• Hi,
    I’m trying to get the flat_rate cost applied to the products in the cart. I have specific Shipping Rate for some country and they are all flat_rate.

    With the followind code I can to get the labels, but I need to get the relative cost.
    `$delivery_zones = WC_Shipping_Zones::get_zones();
    foreach ((array) $delivery_zones as $key => $the_zone ) {
    echo $the_zone[‘zone_name’];
    }

    I need to create a custom formula where I can work with shipping costs, regular_price and tax rate.

    • This topic was modified 5 years, 11 months ago by rgbear.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Get flat_rate cost value’ is closed to new replies.