Skip to content

Magento_CustomerBalance (Store Credit)

Magento Modules:

  • Magento_CustomerBalance
  • Magento_CustomerBalanceGraphQl

Adobe Commerce Packages

  • magento/module-customer-balance
  • magento/module-customer-balance-graph-ql

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 all assume store credit is enabled in 'Stores > Configuration' (customer/magento_customerbalance/is_enabled).

Note: this issue is for features related to the main Hyvä Theme only. See #113 for details on Hyvä Checkout compatibility. All checkout features are also supported using the fallback Luma checkout.

Customer Account Area (all pages)

  • [P1] Add 'Store Credit' to account area navigation menu
    • [P2] Visible only when store credit is enabled

Store Credit Balance (/storecredit/info/)

  • [P1] Allow page access only when store credit is enabled
  • [P1] Display current credit balance
  • [P1] Balance history table
    • Action, Balance Change, Balance, Date columns

Cart (/checkout/cart/)

  • [P2] Show applied store credit in totals

    Note: this has to be applied at checkout (then return to cart)

  • [P2] Allow removal of store credit from the totals section

Image

Sales Order View (/sales/order/view/order_id/{id}/)

  • [P2] Display store credit amount in totals (where applicable)
  • [P2] Display store credit refunded amount in totals (where applicable)

Sales Order Print (/sales/order/print/order_id/{id}/)

  • [P2] Display store credit amount in totals (where applicable)
  • [P2] Display store credit refunded amount in totals (where applicable)

Sales Invoice View (/sales/order/invoice/order_id/{id}/)

  • [P2] Display store credit amount in totals (where applicable)

Sales Invoice Print (/sales/order/printinvoice/order_id/{id}/)

  • [P2] Display store credit amount in totals (where applicable)

Sales Credit Memo (Refund) View (/sales/order/creditmemo/order_id/{id}/)

  • [P2] Display store credit amount in totals (where applicable)
  • [P2] Display store credit refunded amount in totals (where applicable)

Sales Credit Memo (Refund) Print (/sales/order/printCreditmemo/order_id/{id}/)

  • [P2] Display store credit amount in totals (where applicable)
  • [P2] Display store credit refunded amount in totals (where applicable)

Contributors

Voting

Use 👍 to cast your vote.

Edited by John Hughes
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information