🍳

Kitchen - Page 3

Showing page 3 of 5

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

Nested Marketplace Route

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

Samsung kitche 25

$791
5.0

58 reviews

🍳

Sony kitche 26

$768
4.8

115 reviews

🍳

LG kitche 27

$1020
4.1

455 reviews

🍳

Dell kitche 28

$574
3.9

405 reviews

🍳

HP kitche 29

$492
3.7

235 reviews

🍳

Nike kitche 30

$534
3.8

208 reviews

🍳

Adidas kitche 31

$311
4.6

430 reviews

🍳

Apple kitche 32

$499
4.4

202 reviews

🍳

Samsung kitche 33

$678
4.5

24 reviews

🍳

Sony kitche 34

$298
4.8

272 reviews

🍳

LG kitche 35

$556
4.7

137 reviews

🍳

Dell kitche 36

$876
4.8

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