0) $order->id = (int) $_POST['orderid']; else $order->id = 0; if (isset($_POST['order_email']) && $_POST['order_email']) $order_email = trim($_POST['order_email']); else $order_email = ''; if ( !jigoshop::verify_nonce('order_tracking') ): echo '
'.__('You have taken too long. Please refresh the page and retry.', 'jigoshop').'
'; elseif ($order->id && $order_email && $order->get_order( $order->id )) : if ($order->billing_email == $order_email) : echo ''.sprintf( __('Order #%s which was made %s has the status “%s”', 'jigoshop'), $order->id, human_time_diff(strtotime($order->order_date), current_time('timestamp')).__(' ago', 'jigoshop'), $order->status ); if ($order->status == 'completed') echo __(' and was completed ', 'jigoshop').human_time_diff(strtotime($order->completed_date), current_time('timestamp')).__(' ago', 'jigoshop'); echo '.
'; ?>get_subtotal_to_display(); ?> | ||||||
get_shipping_to_display(); ?> | ||||||
get_tax_class_for_display($tax_class) . ' (' . (float) $order->get_tax_rate($tax_class) . '%):'; ?> | get_tax_amount($tax_class) ?> | |||||
order_subtotal_inc_tax); ?> | ||||||
get_shipping_to_display(); ?> | ||||||
get_tax_class_for_display($tax_class) . ' (' . (float) $order->get_tax_rate($tax_class) . '%):'; ?> | get_tax_amount($tax_class) ?> | |||||
get_tax_class_for_display($tax_class) . ' (' . (float) $order->get_tax_rate($tax_class) . '%):'; ?> | get_tax_amount($tax_class) ?> | |||||
-order_discount); ?> | ||||||
order_total); ?> | ||||||
'.$_product->sku.' | '; echo ''.$_product->get_title(); if (isset($_product->variation_data)) : echo jigoshop_get_formatted_variation( $_product->variation_data ); endif; echo ' | '; echo ''.jigoshop_price($_product->get_price()).' | '; echo ''.$order_item['qty'].' | '; echo '
billing_first_name.' '.$order->billing_last_name.'
';
if ($order->billing_company) $address .= $order->billing_company.'
';
$address .= $order->formatted_billing_address;
echo $address;
?>
shipping_first_name.' '.$order->shipping_last_name.'
';
if ($order->shipping_company) $address .= $order->shipping_company.'
';
$address .= $order->formatted_shipping_address;
echo $address;
?>
'.__('Sorry, we could not find that order id in our database. Want to retry?', 'jigoshop').'
'; endif; else : ?>