Welcome I used adding your product tracking (Order Tracker for WooCommerce) but found two problems.
First: In the translation of some texts there are some texts that are not translated into Arabic, knowing that I use WPML to translate into Arabic, and I translated texts that indicate the status of the request, yet these words do not appear when translating into Arabic.
And the second problem: it’s about the vehicle being moving towards the last stage when you convert to Arabic moving opposite direction I want to solve this problem and thank you.
you can wach the vedio by Wetransleat click here
]]>Hello. i want to remove order id section from the tracking page. I already got the code. but didnt understand which part should i edit. can you help me with it?
Code:
<?php
// Don’t call the file directly
if ( !defined( ‘ABSPATH’ ) ) exit;
if(!class_exists(‘CBWCT_ORDER_TRACKER’)) {
return;
}
// set variable for getting value from input field
$get_order_number = sanitize_text_field($_POST[‘order_number’]);
$get_phone_number = sanitize_text_field($_POST[‘phone_number’]);
if(empty($get_order_number) || empty($get_phone_number)) { // search field empty check
apply_filters( ‘cbwct_order_number_phone_number_required’, esc_html__(‘Order Number & Phone field is required’, ‘cbwct’ ));
}else {
if(!isset($get_order_number)) { //order number empty
$order = NULL;
}else {
if(CBWCT_ORDER_TRACKER::order_number_exists($get_order_number) == false) {
echo apply_filters( 'cbwct_order_is_not_found', esc_html__('order is not found!', 'cbwct') , $get_order_number );
}else {
$order = wc_get_order( $get_order_number ); // set order number
$order_data = $order->get_data(); // The Order data
// get user phone number from shipping form
$user_shipping_phone_number = isset($order_data['shipping']['phone']) ? $order_data['shipping']['phone'] : '' ;
// get user phone number from billing form
$user_billing_phone_number = isset($order_data['billing']['phone']) ? $order_data['billing']['phone'] : '';
// set phone number value
if(!empty($user_billing_phone_number)) {
$user_phone = $user_billing_phone_number;
}elseif($user_billing_phone_number) {
$user_phone = $user_billing_phone_number;
}else {
$user_phone = '4654654';
}
if($get_phone_number === $user_phone || $get_phone_number === $user_phone) {
if(!empty($order)) {
$order_data = $order->get_data(); // The Order data
require_once( CBWCT_TRACKER_PATH . '/inc/templates/progressbar.php');
require_once( CBWCT_TRACKER_PATH . '/inc/templates/result.php');
}
}else {
echo apply_filters( 'cbwct_order_is_not_found', esc_html__('order is not found!', 'cbwct'), $get_order_number );
}
}
}
}
]]>Hello! Thanks for the plugin
How to customize it (icons, texts, fields, etc) ?
I can’t see the plugin’ settings in my dashboard, and there is not the answer to this question in the faq.
Thanks
]]>Hi, I’m using your plugin. I have created the page using page attribute. When I input order number and phone number it shows error.
I have copied the order and phone number from the order page, exactly same. But still it showing and error.
Can you please help? Thank you.
Hi,
Thanks for giving awesome free plugin.
How to customize the tracking page?
Hello, I’m really excited about your plugin, I’ve used a lot of plugins but yours is really the nicest and coolest ??
But unfortunately I have a problem! If I insert the shortcode, for example on a newly created page, the footer disappears ??
Can you tell me how to solve the problem
]]>