Address popup window problem

  • Posts: 12
  • Thank you received: 0
11 years 2 weeks ago #131183

-- url of the page with the problem --
-- HikaShop version -- : 2.2.1
-- Joomla version -- : x2.5
-- PHP version -- : 5.4.19
-- Browser(s) name and version -- : All Browsers
-- Error-message(debug-mod must be tuned on) -- : When i click purchase button for a product, first adress popup window open. And after 1 second popup windows close and turn normal page.

Thanks.

Last edit: 10 years 4 months ago by Boy.

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

  • Posts: 12953
  • Thank you received: 1778
11 years 2 weeks ago #131207

Hi,

Firstly can you download the last Hikashop version through our website, install it, and test it again ?

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

  • Posts: 12
  • Thank you received: 0
11 years 2 weeks ago #131217

Hi Mohamed,

i updated and tested but not solved.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 2 weeks ago #131225

Hi,

I don't see which popup you are talking about ?
When clicking on add to cart, a popup can be displayed but it's not an address popup.
If you redirect to the checkout after clicking on add to cart, there is only the form to fill for the address.

Thanks to give us more informations.

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

  • Posts: 12
  • Thank you received: 0
11 years 2 weeks ago #131226

Hi xavier,
When i add a new adress a popup Window open.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 2 weeks ago #131273

Hi,

Thanks to give us a test account in order to test this popup.
There is maybe, as you said, a javascript problem.

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

  • Posts: 12
  • Thank you received: 0
11 years 2 weeks ago #131276

Hi Xavier,

i enabled hikashop and hikatest acounts.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 2 weeks ago #131313

Hmmm I don't really know what this is happening.
Thanks to try to edit the file "components/com_hikashop/views/checkout/view.html.php" and search for: hikashopEditAddress

In this function, try to comment the line "window.hikashop.openBox(obj,obj.href);" and uncomment the line: "SqueezeBox.fromElement(obj,{parse: 'rel'});".

To comment/uncomment, you just have to add/remove the "//".

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

  • Posts: 12
  • Thank you received: 0
11 years 2 weeks ago #131322

in this function, i found the line "window.hikashop.openBox(obj,obj.href);" and i make comment line.

But there is no line "SqueezeBox.fromElement(obj,{parse: 'rel'});" in this function. i added it. But problem is sam.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
11 years 1 week ago #131810

Hi,

This message is for Boy and the support team.

1 - Is it possible to have the test account ?
Or for the rest of the support team : is it possible to store the test account for the rest of the team ? Thanks guys !

2 - Please use the hikashop.openBox function. I made this function for a specific reason.
I can't see the webpage because I don't have the test account but I am sure that there is another script attached in the link so it open the popup and it follow a link in the same time.
The openBox function return a "false", that the link have to return to in order to block any kind of link or other script.
Thanks to a test account I will be able to take a look and fix it.
But I am currently travelling for the JWC so I can't access to Internet everywhere and every time (or contact easily the rest of the support team)

Thanks for your understanding.


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.

  • Posts: 12
  • Thank you received: 0
11 years 1 week ago #131962

hi Jerome,

thanks for your interest and reply. i created a admin account for you. How can i send account informations to you ?

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

  • Posts: 13201
  • Thank you received: 2322
11 years 1 week ago #132053

Hi,

You can send him the account via private messages.
Or via the contact form.

In both cases, thanks to give the link to this thread ;)

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

  • Posts: 12
  • Thank you received: 0
11 years 1 week ago #132168

Hi Xavier,

i send it. Thank you.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
11 years 1 week ago #132214

Hi,

You have a script in your template :

<script type="text/javascript">
	if (top!==self) {
		top.location=location;
	}
</script>
this script run everywhere, even in your popups.
The result is : you can't open any of your page in a popup, even a popup in your own website.

There is no problem in HikaShop, it is just the security of website which is too restrictive and don't allow any popup at all.

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.

  • Posts: 12
  • Thank you received: 0
11 years 1 week ago #132224

Hi Jerome,

thanks or your reply. you are right for script i will look. but i can open popup in my web site all page.

i will control this script and i will write results. Thank you.

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

Time to create page: 0.106 seconds
Powered by Kunena Forum