Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

This module provides wishlist functionality for your project.

Features:

- Multiple wishlists per user
- Anonymous wishlists
- Wishlist any entity type, like nodes and commerce products
- Multiple entity types per wishlist
- Optional JS widget and rest API.

Installation:

- Enable the module like any other drupal module.
- Create a new wishlist type under /admin/structure/better_wishlist_type
- On your new wishlist type, edit the field settings for "Wishlisted entity" and enable all entity types you want to wishlist

Technical information

Wishlisting an entity works via entity reference. Drupal doesn't allow referencing multiple entity types on the same entity reference field, so this module uses an "wishlist item" entity, which references the wishlisted entity and gets referenced by the wishlist entity. For each referenceable entity type, a wishlist item bundle gets created automatically. API functions like

$wishlist->addToWishlist($product_entity);
$wishlist->removeFromWishlist($other_product_entity);

are provided, so you don't have to handle any entity creation and referencing by yourself.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
10
Tracked since
May 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
1.0.0-beta10 Pre-release Dec 4, 2023
1.0.0-beta9 Pre-release Nov 23, 2023
1.0.0-beta8 Pre-release Oct 4, 2023
1.0.0-beta7 Pre-release Sep 8, 2023
1.0.0-beta6 Pre-release Aug 24, 2023
1.0.0-beta5 Pre-release Aug 22, 2023
1.0.0-beta4 Pre-release Aug 22, 2023
1.0.0-beta3 Pre-release Aug 9, 2023
1.0.0-beta2 Pre-release May 23, 2023
1.0.0-beta1 Pre-release May 10, 2023