Blackout is the codename for the Farfetch Platform Solutions (FPS) projects. Useful to build e-commerce applications using the FPS APIs and integrating business logic.
MIT License
42
stars
15
forks
source link
fix(react): add product aggregator id to add item to bag #957
This adds the productAgreggatorId as an optional parameter to the addItem in the useBag hook.
This would prevent issues when trying to add a product that is part of a bundle into the bag.
Dependencies
None.
Checklist
[ ] The commit message follows our guidelines
[ ] Tests for the respective changes have been added
[ ] The code is commented, particularly in hard-to-understand areas
[ ] The labels and/or milestones were added
Disclaimer
By sending us your contributions, you are agreeing that your contribution is made subject to the terms of our Contributor Ownership Statement
Description
This adds the
productAgreggatorId
as an optional parameter to theaddItem
in theuseBag
hook. This would prevent issues when trying to add a product that is part of a bundle into the bag.Dependencies
None.
Checklist
Disclaimer
By sending us your contributions, you are agreeing that your contribution is made subject to the terms of our Contributor Ownership Statement