-
Notifications
You must be signed in to change notification settings - Fork 0
/
success.php
39 lines (35 loc) · 1.17 KB
/
success.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
include ("header.php");
if(!isset($_SESSION['ORDER_ID'])){
redirect(FRONT_SITE_PATH.'shop');
}
if(isset($_SESSION['COUPON_CODE'])){
unset($_SESSION['COUPON_CODE']);
unset($_SESSION['FINAL_PRICE']);
}
?>
<div class="breadcrumb-area gray-bg">
<div class="container">
<div class="breadcrumb-content">
<ul>
<li><a href="<?php echo FRONT_SITE_PATH?>shop">Home</a></li>
<li class="active">Order Placed </li>
</ul>
</div>
</div>
</div>
<div class="about-us-area pt-50 pb-100">
<div class="container">
<div class="row">
<div class="col-lg-12 col-md-7 d-flex align-items-center">
<div class="overview-content-2">
<h2>Order has been placed successfully. <br/><br/>Order Id <?php echo $_SESSION['ORDER_ID']?></h2>
</div>
</div>
</div>
</div>
</div>
<?php
unset($_SESSION['ORDER_ID']);
include("footer.php");
?>