Jump to content

add captcha before cart can be created


durangodave

Recommended Posts

I have my own personal captcha code, however im not sure where the cart process begins. If cart is empty i want to add a captcha before the first item can be added to a cart.   Im getting alot of abandoned carts from bots im sure and i want to try to stop that.

 

What file does the cart process begin when someone clicks on add to cart?  

 

latest version :)

 

Thanks...

Edited by durangodave (see edit history)
Link to comment
Share on other sites

curious why this does not work

 

in modules/blockcart/blockcart.tpl

<!-- captcha mod for cart -->

{if $cart_qties <= 0}

<literal>
<script type="text/javascript">

alert('maint test only - please disregard this message');

</script>
</literal>

{/if}

if i can get the maint test alert to work then i can add my captcha code.

 

Maybe someone can dev a module where we can add an ip to a list, if the ip is on that list then they must prove they are human via customizable question captcha and answer before they can add products to a empty cart.  So it would be just for the 1st product only then they would be ok after that to add.

Edited by durangodave (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...