🍳

Kitchen - Page 1

Showing page 1 of 5

Path: /marketplace/home/kitchen/1
3
Path Depth
223
Total Items
1
Current Page
12
Items Shown

Nested Marketplace Route

File: /marketplace/[...path].astro
Handles: /marketplace/category/subcategory/page
Current path: ["home", "kitchen", "1"]
Parsed as: Category: "home", Subcategory: "kitchen", Page: "1"
🍳

Samsung kitche 1

$901
4.5

271 reviews

🍳

Sony kitche 2

$422
4.4

507 reviews

🍳

LG kitche 3

$416
4.4

252 reviews

🍳

Dell kitche 4

$268
4.2

270 reviews

🍳

HP kitche 5

$60
4.8

44 reviews

🍳

Nike kitche 6

$134
4.1

375 reviews

🍳

Adidas kitche 7

$918
3.9

358 reviews

🍳

Apple kitche 8

$535
3.6

309 reviews

🍳

Samsung kitche 9

$738
4.8

49 reviews

🍳

Sony kitche 10

$250
4.5

201 reviews

🍳

LG kitche 11

$508
3.8

412 reviews

🍳

Dell kitche 12

$960
4.6

200 reviews

Try These Marketplace Paths

/marketplace/electronics → Electronics category
/marketplace/electronics/phones → Phone subcategory
/marketplace/electronics/phones/2 → Page 2 of phones
/marketplace/clothing/shoes/1 → Page 1 of shoes

Nested Marketplace Implementation

---
// File: /marketplace/[...path].astro
export function getStaticPaths() {
  // Pre-generate all possible marketplace paths
  return [
    { params: { path: 'electronics' } },
    { params: { path: 'electronics/phones' } },
    { params: { path: 'electronics/phones/1' } },
    { params: { path: 'electronics/phones/2' } },
    // ... more paths
  ];
}

const { path } = Astro.params;
const [category, subcategory, page] = path.split('/');
---

<h1>{category} → {subcategory} → Page {page}</h1>