For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
Hello,
I'm working on cart-checkout-validation extension function.
I want to give the user the ability to change the text of the errors.
Hi Ben,
Is the error message one that your app is producing or one that is generated by Shopify?
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Hi
It would be interesting to hear about both cases!
I have the situation currently, that my validation message is defined by the function itself.
Currently I simply use the locales folder with the translations in there (and importing them with a custom translation function). But I was wondering if I could somehow place the translation in the shopify UI, so the merchant can translate it, without requiring me to update the translations.
Thanks for any hints or references to examples / documentation about that.
The only information about "translations in functions" I found: https://shopify.dev/docs/apps/functions/localization#providing-translated-content
Hi @R3dNag did you find a solution to that scenario relying on Shopify api and not using your custom function (like we did)?
Thank you!
Nope...