Skip to content

Conversation

@daanjo3
Copy link
Contributor

@daanjo3 daanjo3 commented Dec 16, 2025

Currently it is not possible to provide discountcodes on cart creation, nor use the addDiscountCode update action on the cart. As I would like to use this functionality in our repository I've created this PR.

To avoid putting a lot of work in recreating CommerceTools logic I'm not validating the to-be-added discountcodes further than purely whether their object exists in the store. So prices will not be updated nor will cart-discount rules be checked.

@changeset-bot
Copy link

changeset-bot bot commented Dec 16, 2025

🦋 Changeset detected

Latest commit: e39342a

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant