🍳

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

$949
4.0

106 reviews

🍳

Sony kitche 26

$1044
3.7

184 reviews

🍳

LG kitche 27

$564
4.3

393 reviews

🍳

Dell kitche 28

$584
4.3

210 reviews

🍳

HP kitche 29

$620
4.7

65 reviews

🍳

Nike kitche 30

$362
5.0

406 reviews

🍳

Adidas kitche 31

$514
4.1

133 reviews

🍳

Apple kitche 32

$427
3.8

498 reviews

🍳

Samsung kitche 33

$218
3.6

420 reviews

🍳

Sony kitche 34

$108
3.7

174 reviews

🍳

LG kitche 35

$146
4.3

270 reviews

🍳

Dell kitche 36

$997
3.6

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