| @@ -18,14 +18,14 @@ | ||
| 18 | 18 | <?php |
| 19 | 19 | do_action( 'learn-press/before-payment-methods' ); |
| 20 | 20 | |
| 21 | 21 | // Show payments if cart total > 0 and have at least one payment method. |
| 22 | - if ( LP()->cart && LP()->cart->needs_payment() && $available_gateways ) { | |
| 22 | + if ( LearnPress::instance()->cart && LearnPress::instance()->cart->needs_payment() && $available_gateways ) { | |
| 23 | 23 | ?> |
| 24 | 24 | <h4> |
| 25 | 25 | <?php esc_html_e( 'Payment', 'learnpress' ); ?> |
| 26 | 26 | <span class="secure-connection"> |
| 27 | - <i class="fas fa-lock"></i> | |
| 27 | + <i class="lp-icon-lock"></i> | |
| 28 | 28 | <?php echo esc_html_x( 'Secure Connection', 'payment method', 'learnpress' ); ?> |
| 29 | 29 | </span> |
| 30 | 30 | </h4> |
| 31 | 31 | |
| @@ -70,11 +70,11 @@ | ||
| 70 | 70 | <?php echo apply_filters( 'learn-press/checkout-proceed-button-text', esc_html__( 'Place order', 'learnpress' ) ); ?> |
| 71 | 71 | </button> |
| 72 | 72 | |
| 73 | 73 | <?php |
| 74 | - if ( is_user_logged_in() ) { | |
| 74 | + /*if ( is_user_logged_in() ) { | |
| 75 | 75 | wp_nonce_field( 'learn-press-user-logged', 'learn-press-checkout-nonce' ); |
| 76 | - } | |
| 76 | + }*/ | |
| 77 | 77 | |
| 78 | 78 | do_action( 'learn-press/after-checkout-submit-button' ); |
| 79 | 79 | ?> |
| 80 | 80 | </div> |