magento / architecture

A place where Magento architectural discussions happen
275 stars 155 forks source link

Proposal for Gift Card Options #406

Closed prabhuram93 closed 4 years ago

prabhuram93 commented 4 years ago

Problem

  1. 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.
  2. 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.

Requested Reviewers