Checkout after end too short

  • Posts: 43
  • Thank you received: 0
7 years 5 months ago #272537

-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.7.2

Hi,

When a purchase is completed, you get the "after end" message and then redirected to the next page. The after end is, however, a bit to quick and the user doesn't have the time to read the entire message properly. What file specifies the duration of after end if you want to increase the duration before the redirect?

Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
7 years 5 months ago #272542

Hi,

The after end message is not displayed if you configure a return URL, exempt for some specific payment plugins due to the way they work.
So I can't say exactly what file you would have to change.
Which payment plugin are you using ?

Please Log in or Create an account to join the conversation.

  • Posts: 43
  • Thank you received: 0
7 years 5 months ago #272641

Hi,

I've been playing around with the Money Transfer payment model.

Thanks,
David

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
7 years 5 months ago #272655

Hi,

I suppose that you're talking about the "bank transfer" payment method and renamed it because there is no "money transfer" payment method in HikaShop.

You would have to copy the file plugins/hikashoppayment/banktransfer/banktransfer_end.php to the folder templates/YOUR_TEMPLATE/hikashoppayment/
and then change in it the line:

$doc->addScriptDeclaration("window.hikashop.ready(function(){window.location='".$this->return_url."'});");
to add a delay:
stackoverflow.com/questions/17883692/how...-delay-in-javascript

Please Log in or Create an account to join the conversation.

Time to create page: 0.056 seconds
Powered by Kunena Forum