Skip to content

Releases: verbb/wishlist

1.4.1

06 Dec 20:21
Compare
Choose a tag to compare

Changed

  • Wishlist queries via GraphQL are now no longer automatically included in the public schema.

1.4.0

10 Nov 11:10
Compare
Choose a tag to compare

{warning} Please note the change in behaviour for craft.wishlist.item() has meant that you cannot rely on lists being auto-created anymore on page-load. Ensure anywhere you call {% set list = craft.wishlist.lists().one() %} you check {% if list %} before doing anything on the list. Ensure your templates work correctly.

Added

  • Add params to addUrl(), removeUrl() and toggleUrl() to make it easier to create URLs.
  • Add listType handle to craft.wishlist.item().
  • Add listTypeId query param to Item queries.

Changed

  • craft.wishlist.item() no longer automatically creates new lists when the page is loaded, preventing lots of lists being created for guests. Previously as soon as the page loaded with this call, a list would be created for users, meaning lists could get out of control easily. Be sure to double check your templates.

1.3.1

05 Oct 23:10
Compare
Choose a tag to compare

Fixed

  • Fix optionsSignature error when updating.

1.3.0

04 Oct 08:21
Compare
Choose a tag to compare

Added

  • Guest lists are now (finally) persistent! Using cookies, even when the user closes their browser, their lists are retained for their next visit.
  • Add migration for Shortlist plugin for Craft 2.
  • Add migration for Upvote plugin.
  • Add PDF template handling, to provide an easy way to generate PDF's of your lists and their content. See docs.
  • Add Item Options, allowing you to save additional, arbitrary content on items. See docs.
  • Add all available config settings to be able to be managed in the control panel.
  • Add support for Craft 3.5+ field layouts.
  • Add support for multiple tabs for lists.
  • Add support for multiple tabs for list items.
  • Add support to customise the item element table columns when editing a list.
  • Add new tab to user’s account, for all wishlists and items they may own.
  • Add cookieExpiry config setting.
  • Add showListInfoTab config setting.
  • Add pdfFilenameFormat config setting.
  • Add pdfPath config setting.
  • Add pdfAllowRemoteImages config setting.
  • Add pdfPaperSize config setting.
  • Add pdfPaperOrientation config setting.

Changed

  • Now requires Craft 3.5+.

1.2.21

03 Oct 02:45
Compare
Choose a tag to compare

Added

  • Add craft.wishlist.plugin Twig variable, allowing access to plugin services.
  • Add lists/update-items controller action, to enable bulk-updating on list items, similar to a cart.
  • Add BCC and CC email options when sharing a list by email.

1.2.20

26 Sep 07:51
Compare
Choose a tag to compare

Added

  • Add fields to share-lists controller action. Allowing additional content to be used in email notifications

1.2.19

18 Sep 02:26
Compare
Choose a tag to compare

Added

  • Add ability to remove items from a list when adding to cart.

Changed

  • Allow add-to-cart and share-by-email endpoints for lists to be accessed anonymously.
  • Change add-to-cart behaviour so that it only adds supplied purchasables to the cart - if provided.

1.2.18

03 Sep 12:01
Compare
Choose a tag to compare

Changed

1.2.17

21 Aug 01:00
Compare
Choose a tag to compare

Fixed

  • Fix type check error when trying to determine list owner.

1.2.16

09 Aug 22:04
Compare
Choose a tag to compare

Added

  • Add wishlist/lists/purge-inactive-lists console command.
  • Provide the list object to controller actions, to allow usage like {{ redirectInput('lists/{id}') }}. (thanks @brandonohara).
  • Add purgeEmptyListsOnly and purgeEmptyGuestListsOnly config settings.

Fixed

  • Improve error-handling for some template functions, to guard against errors.