Window.open on After_end page?

  • Posts: 152
  • Thank you received: 11
3 years 4 weeks ago #331288

-- HikaShop version -- : 4.4.1
-- Joomla version -- : 3.9.25
-- PHP version -- : 7.4.15

In the php code of the after_end.php page there is
$doc->addScriptDeclaration("window.hikashop.ready( function() {window.location='".$this->payment_params->return_url."'});");

I replaced window.location with window.open.
Nothing is happening ;-(

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

  • Posts: 26007
  • Thank you received: 4004
  • MODERATOR
3 years 3 weeks ago #331297

Hello,

I recommend you to search JavaScript help for that kind of modification.
You will find plenty of websites giving advices and also website with documentation regarding the JS common functions :
developer.mozilla.org/en-US/docs/Web/API/Window/open

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Time to create page: 0.056 seconds
Powered by Kunena Forum