🍳

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

$950
4.2

437 reviews

🍳

Sony kitche 26

$772
4.9

128 reviews

🍳

LG kitche 27

$281
4.2

472 reviews

🍳

Dell kitche 28

$254
3.8

320 reviews

🍳

HP kitche 29

$688
4.4

424 reviews

🍳

Nike kitche 30

$366
3.8

295 reviews

🍳

Adidas kitche 31

$168
4.4

335 reviews

🍳

Apple kitche 32

$829
3.7

214 reviews

🍳

Samsung kitche 33

$250
4.6

127 reviews

🍳

Sony kitche 34

$681
4.0

501 reviews

🍳

LG kitche 35

$994
4.5

460 reviews

🍳

Dell kitche 36

$471
4.2

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