markguinn/silverstripe-wishlist

Wishlist submodule for Silverstripe Shop.

Installs: 255

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 3

Forks: 2

Open Issues: 1

Type:silverstripe-module

1.0.0 2014-07-31 15:53 UTC

This package is not auto-updated.

Last update: 2024-10-26 16:02:16 UTC


README

Allows customer to maintain multiple wishlists. Can be maintained from the WishListPage on the frontend. Originally supported both ss-shop and ecommerce modules, but ecommerce support is now only in the "agnostic" and "ecommerce" branches. For ongoing features I've chosen to specialize on ss-shop.

USAGE:

Install module via composer (markguinn/silverstripe-wishlist) or the old-fashioned way. Add the following to mysite/_config/config.yml:

Product:
  extensions:
    - CanAddToWishList

Make sure to dev/build?flush=1. You can add this extension to any Buyable model. It should work with non-sitetree models but that has not been tested.

You may need to include the WishListButtons.ss template or update your existing one in the spirit of the one included with this module.

TODO:

  • Add to alternate list from product page
  • Ajaxify product page
  • View in CMS
  • "Save an idea" feature
  • public/private lists
  • share with link
  • Apply to ProductVariations and test

DEVELOPERS:

Pull requests always welcome. Follow Silverstripe coding guidelines.

LICENSE (MIT):

Copyright (c) 2013 Mark Guinn

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.