close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Ajax update quantity on cart javascript error

Thread began 2/06/2014 6:18 pm by Miguel | Last modified 2/07/2014 6:46 am by Jason Byrnes | 952 views | 3 replies |

Miguel

Ajax update quantity on cart javascript error

Hello Webassist team, im getting an error with the ajax update quantity link it gives me this error:

Timestamp: 2/6/2014 9:21:13 PM
Error: SyntaxError: syntax error
Source File: http://localhost/site/WA_eCart/js/eC_Display.js
Line: 32, Column: 16
Source Code:
var ecart_obj = <?xml version="1.0" encoding="UTF-8"?>

For more info the site im making is under bootstrap 3.x and jquery

I created the cart page on an empty documents without any javascripts but the ones generated by ecart, it also happened on a clean page.

The error is also displaying when clicking the remove link

Sign in to reply to this post

Jason ByrnesWebAssist

send a link where i can see the problem to troubleshoot the cause.

Sign in to reply to this post

Miguel

Ok got it fix for some reason when ecart created the page it created the file "eCart_JSON.php" but in the code it placed

var ecart_json = "WA_eCart/site1_JSON.php";

i just renamed the file and it worked

Sign in to reply to this post

Jason ByrnesWebAssist

ok, glad to hear it is working, I have not encountered that problem, but will keep my eye out for it.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...