Exemplo n.º 1
0
                                                                    Color
                                                                  </th>
                                                                  <th scope="col" valign="top" width="15%" class="dataTableHeading" mc:edit="data_table_heading02">
                                                                    Price
                                                                  </th>  
                                                                  <th scope="col" valign="top" width="10%" class="dataTableHeading" mc:edit="data_table_heading02">
                                                                    Qty
                                                                  </th>  
                                                                  <th scope="col" valign="top" width="15%" class="dataTableHeading" mc:edit="data_table_heading02">
                                                                    Amount
                                                                  </th>                                                                                                                                                                                                     
                                                              </tr>
                                                              
                                                              
                                                              <?php 
$detail = order_history_detail($memberid, $order_no);
if ($detail) {
    $totalamount = 0;
    foreach ($detail as $row) {
        $varimg = "";
        $img = order_history_thumbimg($row->id_product);
        if ($img) {
            $varimg = $img;
        }
        $vcolor = "-";
        if ($row->color_name) {
            $vcolor = "[" . $row->color_name . "] ";
        }
        $totalamount = $totalamount + $row->qty * $row->price;
        ?>
 																																	<tr mc:repeatable>
Exemplo n.º 2
0
    }
    //validasi track number
    if ($rowsum->status != 6) {
        if ($rowsum->status != 1 && $rowsum->status != 2) {
            $txtnoresi = "<strong>PREPARING DELIVERY</strong";
            if ($rowsum->resi_no != "") {
                $txtnoresi = "<strong>SHIPPED</strong><br />\n      Tracking Number :<br />\n      " . $rowsum->resi_no . "";
            }
        } else {
            $txtnoresi = "<strong>-</strong>";
        }
    } else {
        $txtnoresi = "<strong>ORDER CANCELED</strong>";
    }
}
$dthistory = order_history_detail($idmember, $orderno);
if (!$dthistory) {
    echo "<div id=\"cartload\"><span style=\"float:left;width:100%;text-align:center;\">failed to load detail order</span></div>";
    exit;
}
?>

<div id="cartload">
	<h3 class="ordercode">ORDER #<?php 
echo $orderno;
?>
</h3>
  <div class="cartdesc">
  	<span class="popupdetail">Order Summary</span>
  	<span class="popupqty">Qty</span>    
  	<span class="popupprice">Price</span>