Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter stefanig

    (@stefanig)

    @rynald0s

    Тhank you so much, it works correctly! ??

    Have a nice day! ??

    Thread Starter stefanig

    (@stefanig)

    Hello,
    Thank you for your replay.
    I’m sorry, but it doesn’t work, it still allows me to complete my order even if the amount is below the minimum…
    I’ve tried this function for disabling proceed to checkout button, but I have an error and I don’t know where to insert it to work well.

    function disable_checkout_button_no_shipping() {
    remove_action( ‘woocommerce_proceed_to_checkout’, ‘woocommerce_button_proceed_to_checkout’, 20 );
    echo ‘Proceed to checkout‘;}
    add_action( ‘woocommerce_proceed_to_checkout’, ‘disable_checkout_button_no_shipping’, 1 );

    Can you edit it for me and tell me where to insert it?

    Best wishes,
    Stefani

    • This reply was modified 4 years, 3 months ago by stefanig.
    • This reply was modified 4 years, 3 months ago by stefanig.
    Thread Starter stefanig

    (@stefanig)

    Thank you ! ??

    What about if roundup is -2?
    example: =ROUNDUP(….;-2)

Viewing 3 replies - 1 through 3 (of 3 total)