Magento_GiftRegistry (Hyvä Checkout)
Magento Modules:
- Magento_GiftRegistry
- Magento_CheckoutAddressSearchGiftRegistry
Adobe Commerce Packages
- magento/module-gift-registry
- magento/module-checkout-address-search-gift-registry
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-hyva-enterprise-checkout
Features
All points are rated according to priority as P1 (critical), P2 (important), P3 (minor).
-
basic - does not break layout/design -
All built-in checkout layouts supported (default, one page, mobile)
Note: this issue is for features related to the checkout only. See #33 for details on Hyvä Theme compatibility.
Note: the below functionality only applies if one or more items in the cart have been added from a single gift registry only (i.e. if there are no items from a gift registry or items from multiple gift registries the functionality does not apply).
Shipping Address Selection
Guest Checkout (or logged in with no stored addresses)
-
[P1] Replace the shipping address form fields with a preselected address entry - The address entry purely has the label 'Ship to Recipient Address' and does not list the actual address of the recipient (the creator/target of the gift registry itself)
-
[P1] Move the new address selection to a modal (with link/button to toggle) like for logged in customers with pre-existing addresses
Logged In Customers (with stored address)
Standard Address Selection
-
[P1] Add an additional address entry after the stored addresses for the gift registry recipient - That has the label 'Ship to Recipient Address' and does not list the actual address of the recipient (the creator/target of the gift registry itself)
- The first/default address is selected by default, not the gift registry recipient address
With Address Search Active (and stored addresses)
See #107 for details on using/enabling address search
-
[P2] Output address options as 2 radio buttons -
[P2] The first radio button has the customers default address selected - Also includes the address search 'change address' link (which triggers modal)
- Also includes the standard 'new address' link (which triggers modal)
- This option is selected by default
-
[P2] The second radio button selects the gift registry recipient address - This purely has the label 'Ship to Recipient Address' and does not list the actual address of the recipient (the creator/target of the gift registry itself)
Dev Note: the Luma radio button output approach does not need to matched, so long as the user can choose between the gift registry recipients address and their own (and use address search).
Billing Address Selection
The below assumes the selected/saved shipping address is the Gift Registry Recipient's address.
Guest Checkout (or logged in with no stored addresses)
-
[P1] Remove the 'My billing and shipping address are the same' checkbox and output the new billing address form
Logged In Customers (with stored address)
-
[P1] Remove the 'My billing and shipping address are the same' checkbox and set the first/default address as the selected billing address -
[P1] Ensure the ability to choose from other available stored address, or adding a new address is still possible -
[P2] Ensure selecting addresses via address search (if enabled/threshold met) is still possible
Order Summary Panel
The below assumes the selected/saved shipping address is the Gift Registry Recipient's address.
-
[P1] Output 'Recipient Address' in the shipping address (ship to) section in the summary panel only, not the full address
Order Placement
Note: it is not expected any customisations are needed here, but is rather included for testing/thoroughness.
-
[P1] The order is placed successfully when the recpicents gift registry address is used as the shipping address* -
[P1] The gift registry items order have the fulfilled qty correctly updated (regardless of shipping address used)
Note: *Luma bug: orders using the gift registry recipients shipping address cause a fatal error on the view order page in the customer account area (and guest order view). This is be covered in #33
Contributors
Voting
Use