-
Notifications
You must be signed in to change notification settings - Fork 0
/
store.config.js
70 lines (62 loc) · 1.59 KB
/
store.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
module.exports = {
seo: {
title: 'NextJSStore',
description: 'Fast Demo Store',
titleTemplate: '%s | FastStore',
author: 'Store Framework',
},
// Theming
theme: 'custom-theme',
// Ecommerce Platform
platform: 'vtex',
// Platform specific configs for API
api: {
storeId: 'storeframework',
workspace: 'master',
environment: 'vtexcommercestable',
hideUnavailableItems: true,
},
// Default session
session: {
currency: {
code: 'USD',
symbol: '$',
},
locale: 'en-US',
channel: '{"salesChannel":"1","regionId":""}',
country: 'USA',
postalCode: null,
person: null,
},
// Production URLs
storeUrl: 'https://nextjs.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',
// Lighthouse CI
lighthouse: {
server: process.env.BASE_SITE_URL || 'http://localhost:3000',
pages: {
home: '/',
pdp: '/apple-magic-mouse/p',
collection: '/office',
},
},
// E2E CI
cypress: {
pages: {
home: '/',
pdp: '/apple-magic-mouse/p',
collection: '/office',
collection_2: '/technology',
collection_filtered:
'/office/?category-1=office&marca=acer&facets=category-1%2Cmarca',
search: '/s?q=orange',
},
},
analytics: {
// https://developers.google.com/tag-platform/tag-manager/web#standard_web_page_installation,
gtmContainerId: 'GTM-PGHZ95N',
},
}