🍳

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

$721
3.8

349 reviews

🍳

Sony kitche 50

$826
3.5

329 reviews

🍳

LG kitche 51

$979
4.0

440 reviews

🍳

Dell kitche 52

$299
3.8

388 reviews

🍳

HP kitche 53

$615
4.2

42 reviews

🍳

Nike kitche 54

$960
3.6

485 reviews

🍳

Adidas kitche 55

$456
3.9

102 reviews

🍳

Apple kitche 56

$696
4.8

129 reviews

🍳

Samsung kitche 57

$461
4.3

361 reviews

🍳

Sony kitche 58

$732
4.6

181 reviews

🍳

LG kitche 59

$946
4.3

378 reviews

🍳

Dell kitche 60

$706
4.0

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