Checkout problem with Firefox after 2.2.0 update

  • Posts: 53
  • Thank you received: 2
11 years 4 months ago #113558

Hi,

After upgrading to 2.2.0 business users who use Firefox can't finalize their orders. On the final step the page reloads the same content. With Chrome we don't have this problem. It's a serious problem for us, right now our customers are placing their orders on phone. Please help.

Edit: doesn't works with Opera, either.

Regards,

Dezso Markon
vitaking.ro

Last edit: 11 years 4 months ago by otx.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 4 months ago #113560

Hi,

Can you give us a link to your website in order to see from where the problem come ?

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

  • Posts: 53
  • Thank you received: 2
11 years 4 months ago #113564

Hi,

www.vitaking.ro/

In the meantime I have upgraded to the latest 2.2.0 version (I saw there is new one), and now the Firefox give us an empty cart message....

Regards,
Dezso Markon
vitaking.ro

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

  • Posts: 53
  • Thank you received: 2
11 years 4 months ago #113566

Dear Xavier,

In the meantime I have made an exact duplicate of the site and I can send you an administrator link and password for this if you want. This is a non-production site, so you can experiment at your like. How can I send you the login details?

Regards,
Dezso Markon
vitaking.ro

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

  • Posts: 13201
  • Thank you received: 2322
11 years 4 months ago #113568

Can you give us a test account to test the checkout ?

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

  • Posts: 53
  • Thank you received: 2
11 years 4 months ago #113575

Hi,

I just sent you the details in private message.

Regards,
Dezso Markon
vitaking.ro

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

  • Posts: 53
  • Thank you received: 2
11 years 4 months ago #113584

Dear Xavier,

Do we have a way to downgrade to the previous version of Hikashop? This upgrade went sort of catastrophic for us. Of course, we have tested on a test site before the upgrade, but unfortunately only with Chromium (we are using linux). Unfortunately we have observed that something went wrong only after the 4th day, when our clients started to place their orders on phone. We had some feedbacks regarding this problem, but as we couldn't reproduce with chromium, we fought that maybe the users are doing something wrong. But now our site works ONLY with webkit based browsers and nothing else. Of course we have backups, but in this way we would louse our latest clients data.

So can we somehow downgrade our shop to the previous version until this problem gets sorted out?

Regards,
Dezso Markon
vitaking.ro

Last edit: 11 years 4 months ago by otx.

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

  • Posts: 53
  • Thank you received: 2
11 years 4 months ago #113594

Hi,

After 2 hours of struggling we finally downgraded to the 2.1.3 version and everything works as expected. Lesson learned: before upgrade always check every possible combination of operating systems and browsers. Version 2.1.3 on our server works with every browser, version 2.2.0 ONLY with webkit based browsers.

Regards,
Dezso Markon,
vitaking.ro

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

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
11 years 4 months ago #113639

Hi,

No one else reported such issue so far.
Version 2.2 works fine with Firefox and Opera. You can try it yourself on our demo website: demo.hikashop.com
So it must be something specific to your website, but hard to say what now that you downgraded and that it's working.

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

  • Posts: 53
  • Thank you received: 2
11 years 4 months ago #113651

Dear Nicolas,

I have a test site with Hikashop version 2.2.0. I sent you the details in private.

Regards,
Dezso Markon

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

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
11 years 4 months ago #113843

Ok I think I found the issue. It happens only when you have shipping, on joomla 2.5 and with the CSS display mode configured for the buttons.

Change the code:

		if(shippings) {
			shippings = shippings.value.split(";");
			for(var i = 0; i < shippings.length; i++) {
				if(!varform.elements["hikashop_shipping_" + shippings[i] ] || !isSelected(varform.elements["hikashop_shipping_" + shippings[i] ])) {
					alert("'. JText::_('SELECT_SHIPPING',true).'");
					return false;
				}
			}
		}
to
if(shippings) {
		var selectedShippings = new Array();
		if(shippings.value){
			selectedShippings.push(shippings.value.split(";"));
		}else{
			for(var a=0; a < shippings.length; a++){
				if(shippings[a].checked && shippings[a].value.length>0) selectedShippings.push(shippings[a].value);
			}
		}
		for(var i = 0; i < selectedShippings.length; i++) {
			if(!varform.elements["hikashop_shipping_" + selectedShippings[i] ] || !isSelected(varform.elements["hikashop_shipping_" + selectedShippings[i] ])) {
				alert("'. JText::_('SELECT_SHIPPING',true).'");
				return false;
			}
		}
	}
in components/com_hikashop/views/checkout/view.html.php and that should fix the problem.

Last edit: 11 years 4 months ago by nicolas.
The following user(s) said Thank You: otx

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

  • Posts: 53
  • Thank you received: 2
11 years 4 months ago #113867

Dear Nicolas,

Thank you for this quick fix. One more question: Is this modification will be part of a future Hikashop edition, or I have to take care of this myself after each update?

Regards,
Dezso Markon
vitaking.ro

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

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
11 years 4 months ago #113935

It will be in next versions of HikaShop yes.

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

  • Posts: 66
  • Thank you received: 2
11 years 4 months ago #114255

Yep, the same issue occurred when I updated to Hikashop version 2.2.0 about 2- minutes ago, but I applied the code fix and it works in Firefox now. Thanks.

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

Time to create page: 0.094 seconds
Powered by Kunena Forum