-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathitem_3.html
129 lines (101 loc) · 4.91 KB
/
item_3.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>Jane Street Cafe | Cesar Salad</title>
<link rel="stylesheet" href="assets/css/pp_mis_oa.css" />
<!-- Standard jQquery Mobile themes can be created and replaced, to apply universal styling -->
<!-- Go to: http://jquerymobile.com/themeroller/index.php to build one, and download it to the themes directory. -->
<link rel="stylesheet" href="themes/jqm-paypal/theme.min.css" />
<!-- Do not edit or remove the following jQuery framework files. -->
<link rel="stylesheet" href="lib/jquery.mobile.structure-1.3.1.min.css" />
<script src="lib/jquery-1.9.1.min.js"></script>
<script src="lib/jquery.mobile-1.3.1.min.js"></script>
<!-- PP Bridge JS section -->
<script src="assets/js/bridge/ppbridge.js"></script>
<script src="assets/js/bridge/generic-merchant-core.js"></script>
<script type="text/javascript">
document.addEventListener("DOMContentLoaded", function(){
// Initialize the actions, handlers and callbacks
PayPalApp.init(merchantConfig);
PayPalApp.call("MerchantTitleBar");
}, false);
</script>
<!-- Below is the js for Analytics -->
<noscript><img src="https://t.paypal.com?nojs=1&pgrp=homepage&tmpl=home.html" alt="" height="1" width="1" border="0"></noscript>
<script src="assets/js/pa_thirdparty.js"></script>
<script type="text/javascript">
PAYPAL.analytics.setup();
$(document).ready(function()
{
var d = new Date();
var pgrp = 'mobile:consapp:shop:OAppDemoPS',
page = 'mobile:consapp:shop:OAppDemoPS:addItem::',
ccpg = 'usa',
server = "//t.paypal.com/ts",
e = 'im',
ts = d.getTime(),
g = d.getTimezoneOffset(),
srce = 'eci:orderahead:ppDemoPS',
mlid = sessionStorage.getItem("locationId"),
cust = sessionStorage.getItem("customerId"),
poschk = sessionStorage.getItem("tabId"),
ptname = 'paypalDemoPS';
$( "#addToOrder" ).click(function(e) {
var pgln = 'mobile:consapp:shop:OAppDemoPS:addItem::|addToCart',
pglk = 'mobile:consapp:shop:OAppDemoPS|addToCart';
});
});
</script>
</head>
<body>
<!-- Start Main Landing Page -->
<div data-role="page" data-theme="b" id="item_3" class="has_footer">
<div data-role="content">
<!-- Start item form that will post to the cart-->
<form action="#cart" method="post" class="item-form">
<!-- Start hidden form item variables -->
<input id="item_3_quantity" type="hidden" name="item_quantity" value="1" />
<input type="hidden" name="item_id" value="3" />
<input type="hidden" name="item_name" value="Bread Sticks" />
<input type="hidden" name="item_price" value="2.95" />
<input type="hidden" name="item_tax_rate" value="13" />
<!-- End hidden form item variables -->
<!-- Start Business Location Information Block -->
<ul data-role="listview" data-theme="d" data-inset="true" class="item-info island" style="margin-top:0;">
<li>
<h2>Bread Sticks <span>$2.95</span></h2>
<p>5 sticks per order. Serves 3</p>
</li>
<li class="quan-select" style="border-top:none;">
<h4>Quantity</h4>
<div data-role="controlgroup" data-type="horizontal" data-mini="true" >
<a id="item_3_quan_down" href="#" data-role="button" class="ui-icon-alt quan_down" data-iconpos="notext" data-icon="minus" data-theme="c">Remove Item</a>
<a id="item_3_count" href="#" data-role="button" data-theme="d">1</a>
<a id="item_3_quan_up" href="#" data-role="button" class="quan_up ui-icon-alt" data-iconpos="notext" data-icon="plus" data-theme="c">Add Item</a>
</div>
</li>
</ul>
<!-- End Business Location Information Block -->
<div>
<button data-role="none" class="PwPP PPBlue" data-transition="slide" type="submit" id="addToOrder"><b>Add to Order</b></button>
</div>
</form> <!-- End Item Form -->
</div> <!-- End Content Div -->
<!-- This Javascript handles converting the item form into the cart inputs -->
<script type="text/javascript" src="assets/js/add_to_cart.js"></script>
<!-- start footer -->
<div data-role="footer" data-position="fixed" data-id="footer-nav" data-theme="d" class="footer-bar" data-tap-toggle="false">
<div class="ui-grid-a">
<div class="ui-block-a">
<a data-transition="slide" data-direction="reverse" data-role="button" href="index.html" data-min="true" data-inline="true" data-theme="g">Menu</a>
</div>
<div class="ui-block-b">
<a data-theme="f" data-role="button" href="#cart" class="cart_button" data-iconpos="left" data-icon="ppoa-cart" data-min="true" data-inline="true" data-transition="slide">My Order (<span class="grand_total">$0</span>)</a>
<span class="cart_count_bubble">0</span>
</div>
</div><!-- /grid-b -->
</div><!-- end footer -->
</body>
</html>