🍳

Kitchen - Page 1

Showing page 1 of 5

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

Nested Marketplace Route

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

Samsung kitche 1

$379
4.2

21 reviews

🍳

Sony kitche 2

$220
3.7

323 reviews

🍳

LG kitche 3

$767
4.1

499 reviews

🍳

Dell kitche 4

$395
4.7

287 reviews

🍳

HP kitche 5

$692
4.6

170 reviews

🍳

Nike kitche 6

$489
4.8

228 reviews

🍳

Adidas kitche 7

$735
3.8

195 reviews

🍳

Apple kitche 8

$641
3.9

474 reviews

🍳

Samsung kitche 9

$372
4.6

164 reviews

🍳

Sony kitche 10

$235
3.7

416 reviews

🍳

LG kitche 11

$991
4.0

486 reviews

🍳

Dell kitche 12

$740
3.5

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