AbanteCart Community
Shopping Cart Operations => Support => General Support => Topic started by: Ericles on July 08, 2014, 11:02:38 PM
-
All too many folks find their way to these forums because they have problems and the first thing anyone hears is complaints.
So I'll start with a Thank You!
I've been playing around with a half dozen different store-front/shopping cart options and I found each one to be either too cumbersome or lacking what I consider to be the basics. Until I tried Abantecart. ;D
I've found the forums here to be a useful support tool but I couldn't find a solution to my current problem. I'm seeing the "Unknown AJAX Error" in a few places. Most notably when clicking a button in the "Main Page Banner Slider" and when adding an item to a cart when using a text entry option for that product. This was documented in a recent thread (http://forum.abantecart.com/index.php/topic,1863.0.html) but I'm starting a new topic since we're at 1.1.9 now.
Checking FireBug I found two red warnings in the console when clicking the Add To Cart after entering something in a text input option:
POST ... /index.php?rt=r/product/product/get_option_resources&attribute_value_id=8646
POST ... index.php?rt=r/product/product/calculateTotal
Neither post seems to have a response.
There was no message in the Firebug Console when clicking a text button in the banner slider.
I couldn't figure out any cause for the error so rather than try to dissect the Java/AJAX I removed the display of the errors instead.
Edit:
\storefront\view\default_html5\javascript\custom.js
Comment out line 71:
// showMsg( 'AJAX Error', error_text, function () { } );
Whatever this error actually indicates, there does not seem to be any problems with the operation of the site. I'm willing to pretend the messages aren't there just because I can't see them. ;)
Hopefully this helps someone either debug the error or work around it.
-Eric
-
Thank you for details. We actually aware of the problem. We will update with the fix soon.
-
Excellent! Keep up the good work. :)
-
Getting same "Unknown Ajax Error" while adding item to cart from home page only.
-
errors in log?
-
to solve it replace file public_html/storefront/view/default_html5/javascript/common.js by attached
-
Still getting same error :( :(
-
Still getting same error :( :(
errors in log?
-
Thanks, Abolado.
Problem Solved.
-
i m facing the same problem abolabo , when i add product and click on checkout , it gives me ajax error
looking ahead for ur support , how to sort it out
-
i m facing the same problem abolabo , when i add product and click on checkout , it gives me ajax error
looking ahead for ur support , how to sort it out
Do you any errors in error log?
-
Abolabo thank you. I backed up the original and placed your in there.
My problem is I get no ajax pop-up to show items added to the cart. I add an item and go takes me to the cart which I dont want.
-
Actually I have the setting turned on for Ajax and it still does not work
-
Abolabo thank you. I backed up the original and placed your in there.
My problem is I get no ajax pop-up to show items added to the cart. I add an item and go takes me to the cart which I dont want.
ajax popup works on template level. What template do you use? default or default_html5? or another?
Did you tried to replicate this issue on our demo (http://www.abantecart.com/shopping-cart-demo)?
-
Default HTML5 but modified it to my needs. I just tried the demo and no Ajax happened either
-
Default HTML5 but modified it to my needs. I just tried the demo and no Ajax happened either
give me url
-
as for me all works correct.
You have products with options. To buy it customer must choose one of them. That's why ajax adding does not work.
For ex. you can check product Wipe Aide Toilet Paper Moistener: Safe For Plumbing - Helps Toilet Paper Dissolve Easily in the LATEST block on home page. It's product without options. adding works fine.
-
Weird. I still dont see it work.
I just tried on IE11. Since I dont use IE much I cleared all the cache and history and went to the site fresh and it still did not work
-
what about New version? how to resolve it?
-
I getting 'UNKNOWN AJAX ERROR"
how to fix this problem?
-
Hello, I'm getting the "Unknown Ajax Error" when I click the button in the Main Banner.
But as soon I click the button, the page opens in a new window!! But on the homepage "Unknown Ajax Error" is being displayed!
Funny part is, there is no entry of it in the error log!
Please help me out with this!
The website is due to launch and I must clear these glitches! :'(
-
Hello, I'm getting the "Unknown Ajax Error" when I click the button in the Main Banner.
But as soon I click the button, the page opens in a new window!! But on the homepage "Unknown Ajax Error" is being displayed!
Check your store url settings in admin
see post (http://forum.abantecart.com/index.php/topic,2707.msg11571.html#msg11571)
-
still got the same problem after i update from version 1.2.16 to 1.3.0
-
I still got the same problem after i uploaded the common.js file.
url is actintool(dot)com/cup-wheel/4-diamond-9-segments-turbo-cup-wheel-for-concrete-floor?session_id=4d77cf72b442269c3ad4c0312023736e
-
I still got the same problem after i uploaded the common.js file.
url is actintool(dot)com/cup-wheel/4-diamond-9-segments-turbo-cup-wheel-for-concrete-floor?session_id=4d77cf72b442269c3ad4c0312023736e
Hello. Set the Store URL to be the same with the URL you visit. Most likely you have www.actintool... as your store URL
-
First i updated the common.js file. Second, i checked the store url in setting. Third, i cleared the cache and history. But still got the Unknown AJAX Error window.
-
First i updated the common.js file.
Hello.
Why did you update it? Are yo still on 1.3.0 version, try to update to at latest version