@itleadopencommerce/api-plugin-favorites
v0.4.2
Published
Favorites plugin for the Reaction API
Downloads
4
Keywords
Readme
api-plugin-catalogs
Summary
Catalogs plugin for the Reaction API
Developer Certificate of Origin
We use the Developer Certificate of Origin (DCO) in lieu of a Contributor License Agreement for all contributions to Reaction Commerce open source projects. We request that contributors agree to the terms of the DCO and indicate that agreement by signing all commits made to Reaction Commerce projects by adding a line with your name and email address to every Git commit message contributed:
Signed-off-by: Jane Doe <[email protected]>
You can sign your commit automatically with Git by using git commit -s
if you have your user.name
and user.email
set as part of your Git configuration.
We ask that you use your real name (please no anonymous contributions or pseudonyms). By signing your commit you are certifying that you have the right have the right to submit it under the open source license used by that particular Reaction Commerce project. You must use your real name (no pseudonyms or anonymous contributions are allowed.)
We use the Probot DCO GitHub app to check for DCO signoffs of every commit.
If you forget to sign your commits, the DCO bot will remind you and give you detailed instructions for how to amend your commits to add a signature.
License
This Reaction plugin is GNU GPLv3 Licensed
Change Log
v0.4.2
Summary
Remame method
v0.4.1
Summary
Add variantData method to query. Returns data from context.query.variant()
by variantId
v0.4.0
Summary
Add encode and decode support
Rename methods
addProductToFavorite()
->addVariantToFavorite()
removeProductFromFavorite()
->removeVariantFromFavorite()
Deleted
deleted i118 folder
v0.3.0
Summary
Rebuild main logic -> now client must be authorized to get / update / delete favorites.
Permissions: only client have rights to manipulate gis favorites
Deprecated
Mongo and GraphQL Schemas
- FavoriteProduct
- FavoriteProductOption
- FavoriteProductVariant
cant remove because problems with other plugins
- api-plugin-pricing-simple
- api-plugin-inventory ?
TODO remove it in time
Change logic and rename methods
rebuild logic for
favorites()
addProductToFavorite()
removeProductFromFavorite()