hasniou 6 Posted April 25, 2018 Bonjour, Existe-il un hook du genre "hookActionCartBeforeSave" ? Je souhaite faire des traitements juste avant qu'un produit soit supprimé du panier. Le hook hookActionCartSave intervient après suppression du produit (et moi, j'ai besoin des informations du produit pour faire select value from customized_data where id_customization = ...) Share this post Link to post Share on other sites
coeos.pro 609 Posted April 25, 2018 et actionObjectProductInCartDeleteBefore ? (This hook is called before a product is removed from a cart) Share this post Link to post Share on other sites
hasniou 6 Posted April 25, 2018 Ouups, désolé, j'ai oublié de préciser que c'est du Prestashop 1.6 et non 1.7 y a-il un équivalent de actionObjectProductInCartDeleteBefore pour Prestashop 1.6 ? Merci ! Share this post Link to post Share on other sites
coeos.pro 609 Posted April 25, 2018 non, mais tu peux toujours le rajouter via un override Share this post Link to post Share on other sites
hasniou 6 Posted April 25, 2018 Merci pour ton aide ! J'ai trouvé un autre moyen en passant les attributs via Ajax (et qui restent en mémoire après suppression) Share this post Link to post Share on other sites