Skip to content
This repository has been archived by the owner on Jun 25, 2021. It is now read-only.

Commit

Permalink
add recaptcha to product view layout (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
MurKit authored and ProxiBlue committed May 23, 2019
1 parent 77700cf commit ed616e7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/code/community/ProxiBlue/ReCaptcha/etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
<sendfriend_send>1</sendfriend_send>
<user_contact>1</user_contact>
<user_review>1</user_review>
<review-form>1</review-form>
<newsletter_subscribe>1</newsletter_subscribe>
</always_for>
</captcha>
Expand All @@ -135,6 +136,9 @@
<user_review>
<label>Reviews</label>
</user_review>
<review-form>
<label>Reviews in Product View</label>
</review-form>
<newsletter_subscribe>
<label>Newsletter Subscribe</label>
</newsletter_subscribe>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,15 @@
</block>
</reference>
</review_product_list>
<catalog_product_view>
<reference name="product.review.form">
<block type="captcha/captcha" name="recaptcha">
<action method="setFormId">
<formId>review-form</formId>
</action>
</block>
</reference>
</catalog_product_view>
<checkout_onepage_review translate="label">
<reference name="checkout.onepage.review.info.items.after">
<block type="captcha/captcha" name="recaptcha">
Expand Down

0 comments on commit ed616e7

Please sign in to comment.