-
Notifications
You must be signed in to change notification settings - Fork 1
/
order.html
733 lines (664 loc) · 34.4 KB
/
order.html
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
<!DOCTYPE html>
<html class="no-js" lang="zxx">
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<title>Order Now | Calbeans Coffee</title>
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link
rel="shortcut icon"
type="image/x-icon"
href="assets/img/icon/favicon.png"
/>
<link rel="stylesheet" href="assets/css/bootstrap.min.css" />
<link rel="stylesheet" href="assets/css/owl.carousel.min.css" />
<link rel="stylesheet" href="assets/css/slicknav.css" />
<link rel="stylesheet" href="assets/css/animate.min.css" />
<link rel="stylesheet" href="assets/css/magnific-popup.css" />
<link rel="stylesheet" href="assets/css/fontawesome-all.min.css" />
<link rel="stylesheet" href="assets/css/themify-icons.css" />
<link rel="stylesheet" href="assets/css/slick.css" />
<link rel="stylesheet" href="assets/css/nice-select.css" />
<link rel="stylesheet" href="assets/css/style.css" />
<script nonce="427e1d98-b04e-411a-8d02-2e44ea003e27">
(function (w, d) {
!(function (dk, dl, dm, dn) {
dk[dm] = dk[dm] || {};
dk[dm].executed = [];
dk.zaraz = { deferred: [], listeners: [] };
dk.zaraz.q = [];
dk.zaraz._f = function (dp) {
return function () {
var dq = Array.prototype.slice.call(arguments);
dk.zaraz.q.push({ m: dp, a: dq });
};
};
for (const dr of ["track", "set", "debug"])
dk.zaraz[dr] = dk.zaraz._f(dr);
dk.zaraz.init = () => {
var ds = dl.getElementsByTagName(dn)[0],
dt = dl.createElement(dn),
du = dl.getElementsByTagName("title")[0];
du && (dk[dm].t = dl.getElementsByTagName("title")[0].text);
dk[dm].x = Math.random();
dk[dm].w = dk.screen.width;
dk[dm].h = dk.screen.height;
dk[dm].j = dk.innerHeight;
dk[dm].e = dk.innerWidth;
dk[dm].l = dk.location.href;
dk[dm].r = dl.referrer;
dk[dm].k = dk.screen.colorDepth;
dk[dm].n = dl.characterSet;
dk[dm].o = new Date().getTimezoneOffset();
if (dk.dataLayer)
for (const dy of Object.entries(
Object.entries(dataLayer).reduce((dz, dA) => ({
...dz[1],
...dA[1],
}))
))
zaraz.set(dy[0], dy[1], { scope: "page" });
dk[dm].q = [];
for (; dk.zaraz.q.length; ) {
const dB = dk.zaraz.q.shift();
dk[dm].q.push(dB);
}
dt.defer = !0;
for (const dC of [localStorage, sessionStorage])
Object.keys(dC || {})
.filter((dE) => dE.startsWith("_zaraz_"))
.forEach((dD) => {
try {
dk[dm]["z_" + dD.slice(7)] = JSON.parse(dC.getItem(dD));
} catch {
dk[dm]["z_" + dD.slice(7)] = dC.getItem(dD);
}
});
dt.referrerPolicy = "origin";
dt.src =
"../../cdn-cgi/zaraz/sd0d9.js?z=" +
btoa(encodeURIComponent(JSON.stringify(dk[dm])));
ds.parentNode.insertBefore(dt, ds);
};
["complete", "interactive"].includes(dl.readyState)
? zaraz.init()
: dk.addEventListener("DOMContentLoaded", zaraz.init);
})(w, d, "zarazData", "script");
})(window, document);
</script>
</head>
<body>
<!-- START OF NAV-BAR -->
<header>
<div class="header-area">
<div class="container">
<div class="position-relative">
<div class="off-canvas-menu menu-bar d-block d-xxl-none">
<div class="line">
<span></span>
<span></span>
<span></span>
</div>
</div>
<div class="menu-body">
<div class="close-icon-menu">
<button><i class="ti-close"></i></button>
</div>
<div class="logo">
<a href="index.html"
><img
src="assets/img/logo/calbeans-logo.png"
alt=""
width="100%"
/></a>
</div>
<div class="off-can-menu">
<nav>
<ul>
<li class="click-menu">
<a href="index.html">Home</a>
</li>
<li class="click-menu">
<a href="menu.html">Menu</a>
</li>
<li class="click-menu">
<a href="about.html">About Us</a>
</li>
<li class="click-menu">
<a href="contact.html">Contact us</a>
</li>
</ul>
</nav>
</div>
<div class="menu-footer">
<a href="dashboard/customer/index.php" class="btn_01 mb-50"
>Order Online</a
>
<p class="">+63 977 779 7552</p>
<p>133-F 13th Avenue East Rembo, Makati, Philippines</p>
<div class="sidebar-social">
<a href="https://www.facebook.com/calbeanscoffee"
><i class="fab fa-facebook"></i
></a>
<a href="https://www.instagram.com/calbeans_coffee/"
><i class="fab fa-instagram"></i
></a>
</div>
</div>
</div>
</div>
</div>
</div>
</header>
<!-- END OF NAV-BAR -->
<main>
<section class="slider-area position-relative">
<div class="slider-active">
<div
class="single-slider slider-height2 hero-overly slider-bg2 order-header d-flex align-items-end"
>
<div class="container position-relative">
<div class="row">
<div
class="offset-xxl-1 col-xxl-5 col-xl-7 col-lg-7 col-md-9 col-sm-10"
>
<div class="hero-caption hero-caption2">
<h2 data-animation="pulse" data-delay=".2s">Order Now</h2>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="contact-section">
<div class="container">
<div class="row">
<div class="offset-xxl-1 col-lg-11">
<h2 class="contact-title pt-20">
Coffee Delivered Your Way
<br />
Order with Ease at Calbeans Coffee
</h2>
</div>
<div class="offset-xl-1 col-lg-7">
<form
class="form-contact"
action="order-details.php"
method="POST"
>
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<input
class="form-control"
name="customer-name"
id="customer-name"
type="text"
placeholder="Enter Name"
required
/>
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<input
class="form-control"
name="phone"
type="tel"
placeholder="Enter Phone Number"
required
/>
</div>
</div>
<div class="col-sm-12">
<div class="form-group">
<input
class="form-control"
name="email"
type="email"
placeholder="Enter Email Address"
required
/>
</div>
</div>
<div class="col-12">
<div class="form-group">
<label for="category">Category:</label>
<select
class="form-control"
id="category"
name="category"
onchange="showItems(this.value)"
required
>
<option value="" selected disabled>
Select a category
</option>
<option value="coffee-based">Coffee Based</option>
<option value="non-coffee">Non Coffee</option>
<option value="sandwich">Sandwich</option>
<option value="pastries">Pastries</option>
<option value="pasta">Pasta</option>
<option value="starters">Starters</option>
<option value="coffee-beans">
Coffee Beans and Ground
</option>
<option value="matcha-series">Matcha Series</option>
</select>
</div>
</div>
<div class="col-12">
<div class="form-group" id="item-options">
<!-- The item options will be displayed here based on the selected category -->
</div>
<!-- (WITH BUGS) BUTTON FOR SAVING ORDERS WHEN SWITCHING BETWEEN CATEGORIES -->
<!-- <button
onclick="saveSelection()"
class="genric-btn primary e-large"
>
SAVE ORDER
</button> -->
</div>
<div class="col-12">
<div class="form-group">
<textarea
class="form-control w-100"
name="additional-notes"
id="additional-notes"
cols="30"
rows="9"
placeholder="Enter Message"
></textarea>
</div>
</div>
</div>
<div class="form-group mt-3">
<button type="submit" class="genric-btn primary e-large">
SUBMIT ORDER
</button>
</div>
</form>
</div>
<div class="col-lg-3 offset-lg-1 about-shape d-none d-lg-block">
<img
src="assets/img/gallery/shape_3.png"
alt=""
style="width: 125%; float: right px-auto mx-auto"
/>
</div>
<div class="col-lg-3 offset-lg-1">
<!-- <div class="media contact-info">
<span class="contact-info__icon"><i class="ti-home"></i></span>
<div class="media-body">
<h3>133-F 13th Avenue East Rembo</h3>
<p>Makati, Philippines</p>
</div>
</div>
<div class="media contact-info">
<span class="contact-info__icon"
><i class="ti-tablet"></i
></span>
<div class="media-body">
<h3>(+63) 0977-779-7552</h3>
<p>Mon to Sun 6pm to 11pm</p>
</div>
</div>
<div class="media contact-info">
<span class="contact-info__icon"><i class="ti-email"></i></span>
<div class="media-body">
<h3>
<a
href="https://preview.colorlib.com/cdn-cgi/l/email-protection"
class="__cf_email__"
data-cfemail="483b3d3838273a3c082b2724273a24212a662b2725"
>[email protected]</a
>
</h3>
<p>Send us your query anytime!</p>
</div>
</div> -->
</div>
</div>
</div>
</section>
<!-- START OF ORDER SCRIPT -->
<script>
var selectedItems = {}; // Object to store selected items for each category
function showItems(category) {
var itemOptions = document.getElementById("item-options");
itemOptions.innerHTML = ""; // Clear the previous item options
// Check if there are items selected in another category
if (Object.keys(selectedItems).length > 0) {
// Display the previously selected items
itemOptions.innerHTML += "<h3>Selected Items:</h3>";
var prevCategoryItems = selectedItems[category] || [];
for (var i = 0; i < prevCategoryItems.length; i++) {
itemOptions.innerHTML += `<input type="checkbox" class="primary-checkbox" name="items[]" value="${prevCategoryItems[i]}" checked>${prevCategoryItems[i]}<br>`;
}
itemOptions.innerHTML += "<hr>";
}
// Start of Coffe Based Drinks
else if (category === "coffee-based") {
itemOptions.innerHTML += `
<br>
<div class="form-group">
<h3>Coffee Based</h3>
<h4>Espresso</h4>
<input type="checkbox" class="primary-checkbox" id="americano" name="items[]" value="Hot Americano (8 oz | P69.00)">
<label for="americano">Hot Americano (8 oz | P69.00) </label> <br>
<!-- <input type="number" style="width: 25%; display: inline;" class="form-control" id="americano-quantity" name="quantity[]" placeholder="Quantity" min="1" required><br> -->
<input type="checkbox" class="primary-checkbox" id="cortado" name="items[]" value="Cold Cortado (12 oz | P95.00)">
<label for="cortado">Cold Cortado (12 oz | P95.00)</label><br>
<input type="checkbox" class="primary-checkbox" id="hot-mocha" name="items[]" value="Hot Mocha (12 oz | P95.00)">
<label for="hot-mocha">Hot Mocha (12 oz | P95.00)</label><br>
<input type="checkbox" class="primary-checkbox" id="cold-mocha" name="items[]" value="Cold Mocha (16 oz | P110.00)">
<label for="cold-mocha">Cold Mocha (16 oz | P110.00)</label><br>
<input type="checkbox" class="primary-checkbox" id="hot-caramel-macchiato" name="items[]" value="Hot Caramel Macchiato * (12 oz | P100.00)">
<label for="hot-caramel-macchiato">Hot Caramel Macchiato * (12 oz | P100.00)</label><br>
<input type="checkbox" class="primary-checkbox" id="cold-caramel-macchiato" name="items[]" value="Cold Caramel Macchiato * (16 oz | P120.00)">
<label for="cold-caramel-macchiato">Cold Caramel Macchiato * (16 oz | P120.00)</label><br>
<input type="checkbox" class="primary-checkbox" id="hot-latte" name="items[]" value="Hot Latte (12 oz | P89.00)">
<label for="hot-latte">Hot Latte (12 oz | P89.00)</label><br>
<input type="checkbox" class="primary-checkbox" id="cold-latte" name="items[]" value="Cold Latte (16 oz | P95.00)">
<label for="cold-latte">Cold Latte (16 oz | P95.00)</label><br>
<input type="checkbox" class="primary-checkbox" id="affogato" name="items[]" value="Hot Affogato (8 oz | P90.00)">
<label for="affogato">Hot Affogato (8 oz | P95.00)</label><br>
<input type="checkbox" class="primary-checkbox" id="hot-choco-macchiato" name="items[]" value="Hot Choco Macchiato * (12 oz | P100.00)">
<label for="hot-choco-macchiato">Hot Choco Macchiato * (12 oz | P100.00)</label><br>
<input type="checkbox" class="primary-checkbox" id="cold-choco-macchiato" name="items[]" value="Cold Choco Macchiato * (16 oz | P120.00)">
<label for="cold-choco-macchiato">Cold Choco Macchiato * (16 oz | P120.00)</label><br>
<h4>Fresh Black Coffee / Cold Brew</h4>
<input type="checkbox" class="primary-checkbox" id="hot-vanilla" name="items[]" value="Hot Vanilla (12 oz | P69.00)">
<label for="hot-vanilla">Hot Vanilla (12 oz | P69.00)</label><br>
<input type="checkbox" class="primary-checkbox" id="cold-brew-vanilla" name="items[]" value="Cold Brew Vanilla (16 oz | P100.00)">
<label for="cold-brew-vanilla">Cold Brew Vanilla (16 oz | P100.00)</label><br>
<input type="checkbox" class="primary-checkbox" id="hot-hazelnut" name="items[]" value="Hot Hazelnut * (12 oz | P69.00)">
<label for="hot-hazelnut">Hot Hazelnut * (12 oz | P69.00)</label><br>
<input type="checkbox" class="primary-checkbox" id="cold-brew-hazelnut" name="items[]" value="Cold Brew Hazelnut * (16 oz | P100.00)">
<label for="cold-brew-hazelnut">Cold Brew Hazelnut * (16 oz | P100.00)</label><br>
<input type="checkbox" class="primary-checkbox" id="hot-vietnamese" name="items[]" value="Hot Vietnamese (12 oz | P69.00)">
<label for="hot-vietnamese">Hot Vietnamese(12 oz | P69.00)</label><br>
<input type="checkbox" class="primary-checkbox" id="cold-brew-vietnamese" name="items[]" value="Cold Brew Vietnamese (16 oz | P100.00)">
<label for="cold-brew-vietnamese">Cold Brew Vietnamese (16 oz | P100.00)</label><br>
<input type="checkbox" class="primary-checkbox" id="hot-irish-cream" name="items[]" value="Hot Irish Cream (12 oz | P69.00)">
<label for="hot-irish-cream">Hot Irish Cream(12 oz | P69.00)</label><br>
<input type="checkbox" class="primary-checkbox" id="cold-brew-irish-cream" name="items[]" value="Cold Brew Irish Cream (16 oz | P100.00)">
<label for="cold-brew-irish-cream">Cold Brew Irish Cream (16 oz | P100.00)</label><br>
<input type="checkbox" class="primary-checkbox" id="hot-black" name="items[]" value="Hot Black (12 oz | P55.00)">
<label for="hot-black">Hot Black(12 oz | P55.00)</label><br>
<input type="checkbox" class="primary-checkbox" id="cold-brew-black name="items[]" value="Cold Brew Black (16 oz | P60.00)">
<label for="cold-brew-black">Cold Brew Black (16 oz | P60.00)</label><br>
<input type="checkbox" class="primary-checkbox" id="cold-brew-flat-white" name="items[]" value="Cold Brew Flat White (16 oz | P60.00)">
<label for="cold-brew-flat-white">Cold Brew Flat White (16 oz | P80.00)</label><br>
<input type="checkbox" class="primary-checkbox" id="hot-caramel" name="items[]" value="Hot Caramel (12 oz | P69.00)">
<label for="hot-caramel">Hot Caramel(12 oz | P69.00)</label><br>
<input type="checkbox" class="primary-checkbox" id="cold-brew-caramel" name="items[]" value="Cold Brew Caramel (16 oz | P100.00)">
<label for="cold-brew-caramel">Cold Brew Caramel (16 oz | P100.00)</label><br>
</div>
`;
} else if (category === "non-coffee") {
itemOptions.innerHTML += `
<br>
<div class="form-group">
<h3>Non Coffee</h3>
<input type="checkbox" class="primary-checkbox" id="hot-tea" name="items[]" value="Hot Tea Green/Black (12 oz | P50.00)">
<label for="hot-tea">Hot Tea Green/Black (12 oz | P50.00)</label><br>
<input type="checkbox" class="primary-checkbox" id="hot-choco" name="items[]" value="Hot Caramel (12 oz | P65.00)">
<label for="hot-choco">Hot Choco(12 oz | P65.00)</label><br>
<input type="checkbox" class="primary-checkbox" id="cold-choco" name="items[]" value="Cold Choco (16 oz | P95.00)">
<label for="cold-choco">Cold Choco (16 oz | P95.00)</label><br>
</div>
`;
} else if (category === "sandwich") {
itemOptions.innerHTML += `
<br>
<div class="form-group">
<h3>Sandwich</h3>
<input type="checkbox" class="primary-checkbox" id="tuna" name="items[]" value="Tuna Sandwich">
<label for="tuna">Tuna Sandwich (P80.00)</label><br>
<input type="checkbox" class="primary-checkbox" id="cream-cheese" name="items[]" value="Cream Cheese Bun">
<label for="cream-cheese">Cream Cheese Bun (P70.00)</label><br>
<input type="checkbox" class="primary-checkbox" id="choco-bun" name="items[]" value="Choco Bun">
<label for="choco-bun">Choco Bun (P70.00)</label><br>
<input type="checkbox" class="primary-checkbox" id="sausage-sandwich" name="items[]" value="Sausage Sandwich">
<label for="sausage-sandwich">Sausage Sandwich (P80.00)</label><br>
<input type="checkbox" class="primary-checkbox" id="cheeseburger" name="items[]" value="Cheeseburger">
<label for="cheeseburger">Cheeseburger (P120.00)</label><br>
</div>
`;
} else if (category === "pastries") {
itemOptions.innerHTML += `
<br>
<div class="form-group">
<h3>Pastries</h3>
<input type="checkbox" class="primary-checkbox" id="cheesecake" name="items[]" value="Cheesecake">
<label for="cheesecake">Cheesecake (P110.00/slice)</label><br>
<input type="checkbox" class="primary-checkbox" id="cookie" name="items[]" value="Calbeans' Cookie">
<label for="cookie">Calbeans' Coookie (P40.00/pc)</label><br>
<input type="checkbox" class="primary-checkbox" id="banana-cake" name="items[]" value="Banana Cake">
<label for="banana-cake">Banana Cake (P45.00/slice)</label><br>
</div>
`;
} else if (category === "pasta") {
itemOptions.innerHTML += `
<br>
<div class="form-group">
<h3>Pasta</h3>
<input type="checkbox" class="primary-checkbox" id="red-pasta" name="items[]" value="Red Pasta">
<label for="red-pasta">Red Pasta (P100.00)</label><br>
<input type="checkbox" class="primary-checkbox" id="carbonara" name="items[]" value="Carbonara">
<label for="carbonara">Carbonara (P100.00)</label><br>
<input type="checkbox" class="primary-checkbox" id="pesto" name="items[]" value="Pesto">
<label for="pesto">Pesto (P100.00)</label><br>
</div>
`;
} else if (category === "starters") {
itemOptions.innerHTML += `
<br>
<div class="form-group">
<h3>Starters</h3>
<input type="checkbox" class="primary-checkbox" id="nachos" name="items[]" value="Nachos">
<label for="nachos">Nachos (P65.00) </label><br>
</div>
`;
} else if (category === "coffee-beans") {
itemOptions.innerHTML += `
<br>
<div class="form-group">
<h3>Coffee Beans or Ground</h3>
<h4>Total dark roast Barako (excelsa)</h4>
<input type="checkbox" class="primary-checkbox" id="barako250g" name="items[]" value="250g - P130.00">
<label for="barako250g">250g - P130.00</label><br>
<input type="checkbox" class="primary-checkbox" id="barako500g" name="items[]" value="500g - P250.00">
<label for="barako500g">500g - P250.00</label><br>
<input type="checkbox" class="primary-checkbox" id="barako1000g" name="items[]" value="1000g - P500.00">
<label for="barako1000g">1000g - P500.00</label><br>
<h4>Unconditional sweetness of Mocha (arabica, robusta)</h4>
<input type="checkbox" class="primary-checkbox" id="mocha250g" name="items[]" value="250g - P150.00">
<label for="mocha250g">250g - P150.00</label><br>
<input type="checkbox" class="primary-checkbox" id="mocha500g" name="items[]" value="500g - P290.00">
<label for="mocha500g">500g - P290.00</label><br>
<input type="checkbox" class="primary-checkbox" id="mocha1000g" name="items[]" value="1000g - P580.00">
<label for="mocha1000g">1000g - P580.00</label><br>
<h4>Limited premium Sagada Besao (arabica)</h4>
<input type="checkbox" class="primary-checkbox" id="besao250g" name="items[]" value="250g - P330.00">
<label for="besao250g">250g - P330.00</label><br>
<input type="checkbox" class="primary-checkbox" id="besao500g" name="items[]" value="500g - P650.00">
<label for="besao500g">500g - P650.00</label><br>
<input type="checkbox" class="primary-checkbox" id="besao1000g" name="items[]" value="1000g - P1300.00">
<label for="besao1000g">1000g - P1300.00</label><br>
<h4>Irresistable tast of Vanilla (arabica, robusta)</h4>
<input type="checkbox" class="primary-checkbox" id="vanilla250g" name="items[]" value="250g - P150.00">
<label for="vanilla250g">250g - P150.00</label><br>
<input type="checkbox" class="primary-checkbox" id="vanilla500g" name="items[]" value="500g - P290.00">
<label for="vanilla500g">500g - P290.00</label><br>
<input type="checkbox" class="primary-checkbox" id="vanilla1000g" name="items[]" value="1000g - P580.00">
<label for="vanilla1000g">1000g - P580.00</label><br>
<h4>Perseverance of the aromatic Hazelnut (arabica, robusta)</h4>
<input type="checkbox" class="primary-checkbox" id="hazelnut250g" name="items[]" value="250g - P150.00">
<label for="hazelnut250g">250g - P150.00</label><br>
<input type="checkbox" class="primary-checkbox" id="hazelnut500g" name="items[]" value="500g - P290.00">
<label for="hazelnut500g">500g - P290.00</label><br>
<input type="checkbox" class="primary-checkbox" id="hazelnut1000g" name="items[]" value="1000g - P580.00">
<label for="hazelnut1000g">1000g - P580.00</label><br>
</div>
`;
} else if (category === "matcha-series") {
itemOptions.innerHTML = `
<br>
<div class="form-group">
<h3>Matcha Series</h3>
<input type="checkbox" class="primary-checkbox" id="hot-matcha-macchiato" name="items[]" value="Hot Matcha Macchiato * (12 oz | P100.00)">
<label for="hot-matcha-macchiato">Hot Matcha Macchiato * (12 oz | P100.00)</label><br>
<input type="checkbox" class="primary-checkbox" id="cold-matcha-macchiato" name="items[]" value="Cold Matcha Macchiato * (16 oz | P120.00)">
<label for="cold-matcha-macchiato">Cold Matcha Macchiato * (16 oz | P120.00)</label><br>
<input type="checkbox" class="primary-checkbox" id="hot-matcha-cream" name="items[]" value="Hot Matcha Cream (12 oz | P90.00)">
<label for="hot-matcha-cream">Hot Matcha Cream(12 oz | P90.00)</label><br>
<input type="checkbox" class="primary-checkbox" id="cold-matcha-cream" name="items[]" value="Cold Matcha Cream (16 oz | P105.00)">
<label for="cold-matcha-cream">Cold Matcha Cream (16 oz | P105.00)</label><br>
<input type="checkbox" class="primary-checkbox" id="cold-matcha-banana" name="items[]" value="Cold Matcha Banana Smoothie (16 oz | P115.00)">
<label for="cold-matcha-banana">Cold Matcha Banana Smoothie (16 oz | P115.00)</label><br>
</div>
`;
}
}
function saveSelection() {
event.preventDefault();
var checkboxes = document.getElementsByClassName("primary-checkbox");
var category = document.querySelector("button:focus").textContent;
var selectedItemsInCategory = [];
for (var i = 0; i < checkboxes.length; i++) {
if (checkboxes[i].checked) {
selectedItemsInCategory.push(checkboxes[i].value);
}
}
selectedItems[category] = selectedItemsInCategory; // Store selected items for the category
console.log("Selected Items:", selectedItems);
}
</script>
<!-- END OF ORDER SCRIPT -->
</main>
<!-- START OF FOOTER -->
<footer>
<div class="footer-wrapper gray-bg">
<div class="footer-area footer-padding">
<div class="container">
<div class="row justify-content-between align-items-center">
<section class="offset-xl-1 col-xl-3 col-lg-3 col-md-4 col-sm-8">
<div class="footer-tittle text-center mb-50">
<h4>Contact Us</h4>
<ul>
<li>
<a href="tel:0977 779 7552">0977-779-7552</a>
</li>
<li>
<a
href="https://goo.gl/maps/QN8kAFVDoiUR7dxR8?coh=178571&entry=tt"
>133-F 13th Avenue East Rembo, Makati, Philippines</a
>
</li>
<div class="footer-social pt-30">
<a href="https://www.facebook.com/calbeanscoffee"
><i class="fab fa-facebook"></i
></a>
<a href="https://www.instagram.com/calbeans_coffee"
><i class="fab fa-instagram"></i
></a>
<!-- <a href="#"><i class="fab fa-linkedin-in"></i></a> -->
</div>
</ul>
</div>
</section>
<section class="col-xl-5 col-lg-5 col-md-8 col-sm-8 mx-auto">
<div class="single-footer-caption mb-50">
<div class="single-footer-caption text-center mb-20">
<div class="footer-logo mb-15">
<a href="index.html"
><img src="assets/img/logo/logo.png" alt="" width="50%"
/></a>
</div>
<p
style="line-height: 1.6; font-size: 14px; color: #636363"
>
Indulge in the Calbeans Coffee experience: where rural
charm meets urban delight! Founded in January 2021, we're
on a mission to promote local farmers, serve outstanding
coffee, and create a cozy haven for students, workers, and
coffee lovers like you.
</p>
</div>
</div>
</section>
<section class="col-xl-2 col-lg-3 col-md-4 col-sm-8 mx-auto">
<div class="footer-tittle text-center mb-50">
<h4>Navigation</h4>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="menu.html">Menu</a></li>
<li><a href="about.html">About</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</div>
</section>
</div>
</div>
</div>
<!-- Footer Upper Part: -->
<div class="footer-bottom-area">
<div class="container">
<div class="footer-border">
<div class="row">
<div class="col-xl-12">
<div class="footer-copy-right text-center">
<p>
Copyright ©
<script>
document.write(new Date().getFullYear());
</script>
All rights reserved | <a href="">Salig Tech</a>
</p>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Footer Lower Part: -->
</div>
</footer>
<!-- END OF FOOTER -->
<div id="back-top" class="">
<a title="Go to Top" href="#" class="">
<i class="fas fa-long-arrow-alt-up scroll-animate"></i
></a>
</div>
<script src="assets/js/vendor/modernizr-3.5.0.min.js"></script>
<script src="assets/js/vendor/jquery-1.12.4.min.js"></script>
<script src="assets/js/popper.min.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/owl.carousel.min.js"></script>
<script src="assets/js/slick.min.js"></script>
<script src="assets/js/jquery.slicknav.min.js"></script>
<script src="assets/js/wow.min.js"></script>
<script src="assets/js/jquery.magnific-popup.js"></script>
<script src="assets/js/jquery.nice-select.min.js"></script>
<script src="assets/js/jquery.counterup.min.js"></script>
<script src="assets/js/waypoints.min.js"></script>
<script src="assets/js/contact.js"></script>
<script src="assets/js/jquery.form.js"></script>
<script src="assets/js/jquery.validate.min.js"></script>
<script src="assets/js/mail-script.js"></script>
<script src="assets/js/jquery.ajaxchimp.min.js"></script>
<script src="assets/js/plugins.js"></script>
<script src="assets/js/main.js"></script>
<script
defer
src="https://static.cloudflareinsights.com/beacon.min.js/v52afc6f149f6479b8c77fa569edb01181681764108816"
integrity="sha512-jGCTpDpBAYDGNYR5ztKt4BQPGef1P0giN6ZGVUi835kFF88FOmmn8jBQWNgrNd8g/Yu421NdgWhwQoaOPFflDw=="
data-cf-beacon='{"rayId":"7c57b253c829042f","version":"2023.4.0","b":1,"token":"cd0b4b3a733644fc843ef0b185f98241","si":100}'
crossorigin="anonymous"
></script>
</body>
</html>