Skip to main content

Don't load address popup by pageload

12 years 1 month ago #172676 by eddih19
-- 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.

12 years 1 month ago #172687 by Xavier
Hi,

You have to edit the view "checkout / address_view" and comment/remove the code:
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.

12 years 1 month ago #172803 by eddih19
Thank you Xavier, worked fine!

Greetings!

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

Time to create page: 0.060 seconds
Powered by Kunena Forum