🍳

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

$605
4.6

506 reviews

🍳

Sony kitche 26

$319
3.6

75 reviews

🍳

LG kitche 27

$1045
3.6

325 reviews

🍳

Dell kitche 28

$596
4.1

434 reviews

🍳

HP kitche 29

$817
4.3

251 reviews

🍳

Nike kitche 30

$559
3.5

90 reviews

🍳

Adidas kitche 31

$675
3.5

143 reviews

🍳

Apple kitche 32

$675
4.5

426 reviews

🍳

Samsung kitche 33

$453
4.3

145 reviews

🍳

Sony kitche 34

$732
3.9

253 reviews

🍳

LG kitche 35

$975
4.5

272 reviews

🍳

Dell kitche 36

$147
4.0

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