mirror of
https://github.com/vercel/commerce.git
synced 2025-05-13 13:17:51 +00:00
81 lines
1.6 KiB
TypeScript
81 lines
1.6 KiB
TypeScript
export const baseArtworkNumber = '000';
|
|
|
|
export const sizes = [ 'xxs', 'xs', 's', 'm', 'l', 'xl', 'xxl', 'xxxl' ];
|
|
|
|
export const garmentTypes = {
|
|
tshirt: 'tshirt' as const,
|
|
cropT: 'cropT' as const,
|
|
hoodie: 'hoodie' as const,
|
|
zipHood: 'zipHood' as const,
|
|
crew: 'crew' as const,
|
|
cropCrew: 'cropCrew' as const,
|
|
};
|
|
|
|
export const garmentHandleKeys = {
|
|
'T-shirt': garmentTypes.tshirt,
|
|
'Crop T-shirt': garmentTypes.cropT,
|
|
'Hoodie': garmentTypes.hoodie,
|
|
'Zipped Hoodie': garmentTypes.zipHood,
|
|
'Crew Neck Sweatshirt': garmentTypes.crew,
|
|
'Cropped Crew Neck Sweatshirt': garmentTypes.cropCrew,
|
|
};
|
|
|
|
const xsTo2xl = sizes.slice(1, 7);
|
|
|
|
export const garmentSizes = {
|
|
[garmentTypes.tshirt]: sizes,
|
|
[garmentTypes.cropT]: xsTo2xl,
|
|
[garmentTypes.hoodie]: sizes,
|
|
[garmentTypes.zipHood]: sizes,
|
|
[garmentTypes.crew]: xsTo2xl,
|
|
[garmentTypes.cropCrew]: xsTo2xl,
|
|
};
|
|
|
|
export const garmentSKUs = {
|
|
[garmentTypes.tshirt]: 'STTU788',
|
|
[garmentTypes.cropT]: 'STTW089',
|
|
[garmentTypes.hoodie]: 'STSU867',
|
|
[garmentTypes.zipHood]: 'STSU953',
|
|
[garmentTypes.crew]: 'STSU886',
|
|
[garmentTypes.cropCrew]: 'STSW873',
|
|
};
|
|
|
|
export const colorSKUs = {
|
|
black: 'C002'
|
|
};
|
|
|
|
export const collectionsSKUs = {
|
|
'flower': 1,
|
|
'foliage': 2,
|
|
'nature': 3,
|
|
'sky': 4,
|
|
'urban': 5,
|
|
};
|
|
|
|
export const customisationSKUs = {
|
|
printArea: 'B',
|
|
tags: 'NT'
|
|
};
|
|
|
|
export const sizeSKUs = {
|
|
xxs: '2XS',
|
|
xs: 'XS',
|
|
s: 'S',
|
|
m: 'M',
|
|
l: 'L',
|
|
xl: 'XL',
|
|
xxl: '2XL',
|
|
xxxl: '3XL',
|
|
};
|
|
|
|
export const printSizeSKUs = {
|
|
[sizeSKUs.xxs]: 1,
|
|
[sizeSKUs.xs]: 1,
|
|
[sizeSKUs.s]: 2,
|
|
[sizeSKUs.m]: 2,
|
|
[sizeSKUs.l]: 3,
|
|
[sizeSKUs.xl]: 3,
|
|
[sizeSKUs.xxl]: 3,
|
|
[sizeSKUs.xxxl]: 3,
|
|
}
|