Open
Description
Description (*)
I would like the Type Money to also return the value formatted for its current local.
Expected behavior (*)
Example:
"final_price": {
"value": 10,
"currency": "EUR"
"formatted": "€ 10,00"
}
Depending on the store locale formatted should be different.
Benefits
The logic is already present in Magento its just not accessible through GraphQl currently. And the logic would not have to be re-implemented in whatever you are using as a frontend.
Additional information
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Pull Request in Progress
Activity
[-][GraphQl[/-][+][GraphQl] Add Formatted price to Money Type.[/+]PayalPatel8 commentedon Oct 10, 2020
#dmcdindia2020
magento-engcom-team commentedon Oct 10, 2020
@PayalrPatel thank you for joining. Please accept team invitation here and self-assign the issue.
PayalPatel8 commentedon Oct 10, 2020
@magento I am working on this
dineshvb commentedon Nov 17, 2020
@magento I am working on this
dineshvb commentedon Nov 18, 2020
@sidolov Is this ready to be implemented?
sidolov commentedon Nov 18, 2020
Hi @dineshvb , please, check high priority issues first (issues labeled with P0, P1, P2 labels) since the PRs targeted for such issues will be processed first.
jakwinkler commentedon Jul 8, 2025
@sidolov is the PR in progress? @ihor-sviziev I personally believe that this one should be closed as you can get the store configuration (currency) in the same GraphQL
query
- there is no need to return the price in a proper format.I also think that some of the labels are incorrect.