🍳

Kitchen - Page 4

Showing page 4 of 5

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

Nested Marketplace Route

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

HP kitche 37

$255
3.8

270 reviews

🍳

Nike kitche 38

$704
4.4

14 reviews

🍳

Adidas kitche 39

$207
3.9

228 reviews

🍳

Apple kitche 40

$279
4.3

243 reviews

🍳

Samsung kitche 41

$586
4.7

315 reviews

🍳

Sony kitche 42

$951
4.5

34 reviews

🍳

LG kitche 43

$188
4.0

177 reviews

🍳

Dell kitche 44

$987
4.7

314 reviews

🍳

HP kitche 45

$680
4.7

485 reviews

🍳

Nike kitche 46

$339
4.1

122 reviews

🍳

Adidas kitche 47

$429
3.8

153 reviews

🍳

Apple kitche 48

$876
4.6

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