Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Friendly Captcha JavaScript not loaded in Product Pages #49

Open
re-mxp opened this issue Oct 30, 2024 · 1 comment
Open

Friendly Captcha JavaScript not loaded in Product Pages #49

re-mxp opened this issue Oct 30, 2024 · 1 comment

Comments

@re-mxp
Copy link

re-mxp commented Oct 30, 2024

Problem:

Product review form can't be submitted because view/frontend/templates/imi_friendly_captcha_js.phtml and view/frontend/templates/imi_friendly_captcha.phtml is not loaded for product detail pages. Enabling the Magento newsletter function loads this template on each page, which also makes the product review form submit working, but this correlation makes no sense for the product review form, because the form only exists for the product detail page.

Solution:

Depending on the imi_friendly_captcha/frontend/enabled_review config the two templates should be loaded like in view/frontend/layout/contact_index_index.xml

@amenk
Copy link
Member

amenk commented Oct 31, 2024

Thanks for the report.

Would you like to make a pull request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants