Ldesmarets Posted February 5, 2024 Share Posted February 5, 2024 Bonjour, dans le BO Prestashop, on a de nombreuses lignes de panier à 0, apparemment un comportement normal mais à quoi correspondent ces paniers à 0? Link to comment Share on other sites More sharing options...
Eolia Posted February 5, 2024 Share Posted February 5, 2024 des modules qui ont validé des paniers vide. Par défaut Prestashop crée un panier à chaque connexion mais ne l'enregistre réellement QUE si un produit au moins a été ajouté. Si un module effectue une modification et envoie $cart->save(), le panier est alors enregistré. 1 Link to comment Share on other sites More sharing options...
Ldesmarets Posted February 5, 2024 Author Share Posted February 5, 2024 Merci Eolia, c'est clair maintenant. Link to comment Share on other sites More sharing options...
Ldesmarets Posted February 5, 2024 Author Share Posted February 5, 2024 Vu dans le core : CreateEmptyCustomerCartHAndler.php, on retrouve $cart->save(); apparemment le panier vide est enregistré de base. 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