checkout using chrome not working

General discussion about AlegroCart - Post here if you can't find another suitable forum
Post Reply
heartbreak18
Posts: 9
Joined: Fri Feb 19, 2016 10:51 pm

checkout using chrome not working

Post by heartbreak18 » Mon Feb 29, 2016 4:13 am

when i process checkout using chrome checkout button cannot continue to paypal, but works with mozilla.

how to solve it?

User avatar
leo
admin
Posts: 4320
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: checkout using chrome not working

Post by leo » Mon Feb 29, 2016 8:47 am

open catalog/template/default/content/checkut_confirm.tpl and delete:

Code: Select all

<script type="text/javascript"><!--
$("#submit").on("click", function(){
	$('#submit').attr('disabled', true);
});
//--></script>

heartbreak18
Posts: 9
Joined: Fri Feb 19, 2016 10:51 pm

Re: checkout using chrome not working

Post by heartbreak18 » Tue Mar 01, 2016 4:04 am

leo wrote:open catalog/template/default/content/checkut_confirm.tpl and delete:

Code: Select all

<script type="text/javascript"><!--
$("#submit").on("click", function(){
	$('#submit').attr('disabled', true);
});
//--></script>
it works, thanks leo

User avatar
leo
admin
Posts: 4320
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: checkout using chrome not working

Post by leo » Tue Mar 01, 2016 8:22 am

To avoid to press the checkout button more than once, we suggest you to replace the original code with this one. This will hide the button if pressed and works on Chrome as well thanks to Brent.

Code: Select all

<script type="text/javascript"><!--
$("#submit").on("click", function(){
   $('#submit').attr("hidden","hidden");
});
//--></script>

heartbreak18
Posts: 9
Joined: Fri Feb 19, 2016 10:51 pm

Re: checkout using chrome not working

Post by heartbreak18 » Sun Mar 13, 2016 11:25 pm

leo wrote:To avoid to press the checkout button more than once, we suggest you to replace the original code with this one. This will hide the button if pressed and works on Chrome as well thanks to Brent.

Code: Select all

<script type="text/javascript"><!--
$("#submit").on("click", function(){
   $('#submit').attr("hidden","hidden");
});
//--></script>
thank you very much :)

Post Reply