CartPage
Information
| Property | Value |
|---|---|
| Namespace | Global |
| Extends | Kirby\Cms\Page |
| Implements | Kirby\Uuid\Identifiable, Stringable |
| Source | /models/CartPage.php |
products()
Get all products in the cart
- Returns:
Kirby\Toolkit\Collectionβ Collection of cart products
fontFiles()
Get preview webfont files from all cart products (fonts and bundles)
- Returns:
Filesβ Collection of preview files for cart products