Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 107

Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 234

Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 235

Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 236

Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 237

Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 238

Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 239
* @link https://themeum.com * @since 3.0.0 */ use Tutor\Ecommerce\CartController; use Tutor\Ecommerce\CheckoutController; use Tutor\Ecommerce\Settings; use Tutor\Ecommerce\Tax; use TUTOR\Input; use Tutor\Models\CouponModel; use Tutor\Models\OrderModel; $coupon_model = new CouponModel(); $cart_controller = new CartController( false ); $checkout_controller = new CheckoutController( false ); $get_cart = $cart_controller->get_cart_items(); $courses = $get_cart['courses']; $total_count = $courses['total_count']; $course_list = $courses['results']; $plan_id = (int) Input::sanitize_request_data( 'plan' ); $plan_info = apply_filters( 'tutor_checkout_plan_info', new stdClass(), $plan_id ); // Contains Course/Bundle/Plan ids. $object_ids = array(); $order_type = ( $plan_id && $plan_info ) ? OrderModel::TYPE_SUBSCRIPTION : OrderModel::TYPE_SINGLE_ORDER; $coupon_code = Input::sanitize_request_data( 'coupon_code', '' ); $has_manual_coupon_code = ! empty( $coupon_code ); $show_coupon_box = Settings::is_coupon_usage_enabled(); $is_tax_included_in_price = Tax::is_tax_included_in_price(); $tax_rate = Tax::get_user_tax_rate( get_current_user_id() ); ?>
plan_name, $plan_info->regular_price ) ) { $checkout_data = $checkout_controller->prepare_checkout_items( $plan_info->id, $order_type, $coupon_code ); $enrollment_fee = floatval( $plan_info->enrollment_fee ); $show_coupon_box = $plan_info->in_sale_price ? false : true; $plan_course_id = apply_filters( 'tutor_subscription_course_by_plan', $plan_id ); $plan_course = get_post( $plan_course_id ); $plan_course_thumbnail = get_tutor_course_thumbnail_src( 'post-thumbnail', $plan_course_id ); /** * Plan item details. * User can purchase only one plan at a time. */ $item = $checkout_data->items[0]; array_push( $object_ids, $plan_info->id ); ?>
item_name ); ?>
is_coupon_applied ) : ?>
coupon_title ); ?>
display_price ); ?>
sale_price || $item->discount_price ) : ?>
regular_price ); ?>
recurring_value > 1 ? sprintf( /* translators: %s: value, %s: name */ __( '/%1$s %2$s', 'tutor-pro' ), $plan_info->recurring_value, $plan_info->recurring_interval . ( $plan_info->recurring_value > 1 ? 's' : '' ) ) : sprintf( /* translators: %s: recurring interval */ __( '/%1$s', 'tutor-pro' ), $plan_info->recurring_interval . ( $plan_info->recurring_value > 1 ? 's' : '' ) ) ); ?>
0 ) : ?>
prepare_checkout_items( $course_ids, $order_type, $coupon_code ); ?> items as $item ) : $course = get_post( $item->item_id ); $course_thumbnail = get_tutor_course_thumbnail_src( 'post-thumbnail', $course->ID ); array_push( $object_ids, $item->item_id ); ?>
has_pro && 'course-bundle' === $course->post_type ) : ?>
ID ); // translators: %d: Number of courses in the cart. echo esc_html( sprintf( __( '%d Course bundle', 'tutor' ), count( $bundle_course_ids ) ) ); ?>
is_coupon_applied ? $checkout_data->coupon_title : '' ); ?>
display_price ); ?>
sale_price || $item->discount_price ) : ?>
regular_price ); ?>
tutor_empty_state( tutor_utils()->not_found_text() ); ?>
subtotal_price ); ?>
sale_discount > 0 ) : ?>
- sale_discount ); ?>
is_coupon_applied ) : ?>
coupon_type && $checkout_data->is_coupon_applied ) : ?> value="" placeholder="">
coupon_title ); ?> coupon_type && $checkout_data->is_coupon_applied ) : ?>
-coupon_discount ); ?>
0 && ! $is_tax_included_in_price ) : ?>
tax_amount ); ?>
total_price ); ?>
0 && $is_tax_included_in_price ) : ?>
tax_amount ) ) ); ?>
coupon_type && $checkout_data->is_coupon_applied ) : ?>