[Skip to main content](#vessel-content)

#   is there any captcha for hikashop cart module?

##

- **[sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")**
- [![sadaf3d's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/46256-sadaf3d "View sadaf3d's Profile") Topic Author
- [ Offline](/forum/user/46256-sadaf3d)

Less More

- Posts: 221
- Thank you received: 8
-

7 years 1 month ago [\#312498](#312498) by [sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")  *[is there any captcha for hikashop cart module?](/forum/27-checkout/898576-is-there-any-captcha-for-hikashop-cart-module#312498 "hi i want add simple captcha in hikashop cart module. which file need to modify? any advise? i can write some php code i want do this for more security in my future website.")* was created by *[sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")*

hi
i want add simple captcha in hikashop cart module. which file need to modify?
any advise? i can write some php code
i want do this for more security in my future website.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5ODU3Ni1pcy10aGVyZS1hbnktY2FwdGNoYS1mb3ItaGlrYXNob3AtY2FydC1tb2R1bGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

7 years 1 month ago [\#312504](#312504) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[is there any captcha for hikashop cart module?](/forum/27-checkout/898576-is-there-any-captcha-for-hikashop-cart-module#312504 "hi i want add simple captcha in hikashop cart module. which file need to modify? any advise? i can write some php code i want do this for more security in my future website.")*

Hi,

If you want to do that, you can edit the file product / cart.php via the menu Display&gt;Views to add your captcha, and develop a plugin of the group "hikashop", implementing the "onBeforeCartSave" trigger to approve / cancel the cart saving based on the captcha solution provided by the customer.

Note however that I don't see the point of doing that.
Usually, you only add a captcha to forms where abusing its use can be detrimental to you. For example, on a contact form, abusing it could lead to your website sending many emails, potentially leading to your server being flagged as a spammer.
Or on the registration form, this could lead to fake user accounts being created and your server sending emails to unauthorized email addresses leading to your server being flagged as a spammer, or it could lead to the user accounts posting spam messages to other websites on a comment system, or a forum system you have on your website.
But on the cart module, submitting the form of the cart module doesn't do anything besides refreshing the cart data in the database. So I would recommend to not bother with this development.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5ODU3Ni1pcy10aGVyZS1hbnktY2FwdGNoYS1mb3ItaGlrYXNob3AtY2FydC1tb2R1bGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.061 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
