🪑

Furniture - Page 1

Showing page 1 of 5

Path: /marketplace/home/furniture/1
3
Path Depth
345
Total Items
1
Current Page
12
Items Shown

Nested Marketplace Route

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

Samsung furnitur 1

$668
★ 4.4

326 reviews

🪑

Sony furnitur 2

$387
★ 4.6

65 reviews

🪑

LG furnitur 3

$954
★ 4.6

233 reviews

🪑

Dell furnitur 4

$55
★ 4.1

221 reviews

🪑

HP furnitur 5

$1032
★ 3.6

352 reviews

🪑

Nike furnitur 6

$356
★ 4.6

156 reviews

🪑

Adidas furnitur 7

$239
★ 4.7

387 reviews

🪑

Apple furnitur 8

$373
★ 4.7

362 reviews

🪑

Samsung furnitur 9

$949
★ 4.2

329 reviews

🪑

Sony furnitur 10

$704
★ 4.7

263 reviews

🪑

LG furnitur 11

$483
★ 4.4

189 reviews

🪑

Dell furnitur 12

$791
★ 4.7

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