0

Hello i'm doing some debug for an issue i have and i made an override of messages.phtml to following path /app/design/frontend/Company/template_child/Magento_Theme/templates/messages.phtml inside messages.phtml file there is following script

<script type="text/x-magento-init">
    {
        "*": {
            "Magento_Ui/js/core/app": {
                "components": {
                        "messages": {
                            "component": "Magento_Theme/js/view/messages"
                        }
                    }
                }
            }
    }
</script>

Now someone is able to tell me where is following path? "Magento_Theme/js/view/messages"

I already tried following /app/code/Magento/Theme/view/frontend/web/js/view/messages.js but is not there..

Thanks

2
  • vendor/magento/module-theme/view/frontend/web/js/view/messages.js May 21, 2022 at 18:56
  • If Magento is installed using composer then it is in the vendor folder and if Magento is installed from GitHub then it is in the app/code folder May 22, 2022 at 21:26

1 Answer 1

0

Try there:

vendor/magento/module-theme/view/frontend/web/js/view/messages.js

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.