generated from vtex-sites/starter.store
-
Notifications
You must be signed in to change notification settings - Fork 0
/
faststore.config.js
99 lines (86 loc) · 2.22 KB
/
faststore.config.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
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
module.exports = {
seo: {
"title": "FastStore",
"description": "A fast and performant store framework",
"titleTemplate": "%s | FastStore",
"author": "FastStore"
},
// Theming
theme: 'custom-theme',
// Ecommerce Platform
platform: 'vtex',
// Platform specific configs for API
api: {
storeId: "storeframework",
workspace: 'master',
environment: 'vtexcommercestable',
hideUnavailableItems: true,
incrementAddress: false,
},
// Default session
session: {
currency: {
code: "USD",
symbol: "$",
},
locale: "en-US",
channel: '{"salesChannel":1,"regionId":""}',
country: "USA",
deliveryMode: null,
addressType: null,
postalCode: null,
geoCoordinates: null,
person: null,
},
cart: {
id: '',
items: [],
messages: [],
shouldSplitItem: true,
},
// Production URLs
storeUrl: "https://storeframework.vtex.app",
secureSubdomain: "https://secure.vtexfaststore.com/",
checkoutUrl: "https://secure.vtexfaststore.com/checkout",
loginUrl: "https://secure.vtexfaststore.com/api/io/login",
accountUrl: "https://secure.vtexfaststore.com/api/io/account",
previewRedirects: {
home: '/',
plp: "/kitchen%20&%20home%20appliances",
search: "/s?q=Skechers",
pdp: "/gorgeous-soft-shirt/p",
},
// Lighthouse CI
lighthouse: {
server: process.env.BASE_SITE_URL || 'http://localhost:3000',
pages: {
home: '/',
pdp: "/gorgeous-soft-shirt/p",
collection: "/kitchen%20&%20home%20appliances",
},
},
// E2E CI
cypress: {
pages: {
home: '/',
pdp: "/gorgeous-soft-shirt/p",
collection: "/kitchen%20&%20home%20appliances",
collection_filtered: "/kitchen%20&%20home%20appliances/?category-1=kitchen%20&%20home%20appliances&brand=Skechers&facets=category-1%2Cbrand%27",
search: "/s?q=Skechers",
},
browser: 'electron',
},
analytics: {
// https://developers.google.com/tag-platform/tag-manager/web#standard_web_page_installation,
gtmContainerId: "GTM-1234567",
},
experimental: {
nodeVersion: 18,
cypressVersion: 12,
},
vtexHeadlessCms: {
webhookUrls: [
"https://storeframework.myvtex.com/cms-releases/webhook-releases",
],
},
}