• Resolved toughleather2019

    (@toughleather2019)


    thank you for your support for the other issues.
    1)I could hide the sidebar now on the last step, and all the information seems like to be more left. How can I center the main page on the last step?

    2)And I want to delete the “back” and “next” button, because there is already the “place_order” button. So this is enough I dont understand why there are the other buttons. How can I delete those?

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

    (@diana_burduja)

    1. You can center it by using the same wpmc_after_switching_tab JavaScript hook. Please ask a developer to help you with this customization.

    2. The “next” button normally doesn’t show up on the Login step or on the last step. On your website it shows up on all the steps because of the wpmc-nav-wrapper .wpmc-footer-right.wpmc-nav-buttons #wpmc-next{display:block!important;} CSS rule you added from the “WP Admin -> Divi -> Theme Options” page.

    The “back” button needs to show up on the last step. There is already a “Place Order” button, but the customers need a way to come back to previous steps so they can check if all the inputted data is correct.

    Thread Starter toughleather2019

    (@toughleather2019)

    thank you very much. I deleted it and now its OK.

    Thread Starter toughleather2019

    (@toughleather2019)

    I have also the “edit cart” button, so therefore I dont need the “back” button. I tried it with this code below but nothing has happen. Is there any mistake?
    <script>
    jQuery(document).ready(function( $ ){
    $(‘.woocommerce-checkout’).on(‘wpmc_after_switching_tab’, function() {
    if ( $(‘.wpmc-review.current’).length == 1 ) {
    $(‘#wpmc-prev’).hide();
    } else {
    $(‘#wpmc-prev’).show();
    }
    });
    });
    </script>

    Plugin Author Diana Burduja

    (@diana_burduja)

    Try the following code for hiding the “Back” button on the last page:

    jQuery(document).ready(function($){
        $( '.woocommerce-checkout' ).on( 'wpmc_after_switching_tab', function() {
           if ( $( '.wpmc-tabs-wrapper li.wpmc-tab-item:last-child' ).hasClass( 'current' ) ) {
              $( '#wpmc-prev' ).hide().removeClass( 'current' );
           } else {
              $( '#wpmc-prev' ).show();
           }
        });
    });
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘changes on the last step’ is closed to new replies.