For a gift card, 6 entered options are possible. Sender name/email, Recipient name/email, Message, Custom gift card amount.
Not all fields are needed/required for the clients to fill in. This options metadata should be made available to the clients when adding a giftcard product to cart.
When clients send this data they need a uid to distinguish each option and uid is not supposed to be generated on the client side. So when we pass in the options metadata a server generated uid should be made available to the clients.
Solution
Add an additional field gift_card_option under GiftCardProduct which can provide this metadata.
Problem
Solution
Add an additional field gift_card_option under GiftCardProduct which can provide this metadata.
Requested Reviewers