Skip to content

Commit 1d8ddc3

Browse files
Add Shopify integration to merch store
1 parent 21c1a59 commit 1d8ddc3

File tree

4 files changed

+561
-8
lines changed

4 files changed

+561
-8
lines changed

.env.example

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
# No special permissions needed for public repositories
55
GITHUB_TOKEN=your_github_token_here
66

7+
# Shopify Configuration (for Merch Store)
8+
# Get these from: Shopify Admin > Settings > Apps and sales channels > Develop apps
9+
# Required scopes: unauthenticated_read_product_listings, unauthenticated_write_checkouts
10+
SHOPIFY_STORE_DOMAIN=your-store.myshopify.com
11+
SHOPIFY_STOREFRONT_ACCESS_TOKEN=your_storefront_access_token_here
12+
713
# Firebase Configuration (if needed)
814
# FIREBASE_API_KEY=your_firebase_api_key
915
# FIREBASE_AUTH_DOMAIN=your_firebase_auth_domain

docusaurus.config.ts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,6 @@ const config: Config = {
156156
html: '<span class="nav-emoji">💰</span> Donate',
157157
position: "left",
158158
},
159-
{
160-
to: "/merch",
161-
html: '<span class="nav-emoji">🛍️</span> Merch',
162-
position: "left",
163-
},
164159
{
165160
type: "dropdown",
166161
html: '<span class="nav-emoji">👩🏻‍💻</span> Devfolio',
@@ -206,6 +201,10 @@ const config: Config = {
206201
label: "🎙️ Podcast",
207202
to: "/podcasts/",
208203
},
204+
{
205+
label: "🛍️ Merch Store",
206+
to: "/merch",
207+
},
209208
],
210209
},
211210
// Search disabled until Algolia is properly configured
@@ -270,6 +269,9 @@ const config: Config = {
270269
// ✅ Add this customFields object to expose the token to the client-side
271270
customFields: {
272271
gitToken: process.env.DOCUSAURUS_GIT_TOKEN,
272+
// Shopify credentials for merch store
273+
SHOPIFY_STORE_DOMAIN: process.env.SHOPIFY_STORE_DOMAIN || 'junh9v-gw.myshopify.com',
274+
SHOPIFY_STOREFRONT_ACCESS_TOKEN: process.env.SHOPIFY_STOREFRONT_ACCESS_TOKEN || '2503dfbf93132b42e627e7d53b3ba3e9',
273275
hooks: {
274276
onBrokenMarkdownLinks: "warn",
275277
},

0 commit comments

Comments
 (0)