kalicr/wishlist (1.0.0)

Published 2026-06-30 20:13:01 +00:00 by kalicr-packages

Installation

{
	"repositories": [{
			"type": "composer",
			"url": ""
		}
	]
}
composer require kalicr/wishlist:1.0.0

About this package

Magento 2 module that exposes a GraphQL mutation to share wishlists via email.

KaliCR Logo

Module Kalicr_WishList

Magento 2 module that exposes a GraphQL mutation to share wishlists via email. The mutation validates ownership, filters invalid addresses, respects the native Magento sharing limits, and sends an HTML email to each recipient.

This module is developed by Kal-i CR Development Team.

Features

  • GraphQL mutation sharewishlist: allows an authenticated customer to share their wishlist by sending an email to one or more recipients.
  • Email validation: invalid addresses are skipped and reported; the mutation fails if no valid address is provided.
  • Ownership check: the authenticated customer must own the wishlist being shared.
  • Native sharing limits: honours wishlist/email/number_limit and wishlist/email/text_limit from Magento's wishlist configuration.
  • HTML email: the email body includes the wishlist items with product images, built from the store's template system.

GraphQL API

Mutation

mutation {
    sharewishlist(
        wishlistId: Int!   # ID of the wishlist to share
        emails: String!    # Comma-separated list of recipient emails
        message: String    # Optional personal message
    ) {
        success  # Boolean — true when at least one email was sent
        message  # Informational string (e.g. invalid addresses skipped)
    }
}

The mutation requires an authenticated customer (Bearer token). Calling it as a guest throws a GraphQlAuthorizationException.

Installation

Via Composer

composer require kalicr/wishlist
bin/magento module:enable Kalicr_WishList
bin/magento setup:upgrade
bin/magento cache:clean

Manual installation

  1. Copy the module into app/code/Kalicr/WishList.
  2. Run:
bin/magento module:enable Kalicr_WishList
bin/magento setup:upgrade
bin/magento cache:clean

Configuration

No additional configuration is required. The module respects the existing native Magento wishlist sharing settings found under:

Stores → Configuration → Customers → Wish List → Sharing Options

  • wishlist/email/number_limit — maximum number of emails per share action
  • wishlist/email/text_limit — maximum character length for the message

Dependencies

  • PHP: ^8.1 || ^8.2 || ^8.3
  • Composer packages:
    • magento/framework
    • magento/module-wishlist
    • magento/module-graph-ql
    • magento/module-customer
    • magento/module-catalog
    • magento/module-store

Compatibility

  • Adobe Commerce / Magento Open Source: 2.4.x
  • PHP: ^8.1 || ^8.2 || ^8.3

Technical notes

  • GraphQL resolver: Kalicr\WishList\Model\Resolver\ShareWishList
  • Sharing service: Kalicr\WishList\Model\Service\ShareWishlistService
  • Schema file: etc/schema.graphqls
  • DI wiring: etc/di.xml

Changelog

Release notes are maintained in CHANGELOG.md.

Support

If you need help with this module, contact Kal-i CR Development Team:

  • Email: contacto@kalicr.com

License

This package is distributed under the proprietary KaliCR commercial license. See LICENSE.md.

Release workflow

This repository publishes the package through Forgejo Composer Registry.

  • Workflow file: .forgejo/workflows/package.yml

Required Forgejo secrets for publication:

  • FORGEJO_PACKAGE_USERNAME
  • FORGEJO_PACKAGE_TOKEN

Dependencies

Dependencies

ID Version
magento/framework ^103.0
magento/module-catalog ^104.0
magento/module-customer ^103.0
magento/module-graph-ql ^100.4
magento/module-store ^101.1
magento/module-wishlist ^101.2
php ^8.1 || ^8.2 || ^8.3
Details
Composer
2026-06-30 20:13:01 +00:00
2
Kal-i CR Development Team
proprietary
9.2 KiB
Assets (1)
Versions (1) View all
1.0.0 2026-06-30