Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter saylahv

    (@ginny-parry)

    AND have to have free shipping calculated from Subtotal NOT cart Total
    Thanks

    Thread Starter saylahv

    (@ginny-parry)

    /* Made these revisions:
    $subtotal = $woocommerce->cart->subtotal;
    $free_shipping_remaining_cost = $array_temp[‘min_amount’]-$subtotal;
    $free_shipping_remaining_cost = number_format($free_shipping_remaining_cost, 2, ‘.’, ”);
    Does that seem ok?
    */

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘2 decimal places’ is closed to new replies.