• Resolved chessnichi

    (@chessnichi)


    Hi,

    After updating to TutorStarter 1.1.3 the button to pay in the checkout page has disapeared.

    I guess that should be right under the new payment location. But there isn’t anything.

    Thank you in advance,

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

    (@chessnichi)

    Ok, I think I found the issue.

    It seems that the payment.php is missing some code. Something has been mixed with the content that previously was in form-checkout.php

    https://themes.svn.www.ads-software.com/tutorstarter/1.1.3/woocommerce/checkout/payment.php

    After line 39 where you get (checkout/terms.php) you need to add the code for the “woocommerce_review_order_before_submit”, “woocommerce_order_button_html” the “woocommerce_review_order_after_submit” and the “woocommerce-process_checkout”, as described in the woocomerce template https://github.com/woocommerce/woocommerce/blob/7.2.0/plugins/woocommerce/templates/checkout/payment.php

    And then remove the repeated code from “form-checkout.php”. Unless your idea was to add that part of the code in the “form-checkout.php” file. Then it should be there.

    I’ve changed that, and now it appears and work.

    Please let me know if this is the issue or i’m missing something here.

    Thank you

    Hello @chessnichi,

    Thanks a lot for bringing this to our attention. Please apply the code given below in the following file after line 106

    wp-content/themes/tutorstarter/woocommerce/checkout/form-checkout.php

    
    <?php echo apply_filters( 'woocommerce_order_button_html', '<button type="submit" class="button alt" name="woocommerce_checkout_place_order" id="place_order" value="' . esc_attr( $order_button_text ) . '" data-value="' . esc_attr( $order_button_text ) . '">' . esc_html( $order_button_text ) . '</button>' ); // @codingStandardsIgnoreLine ?>
    
    

    We will certainly fix the issue in our upcoming update. Thanks for bearing with us.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘TutorStarter 1.1.3 No button to pay in checkout’ is closed to new replies.