• Resolved jasonwubruno

    (@jasonwubruno)


    Hollow , every one
    How to keep in the same step when I finished choosing the shipping method?my website has a shipping button, my shipping button will lead customer to another page and when they finished choosing the shipping method, the page will return to ur plugin’s checkout page, but in the very begging step, how to keep it back to the same step, like checkout step. Thank u for the response

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author SilkyPress

    (@diana_burduja)

    Hello,

    if you add the “#step-0”, “#step-1” or “#step-2” hash at the end of your checkout link, then the corresponding step will open.

    Note that the information filled in the checkout form will be lost when the customer goes to the other page. Therefore it is recommended to bring the customer to the first step.

    You might consider setting the shipping step as the first one. See the documentation for more information.

    Thread Starter jasonwubruno

    (@jasonwubruno)

    Tks for ur answer for that, And if I want to change the order step to the first step, what should I do?
    Thank u so much..

    Plugin Author SilkyPress

    (@diana_burduja)

    Please see the documentation about how to modify a step’s position.

    Thread Starter jasonwubruno

    (@jasonwubruno)

    i have already used the code from the documentation, here is my code

    if ( ! function_exists( ‘wmsc_Order_step_first’ ) ) {
    function wmsc_Order_step_first( $steps ) {
    $steps[‘Order’][‘position’] = 5;
    return $steps;
    }
    }
    add_filter( ‘wpmc_modify_steps’, ‘wmsc_Order_step_first’ );

    but my first step will be nothing, and the order step still in the position like before? what’s wrong?

    Thread Starter jasonwubruno

    (@jasonwubruno)

    i have already solved this problem,tks a lot

    Plugin Author SilkyPress

    (@diana_burduja)

    Ok, I’m glad you’ve solved it ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to stay in the same step’ is closed to new replies.