Post by BTdavid » Sat Feb 10, 2018 7:38 am

Hi all,
I have a problem with customers making multiple orders at the final stage of the checkout. I've read that this button should be disabled on click but this isn't happening. If someone has a slow browser for whatever reasons they are able to repeat click this button and it's generating duplicate orders.
Anyone heard of this happening with anyone else in OpenCart 1.5.6.4 or have any idea why it might be happening?
Thanks,
David

New member

Posts

Joined
Wed Feb 08, 2017 9:29 pm

Post by IP_CAM » Sat Feb 10, 2018 8:40 am

What Theme and Extensions do you have installed?
Erie

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by BTdavid » Mon Feb 12, 2018 10:47 pm

Hi Ernie,
Using Egestas Pro theme. I have lots of extensions installed. From Xero integration to formula based shipping. This has been happening since before adding the Xero integration.
Is there a way I could make a list of the installed extensions that I could attach?
I found a VQMod that adds a loading screen overlay to disable the page while it processes but that didn't work at all.
The button should become disabled as far as I know but it isn't. Is there any way I could inspect whats happening in Firefox or some tool to see why?
I'd really like to be able to fix this, it causes all sorts of problems with cancelling orders chargebacks to cards etc. as I'm sure you can appreciate. I really hope you can help. Many thanks.
Sincerely,
David

New member

Posts

Joined
Wed Feb 08, 2017 9:29 pm

Post by IP_CAM » Tue Feb 13, 2018 2:52 am

Well, it's one of those Kuler Themes, but the Coders do no longer exist,
and you probably have little chances, that someone else will be able to help
you with this, without investing a lot of costly time and knowledge. They had a very
Custom way of creating OC Code, and it's not comparable with anyting else,
one main reason, to eventually fail, since Users have to rely on them, if they
have some problems.

Code: Select all

<?php
$kuler = Kuler::getInstance();
$enable_one_page_checkout = $kuler->getSkinOption('enable_one_page_checkout');
if ($enable_one_page_checkout)
{
$kuler->onePageCheckoutInit($data);
extract($data);
}
?>
----
if (!defined('DIR_CATALOG'))
{
$this->addPreAction(new Action('module/kuler_cp/startup'));
}
The last Facebook Entry was im March 2016:
https://www.facebook.com/kulerthemes/
---
I tried this Function with one of my Test Shops, and if I click on the confirmation
button, it presents a 'wait' message, and no additional click will result in any action,
just the way, as it should be. It then also creates one order and one Email only.
Just to give you some infos on this. ;)
Ernie
---
Image

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by BTdavid » Tue Feb 13, 2018 6:03 pm

Thanks a mill Ernie! If I could get this working it would be so good. Where should I put this code? Many thanks in advance, David.

New member

Posts

Joined
Wed Feb 08, 2017 9:29 pm

Post by IP_CAM » Tue Feb 13, 2018 9:57 pm

Well, I published some Code out of a Kuler Theme, just as sample, to show,
how Kuler made it, you cannot use it, it's already part of your code.
As I mentioned, there is no easy solution, you either have to get a Pro, or then
get another Theme.
Ernie

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 134 guests