TutorStarter 1.1.3 No button to pay in checkout

[ad_1]

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

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.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer