Subversion Repositories SmartDukaan

Rev

Rev 17518 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 17518 Rev 17524
Line 25... Line 25...
25
        $shipingCharges = 0;
25
        $shipingCharges = 0;
26
        $grandTotalPrice = $carts[0]->totalPrice;
26
        $grandTotalPrice = $carts[0]->totalPrice;
27
        if(isset($discount)){
27
        if(isset($discount)){
28
            $grandTotalPrice = $grandTotalPrice - $discount;
28
            $grandTotalPrice = $grandTotalPrice - $discount;
29
        }
29
        }
-
 
30
        if(!empty($authorized['isPrivateDealUser'])){
30
        if($carts[0]->totalPrice < 500){
31
	        if($carts[0]->totalPrice < 500){
31
            $shipingCharges = 100;
32
	            $shipingCharges = 100;
32
        } elseif($carts[0]->totalPrice >= 500 && $carts[0]->totalPrice <1000){
33
	        } elseif($carts[0]->totalPrice >= 500 && $carts[0]->totalPrice <1000){
33
            $shipingCharges = 50;
34
	            $shipingCharges = 50;
-
 
35
	        }
34
        }
36
        }
35
        $grandTotalPrice = $grandTotalPrice + $shipingCharges;
37
        $grandTotalPrice = $grandTotalPrice + $shipingCharges;
36
        ?>
38
        ?>
37
        <div class="cart-cont">
39
        <div class="cart-cont">
38
          <div id="error" class="error_msg" style="display:none"></div>  
40
          <div id="error" class="error_msg" style="display:none"></div>