• Resolved Macros

    (@nizeq)


    Hello! Can you help me swap billing with order? Order has to be first and billing – next.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Diana Burduja

    (@diana_burduja)

    Hello,

    you can do that by adding the following PHP snippet to your child theme’s functions.php file:

    if ( ! function_exists( 'wmsc_order_step_before_billing' ) ) {
        function wmsc_order_step_before_billing( $steps ) {
            $steps['review']['position'] = 5;
            return $steps;
        }
    }
    add_filter( 'wpmc_modify_steps', 'wmsc_order_step_before_billing' );
    Thread Starter Macros

    (@nizeq)

    Thank you very much! You’re amazing! I’m noob in PHP??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Replace billing and order’ is closed to new replies.