Back to Opencart

Class Opencart\Catalog\Model\Account\Wishlist

docs/api/Opencart.Catalog.Model.Account.Wishlist.html

4.1.0.35.2 KB
Original Source

Namespaces

Classes

Class Opencart[Catalog](http://localhost\opencart-master/docs/api/namespace-Opencart.Catalog.html)\[Model](http://localhost\opencart-master/docs/api/namespace-Opencart.Catalog.Model.html)\[Account](http://localhost\opencart-master/docs/api/namespace-Opencart.Catalog.Model.Account.html)\[Wishlist](http://localhost\opencart-master/docs/api/Opencart.Catalog.Model.Account.Wishlist.html)

| extends | Model |

Class 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