billing-form-fields.php
5 days ago
billing.php
5 days ago
cart.php
10 months ago
checkout-billing-form-fields.php
5 days ago
checkout-details.php
5 days ago
checkout.php
5 days ago
order-placement-failed.php
8 months ago
order-placement-success.php
5 days ago
order-placement-success.php
46 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Order order placement success template |
| 4 | * |
| 5 | * @package Tutor\templates |
| 6 | * @author Themeum <support@themeum.com> |
| 7 | * @link https://themeum.com |
| 8 | * @since 3.0.0 |
| 9 | */ |
| 10 | |
| 11 | use TUTOR\Dashboard; |
| 12 | |
| 13 | tutor_utils()->tutor_custom_header(); |
| 14 | |
| 15 | $order_status; |
| 16 | $order_id; |
| 17 | ?> |
| 18 | <div class="tutor-container"> |
| 19 | <div class="tutor-order-status-wrapper"> |
| 20 | <div class="tutor-d-flex tutor-flex-column tutor-align-center tutor-gap-4"> |
| 21 | <div class="tutor-order-status-icon"> |
| 22 | <img src="<?php echo esc_attr( tutor()->url . 'assets/images/orders/order-confirmed.svg' ); ?>" alt="<?php esc_html_e( 'order confirmed', 'tutor' ); ?>"> |
| 23 | </div> |
| 24 | |
| 25 | <div class="tutor-order-status-content"> |
| 26 | <h2 class="tutor-fs-4 tutor-fw-medium tutor-color-black tutor-mb-4"> |
| 27 | <?php esc_html_e( 'Order Confirmed', 'tutor' ); ?> |
| 28 | </h2> |
| 29 | <p class="tutor-fs-6 tutor-color-secondary tutor-mb-0"> |
| 30 | <?php echo esc_html( apply_filters( 'tutor_order_placement_success_message', __( 'You will receive an order confirmation email shortly.', 'tutor' ), $order_id, $order_status ) ); ?> |
| 31 | </p> |
| 32 | </div> |
| 33 | </div> |
| 34 | |
| 35 | <div class="tutor-d-flex tutor-gap-2 tutor-align-center tutor-justify-center tutor-flex-wrap"> |
| 36 | <a data-cy="tutor-native-order-history" href="<?php echo esc_url( Dashboard::get_account_page_url( 'billing' ) ); ?>" class="tutor-btn tutor-btn-secondary"> |
| 37 | <?php esc_html_e( 'Check Order List', 'tutor' ); ?> |
| 38 | </a> |
| 39 | <a href="<?php echo esc_url( tutor_utils()->course_archive_page_url() ); ?>" class="tutor-btn tutor-btn-primary"> |
| 40 | <?php esc_html_e( 'Continue Shopping', 'tutor' ); ?> |
| 41 | </a> |
| 42 | </div> |
| 43 | </div> |
| 44 | </div> |
| 45 | <?php tutor_utils()->tutor_custom_footer(); ?> |
| 46 |