On mobile add cart botton not working

  • Posts: 2
  • Thank you received: 0
7 years 3 months ago #274637

Hi i have a problem on my site when i try to add product in cart on mobile.
On desktop/tablet it's works ok.

Thanks,
Giovanni

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
7 years 3 months ago #274640

Hi,

Can you provide a link to a page with an add to cart button so that we can test it ?
Also, which smartphone did you test it with ? What OS is on the smartphone ? Which version of OS are you using ?
And which browser in which version are you using ?
If you try with another smartphone, do you have the problem ?

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

  • Posts: 2
  • Thank you received: 0
7 years 3 months ago #274663

Hi...
The problem is on iPhone 5 with Safari (iOS 10.3.3), i check cart on the same phone with Firefox and it's all ok.
the link to web page is:
for category list:
www.meroandmore.com/shop-accessori-mobile
for product:
www.meroandmore.com/shop-accessori-mobile/product/10594-nas457

thanks a lot

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 3 months ago #274665

Hello,

Unfortunately we do not have any iPhone or Safari browser to perform tests for that platform.
But we are pretty confident that our JavaScript is compatible with major browsers (even some old ones).
And what is strange is that there is a "fallback" when the JS is not enable.
So like that I'm not even sure of the nature of your issue and with your current description, it's really hard to understand what is going on exactly.

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: 61
  • Thank you received: 0
6 years 11 months ago #283457

I think I am having the same issue. Under advanced -> legacy settings -> I had to turn on "Add to cart legacy" and then under"After a product is added to the cart" select"Always go to the checkout"

The site is willowrootwands.com, it had the new popup working on desktop computers but on iphone safari and chrome the add to cart buttons were not working. I copied the sie to a test location with the old setting that do not work on iphone turned back on here:

testwillowrootwands.dependentmedia.com

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

  • Posts: 4747
  • Thank you received: 644
  • MODERATOR
6 years 11 months ago #283490

Hello,

I don't think that we have here on the same issue, for just one reason, your add to cart didn't work at all (try on Chrome and Mozilla), the previous issue brings issue only on Apple Navigators and works for other navigators.
Can be sure of it, but it seems that a server setting or a plugin blocked HikaShop Ajax request and answer with a 403 Error (forbidden access)
See my screenshot to maybe have clues about situation :



Hope this will help us to move forward.

Regards

Last edit: 6 years 11 months ago by Philip.

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

  • Posts: 7
  • Thank you received: 0
6 years 7 months ago #291701

Hello,

Same problem here. The chart (module) is not updating when I click on add to chart at a product on iPhone ( on all browsers: Safari, Firefox and Chrome). It does work however on the desktop and on my Android phone. But not on the iPhone.

I hope a solution can be found. I need it on the iPhone devices.

Kind regards,
Marcel

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

  • Posts: 61
  • Thank you received: 0
6 years 7 months ago #291708

For me the solutions had to do with modifying akeeba admin tools. Are you running that extension?

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

  • Posts: 7
  • Thank you received: 0
6 years 7 months ago #291709

Thanks for your answer. No I am not running it.

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

  • Posts: 61
  • Thank you received: 0
6 years 7 months ago #291710

I don't see where your website is. They will not be able to help you without seeing your site.

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

  • Posts: 7
  • Thank you received: 0
6 years 7 months ago #291711

Good remark. Thanks.

The url is: www.guestapp.nl/briant/in-room-dining

You must open it on an iPhone to see the issue. Works fine on Desktop and Android.

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

  • Posts: 61
  • Thank you received: 0
6 years 7 months ago #291713

I'm not sure if this is good or bad news but it works on my iphone 6s plus safari all updates applied to phone as of April 23, 2018

Attachments:

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

  • Posts: 7
  • Thank you received: 0
6 years 7 months ago #291714

Hmm, I use it on my iPhone 7 plus and the add to chart is not updated.

So, as I understand, when you click on Add to Chart (for example with the Ceasar salade) It is added in hte chart, shown under the 'Your order" ?

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

  • Posts: 61
  • Thank you received: 0
6 years 7 months ago #291715

I added screenshots in the last post

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

  • Posts: 61
  • Thank you received: 0
6 years 7 months ago #291716

I just checked on google chrome on my iphone and it also works

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

  • Posts: 7
  • Thank you received: 0
6 years 7 months ago #291717

Excuse, the url I added indeed works. I use this url in an PWA app that I made with this url in an iframe. So I think I contact the PWA provider for this.
Many thanks for your time and help.

Regards,
Marcel

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
6 years 7 months ago #291702

Hi,

Can you provide a link to a page with the issue so that we can look at the situation ?

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

  • Posts: 7
  • Thank you received: 0
6 years 7 months ago #291737

Hi,

The url is braint.goodbarber.com/room-dining . This is the url of the PWA. Here the chart does not update on iPhone. In this page is an iframe that links to www.guestapp.nl/briant/in-room-dining . Here updating the chart works fine.

Regards,
Marcel

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
6 years 7 months ago #291739

Hi,

Looking online, it seems that Safari has some stricter security checks than other browsers regarding AJAX in iframes:
stackoverflow.com/questions/31429589/rai...and-iframe-in-safari
And the add to cart button do use ajax for the add to cart and refresh of the cart module.
So it's well possible that it is related to the fact that you have the add to cart in an iframe.

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

  • Posts: 7
  • Thank you received: 0
6 years 7 months ago #291781

Thanks for the research. I guess indeed that the area to look into.

Kind regards,
Marcel

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

Time to create page: 0.107 seconds
Powered by Kunena Forum