-
Notifications
You must be signed in to change notification settings - Fork 0
/
cart.php
31 lines (22 loc) · 756 Bytes
/
cart.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
<?php
ob_start();
// include header.php file
include ('header.php');
?>
<?php
/* include cart items if it is not empty */
if (isset($product)) {
count($product->getData('cart')) ? include ('Template/_cart-template.php') : include ('Template/notFound/_cart_notFound.php');
}
/* include cart items if it is not empty */
/* include top sale section */
count($product->getData('wishlist')) ? include ('Template/_wishilist_template.php') : include ('Template/notFound/_wishlist_notFound.php');
/* include top sale section */
/* include top sale section */
include ('Template/_new-phones.php');
/* include top sale section */
?>
<?php
// include footer.php file
include ('footer.php');
?>