OXIESEC PANEL
- Current Dir:
/
/
home
/
u432548786
/
domains
/
it-tas.com
/
public_html
Server IP: 191.96.63.230
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
07/14/2019 08:26:14 AM
rwxr-xr-x
📄
.htaccess
297 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📁
PHPMailer
-
01/20/2024 07:32:19 AM
rwxr-xr-x
📄
about-us.php
1.9 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
add-sell-product.php
18.32 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📁
admin
-
01/20/2024 07:32:19 AM
rwxr-xr-x
📄
ajax_city.php
3.33 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
ajax_get_subsub_cat.php
1.35 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
ajax_prd_get_price.php
438 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
ajax_prd_price.php
411 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
android-invoice.php
15.16 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
autosearch.php
1.7 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
book_payment.php
2.41 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
brands.php
2.07 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
cart.php
19.61 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
carts.php
17.97 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
change-password.php
5.66 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
check-login.php
5.66 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
checkout.php
29.95 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
cod_email_send.php
8.62 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
config.php
534 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
constant.php
120 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
contact-insert.php
1.96 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
contact-us.php
9.07 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
create.php
1 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📁
css
-
01/20/2024 07:32:19 AM
rwxr-xr-x
📄
db_config.php
215 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
dddd.php
19.43 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
delete_cart.php
298 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
delete_carts.php
302 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
delete_chcart.php
302 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
delete_wishlist.php
305 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📁
document
-
01/20/2024 07:32:19 AM
rwxr-xr-x
📄
edit-address.php
10.29 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
edit-profile.php
7.99 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📁
fonts
-
01/20/2024 07:32:19 AM
rwxr-xr-x
📄
forgot-password.php
6.87 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📁
fpdf
-
01/20/2024 07:32:19 AM
rwxr-xr-x
📄
free_product.php
7.19 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
google559cbc7861e1a83d.html
53 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
googleapi
135 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
googlebdc637812fd99722.html
53 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
handler.php
5.07 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
hw.php
1.64 KB
08/13/2025 03:36:42 PM
rw-r--r--
📁
images
-
01/20/2024 07:32:19 AM
rwxr-xr-x
📁
img
-
01/20/2024 07:32:19 AM
rwxr-xr-x
📁
includes
-
01/20/2024 07:32:19 AM
rwxr-xr-x
📄
index.php
3.66 KB
05/19/2025 03:00:38 AM
rw-r--r--
📄
insert_tocart.php
1.19 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
insert_towishlist.php
1.13 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
invoice-pdf.php
3.72 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
invoice.php
14.41 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
item-search.php
20.74 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
item.php
5.15 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📁
js
-
01/20/2024 07:32:19 AM
rwxr-xr-x
📄
login-check.php
2.02 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
login.php
9.44 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
logout.php
162 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
mad.php
5.96 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
manage-address.php
7.16 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
menu.min.css
431.11 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
my-coins.php
5.49 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
my-order-details.php
8.64 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
my-order.php
7.96 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
my-profile.php
6.79 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📁
neeee
-
07/14/2025 01:18:55 PM
rwxr-xr-x
📄
new-address.php
5.94 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
offline-payment.php
10.52 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
opayment.php
14.07 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
pay
12.41 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
paymail_android.php
5.65 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
payment.php
11.42 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
payment_offline.php
5.75 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📁
pdf-invoice
-
01/20/2024 07:32:19 AM
rwxr-xr-x
📄
preowned_product.php
7.17 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
privacy-policy.php
1.95 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
product-brand.php
17.65 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
product-detail.php
20.05 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
product-detail2.php
20.75 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
product-search.php
17.98 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
product.php
21.18 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📁
products
-
01/20/2024 07:32:19 AM
rwxr-xr-x
📁
razorpay-php
-
01/20/2024 07:33:04 AM
rwxr-xr-x
📄
referral-code.php
4.1 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
reg_validation.php
971 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
return-order.php
7 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
return-refund-policy.php
1.88 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
robots.txt
72 bytes
04/18/2025 06:55:08 AM
rw-r--r--
📄
sell-product.php
6.9 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
shipping-policy.php
1.87 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
shop-item.php
7.44 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
signup-insert.php
5.85 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
signup.php
14.25 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
stripe-payment.php
8.13 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
style.css
49.03 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
terms-conditions.php
1.88 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
thank-you.php
1.57 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
upd_cart.php
258 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
update_qty.php
319 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
update_qtys.php
627 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📁
uploads
-
01/20/2024 07:33:04 AM
rwxr-xr-x
📄
verify-strip.php
4.41 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
verify.php
9.39 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
web.config
221 bytes
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
wish_tocart.php
1.49 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
📄
wishlist.php
8.96 KB
01/20/2024 07:32:19 AM
rw-rw-rw-
Editing: item-search.php
Close
<?php session_start(); include("includes/db_config.php"); ?> <!DOCTYPE html> <html lang="en"> <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=" "> <meta name="author" content=""> <title>TAS Vision</title> <?php include("includes/css.php");?> <style> .price-range-field { width: 40%; min-width: 16%; background-color: #f9f9f9; border: 1px solid #6e6666; color: black; font-family: myFont; font: normal 14px Arial, Helvetica, sans-serif; border-radius: 5px; height: 26px; padding: 5px; } .adcrtbtn { border: 0px !important; background-color: #000 !important; color: #fff !important; padding: 0.5rem !important; font-size: 13px !important; border-radius: 4px; } .adcrtbtn:hover { background-color: #336699 !important; } .helpsbox { color: #000; line-height: 18px; text-align: center; padding-left: 15px; margin-top: 10px; } .product-name a { font-size: 16px; font-weight: 500; line-height: 21px; height: 18px; width: 93%; padding: 0; overflow: hidden; position: relative; display: inline-block; margin: 5px 5px 3px 5px; text-align: center; text-overflow: ellipsis; white-space: nowrap; color: #000; } @media (min-width: 320px) and (max-width: 640px) { .helpsbox { padding-left: 0px; margin-top: 3px; } } </style> </head> <body> <?php include("includes/header.php");?> <section class="pt-3 pb-3 page-info section-padding border-bottom bg-white"> <div class="container-fluid"> <div class="row"> <div class="col-md-12"> <a href="index.php"><strong><span class="mdi mdi-home"></span> Home</strong></a> <span class="mdi mdi-chevron-right"></span> <a href="#">Product</a> </div> </div> </div> </section> <section class="shop-list section-padding"> <div class="container"> <div class="row"> <?php if (isset($_GET['martsearch'])) { $martsearch =($_GET['martsearch']); $sql="select sub_category.sub_category_name,sub_category.id as scid,category.cat_name,sub_sub_category.sub_sub_cat_name,sub_sub_category.id as ss_id,sub_sub_category.sub_sub_cat_banner,product.* from product join category on product.category_id=category.id join sub_category on product.sub_category_id=sub_category.id join sub_sub_category on product.sub_sub_cat_id=sub_sub_category.id where product.prod_name like '%$martsearch%' or category.cat_name like '%$martsearch%' or sub_category.sub_category_name like '%$martsearch%' or sub_sub_category.sub_sub_cat_name like '%$martsearch%'"; $result = mysqli_query($conn, $sql); $res_prdd= mysqli_fetch_array($result); ?> <!-- <div class="col-md-2" style="padding-right:0;"> <div id="accordion" class="shop-filters "> <div class="card"> <div class="card-header"> <h5 class="mb-0"> <button class="btn btn-link collapsed"> <?php echo $res_prdd['sub_sub_cat_name']; ?> <span class="mdi mdi-chevron-down float-right"></span> </button> </h5> </div> <div class="card-body card-shop-filters"> <ul id="f1" class="checkboxes_list"> <?php $ssc_id=$res_prdd['ss_id']; $sc_id=$res_prdd['scid']; $sql_scat="select sub_sub_category.* from sub_sub_category where sub_sub_category.id !='".$ssc_id."' and sub_category_id='".$sc_id."'"; $result_scat = mysqli_query($conn, $sql_scat); while($res_scat = mysqli_fetch_array($result_scat)){ ?> <a href="product.php?id=<?php echo $res_scat['id']; ?>"> <li class="custom-control"> <label><?php echo $res_scat['sub_sub_cat_name']; ?></label> </li> </a> <?php } ?> </ul> </div> </div> </div> </div> --> <div class="col-md-12"> <!-- <div class="shop-head mb-3"> <h5 class="mb-3"><?php echo $res_prdd['sub_sub_cat_name']; ?></h5> </div>--> <div class="row no-gutters"> <?php $martsearch =($_GET['martsearch']); $sql_prd="select sub_category.sub_category_name,category.cat_name,sub_sub_category.sub_sub_cat_name,sub_sub_category.sub_sub_cat_banner,product.* from product join category on product.category_id=category.id join sub_category on product.sub_category_id=sub_category.id join sub_sub_category on product.sub_sub_cat_id=sub_sub_category.id where product.prod_name like '%$martsearch%' or category.cat_name like '%$martsearch%' or sub_category.sub_category_name like '%$martsearch%' or sub_sub_category.sub_sub_cat_name like '%$martsearch%'"; $result_prd = mysqli_query($conn, $sql_prd); while($res_prd= mysqli_fetch_array($result_prd)){ ?> <?php $cat_name=$res_prd['cat_name']; $scat_name=$res_prd['sub_category_name']; $sub_sub_cat_name=$res_prd['sub_sub_cat_name']; $prod_name=$res_prd['prod_name']; $category = strtolower(str_replace(" ", "-", $cat_name)); $sub_category = strtolower(str_replace(" ", "-", $scat_name)); $ssub_category = strtolower(str_replace(" ", "-", $sub_sub_cat_name)); $product_name = strtolower(str_replace(" ", "-", $prod_name));?> <div class="col-md-3 col-6"> <div class="srvprds"> <div class="row"> <?php $prd_id=$res_prd['id']; $sql_pd="SELECT * from product_detail where prod_id='$prd_id'"; $exe_pd=mysqli_query($conn,$sql_pd); $res_pd=mysqli_fetch_array($exe_pd); ?> <input name="prd_id" id="prod_id" value="<?php echo $res_prd['id']; ?>" class="prd_id" type="hidden"> <input name="prd_name" id="name" class="name" value="<?php echo $res_prd['prod_name']; ?>" type="hidden"> <div class="col-md-12 col-12 product-image"> <a href="https://www.it-tas.com/<?php echo "$category/$sub_category/$ssub_category/$product_name.php"; ?>"><img class="img-fluid" src="admin/product/<?php echo $res_prd['prod_img1'];?>" alt="<?php echo $res_prd['prod_name']; ?>"> </a></div> <div class="col-md-12 col-12 product-name"> <a href="https://www.it-tas.com/<?php echo "$category/$sub_category/$ssub_category/$product_name.php"; ?>"> <?php echo $res_prd['prod_name']; ?> </a> </div> <div class="col-md-6 col-6 text-center"> <div class="product-add-to-cart-btn"> <span class="discounted-prize"> <!-- <span class="main-prize"><strike>SAR <span id="divShowHide"><?php echo $res_pd['prod_cross_price']; ?></span><span id="prod_cross_price"></span></strike></span>--> <span class="discounted-prize"> SAR <span id="divShowHide1"><?php echo $res_pd['prod_price']; ?></span><span id="prod_price"></span></span> </span> </div> </div> <div class="col-md-6 col-6 text-center"> <a href="https://www.it-tas.com/<?php echo "$category/$sub_category/$ssub_category/$product_name.php"; ?>"> <button type="submit" class="adcrtbtn"><i class="mdi mdi-cart-outline"></i>Add to cart </button> </a> </div> </div> <?php } ?> </div> </div> <?php } if (isset($_POST['martsearch'])) { $martsearch =($_POST['martsearch']); $sql="select sub_category.sub_category_name,sub_category.id as scid,category.cat_name,sub_sub_category.sub_sub_cat_name,sub_sub_category.id as ss_id,sub_sub_category.sub_sub_cat_banner,product.* from product join category on product.category_id=category.id join sub_category on product.sub_category_id=sub_category.id join sub_sub_category on product.sub_sub_cat_id=sub_sub_category.id where product.prod_name like '$martsearch' or category.cat_name like '$martsearch' or sub_category.sub_category_name like '$martsearch' or sub_sub_category.sub_sub_cat_name like '$martsearch'"; $result = mysqli_query($conn, $sql); $res_prdd= mysqli_fetch_array($result); ?><!-- <div class="col-md-2" style="padding-right:0;"> <div id="accordion" class="shop-filters "> <div class="card"> <div class="card-header"> <h5 class="mb-0"> <button class="btn btn-link collapsed"> <?php echo $res_prdd['sub_sub_cat_name']; ?> <span class="mdi mdi-chevron-down float-right"></span> </button> </h5> </div> <div class="card-body card-shop-filters"> <ul id="f1" class="checkboxes_list"> <?php $ssc_id=$res_prdd['ss_id']; $sc_id=$res_prdd['scid']; $sql_scat="select sub_sub_category.* from sub_sub_category where sub_sub_category.id !='".$ssc_id."' and sub_category_id='".$sc_id."'"; $result_scat = mysqli_query($conn, $sql_scat); while($res_scat = mysqli_fetch_array($result_scat)){ ?> <a href="product.php?id=<?php echo $res_scat['id']; ?>"> <li class="custom-control"> <label><?php echo $res_scat['sub_sub_cat_name']; ?></label> </li> </a> <?php } ?> </ul> </div> </div> </div> </div> --> <div class="col-md-12"> <!--<div class="shop-head mb-3"> <h5 class="mb-3"><?php echo $res_prdd['sub_sub_cat_name']; ?></h5> </div>--> <div class="row no-gutters"> <?php $martsearch =($_POST['martsearch']); $sql_prd="select sub_category.sub_category_name,category.cat_name,sub_sub_category.sub_sub_cat_name,sub_sub_category.sub_sub_cat_banner,product.* from product join category on product.category_id=category.id join sub_category on product.sub_category_id=sub_category.id join sub_sub_category on product.sub_sub_cat_id=sub_sub_category.id where product.prod_name like '%$martsearch%' or category.cat_name like '%$martsearch%' or sub_category.sub_category_name like '%$martsearch%' or sub_sub_category.sub_sub_cat_name like '%$martsearch%'"; $result_prd = mysqli_query($conn, $sql_prd); while($res_prd= mysqli_fetch_array($result_prd)){ ?> <?php $cat_name=$res_prd['cat_name']; $scat_name=$res_prd['sub_category_name']; $sub_sub_cat_name=$res_prd['sub_sub_cat_name']; $prod_name=$res_prd['prod_name']; $category = strtolower(str_replace(" ", "-", $cat_name)); $sub_category = strtolower(str_replace(" ", "-", $scat_name)); $ssub_category = strtolower(str_replace(" ", "-", $sub_sub_cat_name)); $product_name = strtolower(str_replace(" ", "-", $prod_name));?> <div class="col-md-3 col-6"> <div class="srvprds"> <div class="row"> <?php $prd_id=$res_prd['id']; $sql_pd="SELECT * from product_detail where prod_id='$prd_id'"; $exe_pd=mysqli_query($conn,$sql_pd); $res_pd=mysqli_fetch_array($exe_pd); ?> <input name="prd_id" id="prod_id" value="<?php echo $res_prd['id']; ?>" class="prd_id" type="hidden"> <input name="prd_name" id="name" class="name" value="<?php echo $res_prd['prod_name']; ?>" type="hidden"> <div class="col-md-12 col-12 product-image"> <a href="https://www.it-tas.com/<?php echo "$category/$sub_category/$ssub_category/$product_name.php"; ?>"> <img class="img-fluid" src="admin/product/<?php echo $res_prd['prod_img1'];?>" alt="<?php echo $res_prd['prod_name']; ?>"></a> </div> <div class="col-md-12 col-12 product-name"> <a href="https://www.it-tas.com/<?php echo "$category/$sub_category/$ssub_category/$product_name.php"; ?>"> <?php echo $res_prd['prod_name']; ?> </a> </div> <div class="col-md-6 col-6 text-center"> <div class="product-add-to-cart-btn"> <span class="discounted-prize"> SAR <span id="divShowHide"><?php echo $res_pd['prod_price']; ?></span><span id="prod_price"> </span><!-- <br><span class="regular-price">SAR <span id="divShowHide1"><?php echo $res_pd['prod_cross_price']; ?></span> <span id="prod_cross_price"> </span></span>--> </span> </div> </div> <div class="col-md-6 col-6 text-center"> <a href="https://www.it-tas.com/<?php echo "$category/$sub_category/$ssub_category/$product_name.php"; ?>"> <button type="submit" class="adcrtbtn"><i class="mdi mdi-cart-outline"></i>Add to cart </button> </a> </div> </div> </div> </div> <?php } ?> </div> </div> <?php } ?> </div> </div> </div> </div> </section> <?php include("includes/footer.php");?> <?php include("includes/js.php");?> <script type="text/javascript"> $(function() { $(document.body).on('change', "#prod_quanttity", function(e) { var qid = $(this).val(); //var qid = $('#prod_quanttity').val(); //alert(qid); $.ajax({ method: "POST", url: "ajax_prd_price.php", data: 'qid=' + qid, dataType: 'JSON', success: function(data) { $('#prod_price').text(data.prod_price); $('#prod_cross_price').text(data.prod_cross_price); $('#prod_discount').text(data.prod_discount); console.log(data); } }); }); }); $(function() { $('body').on('change', '#prod_quanttity', function() { //$(document).ready(function(){ // $('#prod_quanttity').on('change', function() { if (this.value == '0') { $("#divShowHide").show(); $("#divShowHide1").show(); } else { $("#divShowHide").hide(); $("#divShowHide1").hide(); } }); }); </script> <script> $(function() { $('body').on('click', '#butsave', function() { var $container = $(this).closest(".container"); //var prodcut_name = $('#name' + container).val(); //var prod_id = $('#prd_id' + container).val(); var prd_name = $container.find("#name").val(); var prod_id = $container.find("#prod_id").val(); var prod_quanttity = $container.find("#prod_quanttity").val(); //$("#butsave").attr("disabled", "disabled"); //var prd_name = $('#name').val(); //var prod_id = $('#prod_id').val(); // var prod_quanttity = $('#prod_quanttity').val(); if (prd_name != "" && prod_id != "" && prod_quanttity != "") { $.ajax({ url: "insert_tocart.php", type: "POST", data: { prd_name: prd_name, prod_id: prod_id, prod_quanttity: prod_quanttity }, cache: false, success: function(dataResult) { var dataResult = JSON.parse(dataResult); if (dataResult.statusCode == 200) { window.location.href = 'cart.php'; //alert("Data added successfully !"); } else if (dataResult.statusCode == 201) { alert("Error occured !"); } } }); } else { alert('Please fill all the field !'); } }); }); </script> </body> </html>