-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathgatsby-shopifystore.js
52 lines (52 loc) · 1.31 KB
/
gatsby-shopifystore.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
49
50
51
52
module.exports = {
product: {
text : { button: 'Add to Cart' },
iframe : false,
contents : {
img : false,
title : false,
price : false,
options: false
},
templates : {
button : '<button class="button primary icon solid fa-cart-plus {{data.classes.product.button}}">{{data.buttonText}}</button>'
},
buttonDestination: 'cart',
quantiyLabel: 'Quantity'
},
toggle: {
contents: {
count: true,
icon: true,
title: false,
},
styles: {
button: {
'background-color': '#78b657',
}
}
},
cart: {
startOpen: false,
contents: {
title: true,
lineItems: true,
footer: true,
note: true,
},
text: {
title: 'Cart',
empty: 'Your cart is empty.',
button: 'Checkout',
total: 'Total',
currency: 'USD',
notice: 'Shipping and discount codes are added at checkout.',
noteDescription: 'Special instructions for seller',
},
styles: {
button: {
'background-color': '#78b657',
}
}
}
}