Magento_GiftCard
Magento Modules:
- Magento_GiftCard
- Magento_GiftCardGraphQl
- Magento_GiftCardAccount
- Magento_GiftCardAccountGraphQl
- Magento_GiftCardImportExport
- Magento_GiftCardStaging
Adobe Commerce Packages
- magento/module-gift-card
- magento/module-gift-card-graph-ql
- module-gift-card-account
- module-gift-card-account-graph-ql
- magento/module-gift-card-import-export
- magento/module-gift-card-staging
Repository
Note: this repo is only accessible with a Hyvä Enterprise license or as a contributor.
For more details, see: https://www.hyva.io/hyva-enterprise.html.
https://gitlab.hyva.io/hyva-enterprise/commerce/magento2-ee-magento-customer-balance
Features
All points are rated according to priority as P1 (critical), P2 (important), P3 (minor).
-
basic - does not break layout/design
Note: the below features assume assume gift card accounts have been created/sent and are redeemable - configured globally in 'Stores > Configuration' (
giftcard/general/is_redeemable
) and per gift card account in 'Marketing > Gift Card Accounts' - and one or more gift card products have been created and are purchasable. Testing for the below should cover all gift card types:
- Virtual
- Physical
- Combined
Note: this issue is for features related to the main Hyvä Theme only. See #114 for details on Hyvä Checkout compatibility. All checkout features are also supported using the fallback Luma checkout.
Customer Account Area (all pages)
-
[P1] Add 'Gift Card' to account area navigation menu
/giftcard/customer/
)
Gift Card Balance & Redeem (-
[P1] Add text input field to enter gift card code -
[P1] 'Redeem Gift Card' button - If code exists, applies current balance for gift card to account and success message: 'Gift Card "{code}" was redeemed.'
- If code does not exist, returns error message: 'We cannot redeem this gift card.'
-
[P1] 'Check status and balance' button - If code exists, displays gift card code and current balance
- If code does not exist, returns warning message: 'Please enter a valid gift card code.'
/storecredit/info/
)
Store Credit Balance (-
[P2] Display link to redeem gift card ( /giftcard/customer/
)
/catalog/category/view/id/{id}/
& /catalogsearch/result/q={query}
)
Gift Card Product Listing & Search (-
[P1] Gift card products display correctly on listing pages (name/image/price etc.)
/catalog/product/view
)
Gift Card Product Page (-
[P1] Default product page output works as per other product types -
[P1] Display gift card amount selection -
[P1] Display amount dropdown (if set for product) - With values populated from those set against the product
-
[P1] Display gift card open amount field (if open amount enabled for product) - Adds 'Other Amount...' option if dropdown enabled and field only displays when this option is selected
- Otherwise displays by default
-
[P1] Display minimum amount under open amount field (if set) -
[P1] Required field validation for dropdown/open amount (depending on which enabled/selected)
-
-
[P1] Sender name field -
[P1] Required field validation -
[P1] Sender email field -
[P1] Required field validation -
[P1] Only displays for virtual/combined gift cards -
[P1] Recipient name field -
[P1] Required field validation -
[P1] Recipient email field -
[P1] Required field validation -
[P1] Only displays for virtual/combined gift cards -
[P1] Gift card adds to cart with selected amounts/sender/recipient options
Minicart
-
[P1] Cart item renderer support (i.e. gift card amounts/options output correctly)
/checkout/cart/
)
Cart (Cart Items
-
[P1] Cart item renderer support (i.e. gift card amounts/qtys/options output correctly) -
[P1] Cart item renderer actions support (edit/remove/move to wish list)
Visual QA
-
[P2] Requisition list 'create new list' section is not hidden with toggle (may be an issue to fix in #79)
Redeem / Check Gift Cards
-
[P1] Add text input field to enter gift card code -
[P1] 'Redeem Gift Card' button - If code exists, applies current balance for gift card to account and success message: 'Gift Card "{code}" was added.'
- If code does not exist, returns error message: 'The gift card code couldn't be added. Verify your information and try again.'
-
[P1] 'Check status and balance' button - If code exists, displays gift card code and current balance
- If code does not exist, returns warning message: 'Please enter a valid gift card code.'
-
[P1] Multiple gift cards can be applied to the cart -
[P1] Applied gift cards appear in the totals with the gift card code, amount and 'Remove' link - One total row per applied gift card
-
[P1] 'Remove' link removes gift card from cart with message: 'Gift Card "{code}" was removed.'
/checkout/cart/configure/id/{id}/product_id/{id}/
)
Cart Item Configure (Update Item) (-
[P2] Item qty and options can be modified and cart item updated correctly
/wishlist/index/configure/id/{id}/product_id/{id}/qty/{qty}/
)
Wish List Item Configure (-
[P3] Item qty and options can be modified and added to cart successfully
/sales/order/view/order_id/{id}/
) & Print (/sales/order/print/order_id/{id}/
)
Sales Order View (-
[P2] Show gift card options in item renderers -
[P2] Show gift cards/amounts in order totals (where applicable) - One row per gift card with code
/sales/invoice/view/order_id/{id}/
) & Print (/sales/order/printinvoice/{order_id|invoice_id}/{id}/
)
Sales Order Invoice View (-
[P2] Show gift card options in item renderers -
[P2] Show gift card amount in order totals (where applicable) - Combined row with total gift card amount (not codes)
/sales/shipment/view/order_id/{id}/
) & Print (/sales/order/printShipment/{order_id/shipment_id}/{id}/
)
Sales Order Shipment View (-
[P2] Show gift card options in item renderers -
[P2] Show gift card amount in order totals (where applicable) - Combined row with total gift card amount (not codes)
/sales/creditmemo/view/order_id/{id}/
) & Print (/sales/order/printCreditmemo/{order_id/creditmemo_id}/{id}/
)
Sales Order Credit Memo (Refund) View (-
[P2] Show gift card options in item renderers -
[P2] Show gift card amount in order totals (where applicable) - Combined row with total gift card amount (not codes)
/sales/guest/view/
) & Print (/sales/guest/print/order_id/{id}/
)
Guest Order View (-
[P2] Show gift card options in item renderers -
[P2] Show gift cards/amounts in order totals (where applicable) - One row per gift card with code
/sales/guest/invoice/order_id/{id}/
) & Print (/sales/guest/printInvoice/{order_id|invoice_id}/{id}/
)
Guest Order Invoice View (-
[P2] Show gift card options in item renderers -
[P2] Show gift card amount in order totals (where applicable) - Combined row with total gift card amount (not codes)
/sales/guest/shipment/order_id/{id}/
) & Print (/sales/guest/printShipment/{order_id/shipment_id}/{id}/
)
Guest Order Shipment View (-
[P2] Show gift card options in item renderers -
[P2] Show gift card amount in order totals (where applicable) - Combined row with total gift card amount (not codes)
/sales/guest/creditmemo/order_id/{id}/
) & Print (/sales/guest/printCreditmemo/{order_id/creditmemo_id}/{id}/
)
Guest Order Memo (Refund) Detail View (-
[P2] Show gift card options in item renderers -
[P2] Show gift card amount in order totals (where applicable) - Combined row with total gift card amount (not codes)
Contributors
N/A
Voting
Use