Home › Forums › WoodMart support forum › Error with "add to cart button" triying to buy on another country
Error with "add to cart button" triying to buy on another country
- This topic has 14 replies, 2 voices, and was last updated 5 years, 10 months ago by
Artem Temos.
-
AuthorPosts
-
April 15, 2019 at 2:18 pm #118932
Oriol DuarriParticipantHi,
We have payed again your support because we have a big problem, we sell products on Spain, UK and France, our store is on Spain and woocommerce is configured as it.
So much customers from france are sending us emails that they can’t buy items in his country, when they choose the product and click “add to cart” the button keeps on an infinite spinning and nothing happens, a letter of a customers says:
“I am from France this is my adress : 414 Chemin du Bac, 60610 Lacroix Saint Ouen, France
The suit is at 249€, and this is what happened when i try to purchase (see the picture). I click on « ajouter au panier » and then the white circle spin in the blue case for an endless time. And the shipping cart remain empty.”We tryed to reproduce the error but is imposible from us, if we introduce this address we can buy without problems, but this is the 5º customers that reports the same error trying to buy outside of Spain, where is configured the woocommerce plugin.
We don’t have the same error with another wordpress templates, maybe is the AJAX? We don’t know, our knowledge about programming languages is null.
Waiting for hear about you,
ThanksApril 15, 2019 at 2:25 pm #118933
Oriol DuarriParticipantAttach screenschot
Attachments:
You must be logged in to view attached files.April 15, 2019 at 2:44 pm #118949
Artem TemosKeymasterHi,
How is it possible to reproduce the issue from our side? You said that it doesn’t happen on other templates, how did you test that?
Regards
April 15, 2019 at 2:55 pm #118951
Oriol DuarriParticipantHI,
we think that maybe using a proxy with an IP from france can work, but really we’re unable to reproduce it, we have paid the support for contact us because maybe another customer reported the same error, maybe in another thread this problem is reported and fixed, you never heard about this error?
I haven’t tested that, as I say, I don’t know nothing about programming
sorry 🙁April 15, 2019 at 5:45 pm #118976
Artem TemosKeymasterUsually, some problems appear when WooCommerce geolocations options are turned on. But we never heard about endless spinning loader from users from a certain country. That is why we can hardly advise you here. You should be able to reproduce the problem on your website (or create a staging copy), and then investigate which plugin or theme causes this problem.
April 16, 2019 at 2:19 pm #119150
Oriol DuarriParticipantHi,
With a proxy the error appears as described by our customers, please, open http://www.franceproxy.net and browse https://nucomplements.com/tienda/triton/?lang=fr
Before browse nucomplements uncheck “remove scripts” and “remove objects” or ajax won’t work, you will see 23 errors on console, one called “ajax adding to cart error” and 6 “Failed to load resource: the server responded with a status of 404 (Not Found)”
April 16, 2019 at 2:26 pm #119155
Artem TemosKeymasterPlease, disable all external plugins and also check with default WordPress theme.
April 23, 2019 at 8:49 am #120461
Oriol DuarriParticipantHi,
We have made the test that you requested me, with external plugins disables and woodmart theme makes the same error, is an ajax error it seems
With wordpress theme it works correctly
April 23, 2019 at 9:48 am #120468
Artem TemosKeymasterHi,
OK, so please activate the standard theme so we can check how it works. Then, we will switch to the WoodMart and compare both requests to see the difference. Also, describe step by step how to reproduce the error on your website with proxy.
Regards
April 23, 2019 at 10:28 am #120475
Oriol DuarriParticipantHi, I explain step by step what I do.
Wordpress twenty seventeen theme installed:
First go to: http://www.franceproxy.net and browse for: https://nucomplements.com/tienda/flot-quad/?lang=fr and disable “remove scripts and objects” and browse
Then click on the “add to cart” button and works correctly with “twenty seventeen” theme installed and all plugins activated.
Make the same with the woodmart theme and the spin of the “add to cart” button will make an infnite spin and nothing happens, you can try with all plugind enabled and disabled it does not change nothing.
Attach screen recording while testing
April 23, 2019 at 11:12 am #120483
Artem TemosKeymaster1. We see that our theme is still active.
2. All JS are broken when we visit via this proxy website. The website is not working correctly at all.
April 23, 2019 at 11:14 am #120486
Oriol DuarriParticipantHi,
now you can check with twenty seventeen theme, activated right now
I don’t know another way for connect me from a French or United Kingdom IP, if you know will be a great thing,
April 24, 2019 at 5:55 am #120621
Artem TemosKeymasterUnfortunately, we don’t have a way to do this either.
April 24, 2019 at 2:59 pm #120752
Oriol DuarriParticipantHi guys, you can mark this threat as solved, if someone have the same problem I explain:
Some hostings blocks the access to the “admin-ajax.php” file for security reasons in some countries, for example, my hosting was blocking all the requests that we’re made out of my country “Spain” so, if someone try to make a purchase connected out of Spain, they can’t do it.
I solved this error with the Hosting by turning down some security rules.
Thanks for your time guys!April 25, 2019 at 6:04 am #120820
Artem TemosKeymasterGreat, we are glad that you sorted it out and share your solution here.
Kind Regards
-
AuthorPosts
The topic ‘Error with "add to cart button" triying to buy on another country’ is closed to new replies.
- You must be logged in to create new topics. Login / Register