Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Better Wishlist

No security coverage Under active development 6 sites

This module adds wishlist functionality to your site, allowing users to create multiple wishlists. It supports wishlisting various entity types, including nodes and products, and can be used by both logged-in and anonymous users.

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.

Ask your assistant about Better Wishlist

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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 PHP Release date
1.0.0-beta10 Pre-release 9–10 Dec 4, 2023
1.0.0-beta9 Pre-release 9–10 Nov 23, 2023
1.0.0-beta8 Pre-release 9–10 Oct 4, 2023
1.0.0-beta7 Pre-release 9–10 Sep 8, 2023
1.0.0-beta6 Pre-release 9–10 Aug 24, 2023
1.0.0-beta5 Pre-release 9–10 Aug 22, 2023
1.0.0-beta4 Pre-release 9–10 Aug 22, 2023
1.0.0-beta3 Pre-release 9–10 Aug 9, 2023
1.0.0-beta2 Pre-release 9 May 23, 2023
1.0.0-beta1 Pre-release 9 May 10, 2023