Farfetch / blackout

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

Closed danpadrinom closed 8 months ago

danpadrinom commented 8 months ago

Description

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

Disclaimer

By sending us your contributions, you are agreeing that your contribution is made subject to the terms of our Contributor Ownership Statement