Window.open on After_end page?

  • Posts: 42
  • Thank you received: 4
  • Hikamarket Multivendor Hikashop Business
1 month 2 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: 24861
  • Thank you received: 3828
  • MODERATOR
1 month 1 week 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.057 seconds
Powered by Kunena Forum