-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproducts.js
48 lines (39 loc) · 1.75 KB
/
products.js
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
$(document).ready(function() {
var product1 = {
'name': "Dude's Rug",
'price': 339.99,
'desc': "Hey! This is a private residence, man! Yeah man. Well, you know, the Dude abides. Hardly Dude, a new 'vette? The kid's still got, oh, 96 to 97 thousand, depending on the options. The Dude abides.",
'featured': true,
'product_type': "product",
'discount': 15,
'img': 'images/rug-1.jpg'
};
var product2 = {
'name': "A New Rug",
'price': 249.99,
'desc': "That, or Duder. His Dudeness. Or El Duderino, if you know, you're not into the whole brevity thing. We wanted to talk about little Larry. May we come in? DO YOU SEE WHAT HAPPENS, LARRY? They call Los Angeles the City of Angels. I didn't find it to be that exactly, but I'll allow as there are some nice folks there.",
'featured': true,
'product_type': "product",
'discount': 10,
'img': 'images/rug-2.jpg'
};
var product3 = {
'name': "Another New Rug",
'price': 289.99,
'desc': "Forget it, Donny. You're out of your element. Our basic freedoms. This is quite a pad you got here, man. Completely unspoiled. What's a pederast, Walter? I just want to say, sir, that we're both enormous-on a personal level.",
'featured': false,
'product_type': "product",
'discount': 0,
'img': 'images/rug-3.jpg'
};
var product4 = {
'name': "The White Russian",
'price': 289.99,
'desc': "I just want to say, sir, that we're both enormous-on a personal level.",
'featured': false,
'product_type': "product",
'discount': 0,
'img': 'images/rug-4.jpg'
};
var products = [product1, product2, product3, product4];
});