ronald2009 Posted May 14, 2009 Share Posted May 14, 2009 HiI Need an urgent solve on the following problem:De cart is showing up empty when trying to order in internet ExplorerSafari & Firefox works fine on mac, I can place ordersFirefox & Safari on windows works fine, I can Place Ordersbut when i open the shop in Internet Explorer, it saysshoppingcart emptycheck for yourselve: http://www.besteltiramisu.nl Link to comment Share on other sites More sharing options...
ronald2009 Posted May 14, 2009 Author Share Posted May 14, 2009 strange thing is thisI used an iframe to get the shop showed up in my designwhen I open the shop outside the frame it works perfectlySo why does it shows " Empty Cart" when I click on " Order"in the Iframe...? Link to comment Share on other sites More sharing options...
ronald2009 Posted May 15, 2009 Author Share Posted May 15, 2009 Seems that it only occurs in IE7 & 8 ...IE 6 works fine to me!Please I really need an answer on this...I saw more problems with thisbut no clue yet for me... Link to comment Share on other sites More sharing options...
ronald2009 Posted May 15, 2009 Author Share Posted May 15, 2009 Still nobody? Link to comment Share on other sites More sharing options...
fancydressqueen Posted May 15, 2009 Share Posted May 15, 2009 Hi ronald,I have the exact same issue, but sadly have yet to find a solution. I presume this is a standard issue with Prestashop, but I could well be wrong.Keep you updated if I find out more. Link to comment Share on other sites More sharing options...
ronald2009 Posted May 17, 2009 Author Share Posted May 17, 2009 seems like the cookie is not set correctly,The shop works outside the iframe, when then go back to the site with the shop in the iframeit works correctlyWhat's wrong with the cookie setting? why doesn't this work when inside the iframe in ie 7 en 8all other browsers (including IE 6) it works perfectly Link to comment Share on other sites More sharing options...
ronald2009 Posted May 17, 2009 Author Share Posted May 17, 2009 another thing the shop is running on a other domain..there's seem to be a problem with setting cookies within an iframe from other domains, figuring out how to solve Link to comment Share on other sites More sharing options...
ronald2009 Posted May 17, 2009 Author Share Posted May 17, 2009 I Found the solution when googling on cookie + IframeThe problem lies with a W3C standard called Platform for Privacy Preferences or P3P for short. You can read all about the boring stuff via the link or else just install the P3P Compact Policy header below. This will allow Internet Explorer to accept your third-party cookie. You will need to send the header on every page that sets a cookie.PHP:header('P3P:CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"');In which part should I paste this? Link to comment Share on other sites More sharing options...
ronald2009 Posted May 17, 2009 Author Share Posted May 17, 2009 Changed the above code in the header.php p3p policies section, but still not working...darn*EDIT*Also paste the code in the following files:index.phpcart.phpauthentication.phporder.phpproduct.phpAnd then it works perfectly!!Woo..finally solved the problem... Link to comment Share on other sites More sharing options...
fancydressqueen Posted May 18, 2009 Share Posted May 18, 2009 Hi ronald,Great work! No time to edit all documents now but I will try it soon. Keep me updated if you have any further issues and I will do the same.Thanks for your hard work. Link to comment Share on other sites More sharing options...
hopis Posted November 27, 2010 Share Posted November 27, 2010 Hi,If the shop is called via an iframe the cookies are handled like 3rd party cookies.IE 7/8 only accepts first party cookies as feault setting. The settings have to be changed to accept 3rd party cookies too.On FF3.5/6 the 3rd party cookies are already set.You can also avoid this by avoiding the iframe.Rgdshp Link to comment Share on other sites More sharing options...
Recommended Posts