forked from akashyap2013/Mobile_Shopee-E-Commerce-Website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cart.php
29 lines (20 loc) · 731 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
<?php
ob_start();
// include header.php file
include ('header.php');
?>
<?php
/* include cart items if it is not empty */
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');
?>