Don't load address popup by pageload

  • Posts: 14
  • Thank you received: 0
10 years 8 months ago #172676

-- url of the page with the problem -- : www.houtenschuifpuien.nl/winkelwagen/checkout/task-step/step-2
-- HikaShop version -- : Business 2.3.2
-- Joomla version -- : 3.3.3

Hello,

Inside the checkout, customers can fill in their address information with the use of the popup (adress selector = Popup).

The popup automatically opens when the certain page is loaded, is there a way to disable this function so the popup will load after the visitor clicks on the "new address" (or new) button? I guess it's possible by changing something in the "/media/com_hikashop/js/hikashop.js" file but I'm not really sure...

Thanks in advance,

Greetings Hidde

p.s. the site is in Dutch

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

  • Posts: 13201
  • Thank you received: 2322
10 years 8 months ago #172687

Hi,

You have to edit the view "checkout / address_view" and comment/remove the code:

$this->doc->addScriptDeclaration("\n<!--\n".$js."\n//-->\n");

The following user(s) said Thank You: eddih19

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

  • Posts: 14
  • Thank you received: 0
10 years 8 months ago #172803

Thank you Xavier, worked fine!

Greetings!

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

Time to create page: 0.070 seconds
Powered by Kunena Forum