🍳

Kitchen - Page 5

Showing page 5 of 5

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

Nested Marketplace Route

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

Samsung kitche 49

$506
4.7

218 reviews

🍳

Sony kitche 50

$241
4.6

490 reviews

🍳

LG kitche 51

$534
4.6

225 reviews

🍳

Dell kitche 52

$197
4.0

94 reviews

🍳

HP kitche 53

$1000
4.7

245 reviews

🍳

Nike kitche 54

$865
4.6

70 reviews

🍳

Adidas kitche 55

$902
3.8

402 reviews

🍳

Apple kitche 56

$847
4.2

323 reviews

🍳

Samsung kitche 57

$188
4.1

419 reviews

🍳

Sony kitche 58

$1037
4.1

395 reviews

🍳

LG kitche 59

$899
5.0

160 reviews

🍳

Dell kitche 60

$849
4.4

370 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>