All Orders

My Orders

qty

Continue Shopping
    0) { $prev_old = 0; $prev_total = 0; $i = 1; $numRows = mysqli_num_rows($query); while ($row=mysqli_fetch_array($query)) { $product_id = $row["product_id"]; $product_title = $row["product_title"]; $product_price = $row["product_price"]; $product_image = $row["product_image"]; $qty = $row["qty"]; $amt=$row["amt"]; $total_amt=$row["total_amt"]; $order_id=$row["order_id"]; if ($prev_old==0 || $prev_old==$order_id){ $prev_old=$order_id; $prev_total = $total_amt; $i++; echo '
  • '.$product_title.'

    #'.$product_id.'

    '.$product_title.'

    '.$qty.' x $; '.$product_price.'

    Delivered

    '.$qty.'

    '.$product_price.' $

    x
  • '; }else{ $prev_old=$order_id; $i++; echo'
Thanks for Using our Platform
  • Subtotal'.$prev_total.' $
  • Shipping0.00 $
  • Tax0.00 $
  • Total'.$prev_total.' $
  • '.$product_title.'

    #'.$product_id.'

    '.$product_title.'

    '.$qty.' x $ '.$product_price.'

    Shipping

    '.$qty.'

    '.$product_price.' $

    x
  • '; $prev_total = $total_amt; } if($i==$numRows+1){ echo '
    Thanks for Using our Platform
    • Subtotal'.$prev_total.' $
    • Shipping0.00 $
    • Tax0.00 $
    • Total'.$prev_total.' $
    '; } } }else{ } } ?>