ande85 Posted April 15, 2011 Share Posted April 15, 2011 Hi,I am using prestashop 1.4 and the one page checkout. When I go to the checkout page and trying to delete a product och change the quantity I get an error;TECHNICAL ERROR: unable to save update quantity Details:Error thrown: [object XMLHttpRequest]Text status: errorAnd when i use the console in chrome to check up on errors i get this:XMLHttpRequest cannot load http://trendystuff.se/cart.php?_=1302859115279&ajax=true&token=cbe6a7d198a0f075caa7181c9a40e1a8.'>http://trendystuff.se/cart.php?_=1302859115279&ajax=true&token=cbe6a7d198a0f075caa7181c9a40e1a8. Origin http://www.trendystuff.se is not allowed by Access-Control-Allow-Origin.cart.phpGET http://trendystuff.se/cart.php?_=1302859115279&ajax=true&token=cbe6a7d198a0f075caa7181c9a40e1a8 undefined (undefined)I´ve searched around and haven´t been able to find a solution, can anyone help me?If you want to check up your self you can accsess my site on trendystuff.seThanks for your answer! Link to comment Share on other sites More sharing options...
lynx887 Posted April 25, 2011 Share Posted April 25, 2011 HiI added the below to cart.php and no longer have the error. header('Access-Control-Allow-Origin: *'); Link to comment Share on other sites More sharing options...
AG Posted April 28, 2011 Share Posted April 28, 2011 Hi lynx887,Thank you so much for the tip!!!Now my cart is working perfectly!! Thanks!!Regards,Alvin Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now