Apply gift cards in the cart #1432
Unanswered
maplessmann
asked this question in
Help
Replies: 1 comment
-
@maplessmann Hi, we just merged #2298 that would add the method for applying gift card code. This method will be available in the September release. You only need a cart id to add a gift card code to cart. As for combining the gift card code and discount code input into one, this is certainly do-able. However, you would need to handle the logic of distinguishing a gift card code input vs a discount code input in your |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to apply gift card codes in the cart, similar to how demo store does for discount codes?
At checkout people can insert discount codes and gift card codes in the same input:
I was wondering if this is possible to achieve with Hydrogen 🤔
I know that I could pass a custom method for
customMethods__unstable
but it looks like there's no Cart mutation for updating gift cards like there is for discount codes withcartDiscountCodesUpdate
. I'm not sure if I can use thecheckoutGiftCardsAppend
mutation since it requires a checkout IDBeta Was this translation helpful? Give feedback.
All reactions