I’ve develop a function to validate my cart,
I can return a translated string?
return {
"target": field,
"localizedMessage": "string_key"
}
A developer has created a cart validation function and is attempting to return a localized error message. They’re structuring the return value with two fields:
"target": field"localizedMessage": string_keyHowever, the implementation isn’t working as expected. The developer shared a screenshot (dated October 30, 2023) demonstrating the issue, but the specific error or problem isn’t described in the text. The discussion remains open with no resolution or additional troubleshooting steps provided yet.