-
Notifications
You must be signed in to change notification settings - Fork 1
/
magento.config.ts
62 lines (60 loc) · 1.6 KB
/
magento.config.ts
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
export const magentoConfig = {
// Base url
url: 'https://master-7rqtwti-mfwmkrjfqvbjk.us-4.magentosite.cloud/',
// Id of the category that host first level categories
baseCategoryId: '2',
// Home Screen carousel images (Temp solution)
homeCarousel: [
{
disabled: false,
label: '',
position: 0,
url:
'https://master-7rqtwti-mfwmkrjfqvbjk.us-4.magentosite.cloud/media/shallow-focus-photography-of-man-wearing-eyeglasses-837306_sm.jpg?auto=webp&format=pjpg&quality=85',
},
{
disabled: false,
label: '',
position: 1,
url:
'https://master-7rqtwti-mfwmkrjfqvbjk.us-4.magentosite.cloud/media/venia-hero1.jpg?auto=webp&format=pjpg&quality=85',
},
{
disabled: false,
label: '',
position: 2,
url:
'https://master-7rqtwti-mfwmkrjfqvbjk.us-4.magentosite.cloud/media/woman-wearing-orange-dress-3503488_sm.jpg?auto=webp&format=pjpg&quality=85',
},
],
// featured Catgeory products to be shown on HomeScreen, add as many as you want
homeFeaturedCategories: [
{
id: '12',
name: 'Skirts',
},
{id: '11', name: 'Pants & Shorts'},
],
};
interface CurrencySymbols {
[key: string]: string;
}
/**
* Magento 2 REST API doesn't return currency symbol,
* so manually specify all currency symbol(that your store support)
* along side their currency code.
*/
export const currencySymbols: CurrencySymbols = Object.freeze({
USD: '$',
EUR: '€',
AUD: 'A$',
GBP: '£',
CAD: 'CA$',
CNY: 'CN¥',
JPY: '¥',
SEK: 'SEK',
CHF: 'CHF',
INR: '₹',
KWD: 'د.ك',
RON: 'RON',
});