# Class Opencart\Catalog\Model\Account\Wishlist

`extends` | `Model`

Class Wishlist

- Opencart\System\Engine\Model
  - Opencart\Catalog\Model\Account\Wishlist

Located at catalog\model\account\wishlist.php

Methods
`public` | `addWishlist(int $customer_id, int $product_id): void` Add Wishlist Add Wishlist | #
`public` | `deleteWishlist(int $customer_id, int $product_id = 0): void` Delete Wishlist Delete Wishlist | #
`public` | `getWishlist(int $customer_id): array<int, array<string, mixed>>` Get Wishlist Get Wishlist | #
`public` | `getTotalWishlist(int $customer_id): int` Get Total Wishlist Get Total Wishlist | #

Methods inherited from Opencart\System\Engine\Model
`__construct(), __get(), __set(), __isset()`

Properties inherited from Opencart\System\Engine\Model
`$registry`

OpenCart API API documentation generated by ApiGen dev-master