France-Elite Posted March 7, 2017 Share Posted March 7, 2017 Hi, I see in my log this error : Frontcontroller::init - Cart cannot be loaded or an order has already been placed using this cart I use PS 1.6.1.4 Have you got this problem ? What are the symptoms for customers or on the front office ? Thanks for your help. Link to comment Share on other sites More sharing options...
Gabriel Perez Posted March 7, 2017 Share Posted March 7, 2017 Hi. Users doesnt notice this. Usually you get that message (not error) when a customer reloads the order confirmation page. Link to comment Share on other sites More sharing options...
joseantgv Posted March 7, 2017 Share Posted March 7, 2017 There's already a multipage post https://www.prestashop.com/forums/topic/466782-cart-cannot-be-loaded-or-an-order-has-already-been-placed-using-this-cart/ Link to comment Share on other sites More sharing options...
France-Elite Posted March 7, 2017 Author Share Posted March 7, 2017 I read this thread. Apparently not there yet specific solution. Link to comment Share on other sites More sharing options...
myselfidem Posted May 7, 2017 Share Posted May 7, 2017 Hello, To solve this issue, you can add this lines Inside : PaymentModule.php Browse to : prestashop/classes/PaymentModule.php Add this from line 821 // Ajouter pour supprimer l'erreur du panier : contient déjà un produit if ((int)$this->context->cookie->id_cart > 0) { $this->context->cookie->__unset('id_cart'); } Works fine on Prestashop 1.6.1.13 Friendly I don't remember where I found this tip ;-) Link to comment Share on other sites More sharing options...
gillesvt Posted June 2, 2017 Share Posted June 2, 2017 Bonjour, Cette erreur apparaît lorsqu'il y a plusieurs produits dans le panier, lors de finalisation de la commande, je l'ai sur plusieurs sites en version 1.6.13, mais ça existait depuis près de 2 ans dans les logs.Certainement un bug sur un module Prestashop,vue que cette erreur est signalée depuis longtemps mais toujours présente, j'ai vérifié les id sur la BD, il n'y a pas d'autre raison d'avoir cette erreur. Gilles Link to comment Share on other sites More sharing options...
soportepne Posted October 22, 2019 Share Posted October 22, 2019 On 5/7/2017 at 9:59 PM, myselfidem said: Hello, To solve this issue, you can add this lines Inside : PaymentModule.php Browse to : prestashop/classes/PaymentModule.php Add this from line 821 // Ajouter pour supprimer l'erreur du panier : contient déjà un produit if ((int)$this->context->cookie->id_cart > 0) { $this->context->cookie->__unset('id_cart'); } Works fine on Prestashop 1.6.1.13 Friendly I don't remember where I found this tip 😉 Hi gillesvt. I had the same error message in Prestashop 1.6.1.17. I made your suggestion and it worked perfectly. Thank you. Regards. Link to comment Share on other sites More sharing options...
El Capitan Posted December 20, 2021 Share Posted December 20, 2021 For me this fix only works for bank transfers. When using my payment module (Ingenico), $this->context->cookie->id_cart doesn't exist 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