Last active
October 23, 2023 02:10
-
-
Save kellyvaughn/79a92d3bf2f88828469eb3c49fd3be8a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
input: { | |
title: 'Allison Floral (Customized) Pocket Square', | |
bodyHtml: "<h3>Colors</h3>Lip Balm (#ec9a90, Knotty)<br>Cashew (#f4e4cb, Knotty)<br>Spruce (#768c7c, Knotty)<br>Cypress (#2f443b, Knotty)<br>High Tide (#032e45, Knotty)<br>Ruby (#752633, Knotty)<br><br> We recommend checking out our <a href='https://www.knottytie.com/products/colormatch-chart'>ColorMatch Chart</a> to verify your colors. Colors can vary from screen to print. If you want to guarantee your colors match what you are expecting, this is the best way to do it.", | |
vendor: 'Knotty Tie Co.', | |
templateSuffix: 'configured-pocket-square', | |
productType: 'Configured pocket square', | |
variants: [ { price: '20.00', options: [ '12" Square' ] } ], | |
options: [ 'Size' ], | |
tags: 'configured product, Recommendations disabled, Hidden recommendation', | |
metafields: [ | |
{ | |
key: 'patternId', | |
value: 'allison-floral', | |
type: 'string', | |
namespace: 'global' | |
}, | |
{ namespace: 'seo', key: 'hidden', value: '1', type: 'integer' }, | |
{ | |
key: 'color1', | |
value: '#752633', | |
type: 'string', | |
namespace: 'global' | |
}, | |
{ | |
key: 'color2', | |
value: '#032e45', | |
type: 'string', | |
namespace: 'global' | |
}, | |
{ | |
key: 'color3', | |
value: '#2f443b', | |
type: 'string', | |
namespace: 'global' | |
}, | |
{ | |
key: 'color4', | |
value: '#768c7c', | |
type: 'string', | |
namespace: 'global' | |
}, | |
{ | |
key: 'color5', | |
value: '#f4e4cb', | |
type: 'string', | |
namespace: 'global' | |
}, | |
{ | |
key: 'color6', | |
value: '#ec9a90', | |
type: 'string', | |
namespace: 'global' | |
} | |
] | |
}, | |
media: [ | |
{ | |
originalSource: 'https://shopify-staged-uploads.storage.googleapis.com/', | |
mediaContentType: 'IMAGE' | |
} | |
] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
productCreate: { | |
product: { | |
id: 'gid://shopify/Product/7160512151595', | |
handle: 'allison-floral-customized-pocket-square-88', | |
media: { | |
nodes: [ | |
{ | |
mediaContentType: 'IMAGE', | |
preview: { status: 'UPLOADED' } | |
} | |
] | |
} | |
}, | |
userErrors: [] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment