em72 Posted December 5, 2010 Share Posted December 5, 2010 Bonjour,J'aurais aimer savoir si il serait possible de proposer les paquets cadeaux sans un message client.Merci. Link to comment Share on other sites More sharing options...
em72 Posted December 5, 2010 Author Share Posted December 5, 2010 Je suppose qu'il faut empêcher l'apparition du message, mais dans quel fichier? Link to comment Share on other sites More sharing options...
chrisxm Posted December 5, 2010 Share Posted December 5, 2010 Je pense que c est dans le fichier order.php dans la fonction 'processCarrier' Link to comment Share on other sites More sharing options...
em72 Posted December 6, 2010 Author Share Posted December 6, 2010 Ok, merci, je vais voir ça quand j'aurais le temps. Link to comment Share on other sites More sharing options...
em72 Posted December 7, 2010 Author Share Posted December 7, 2010 Bonsoir,Je n'arrive pas à modifier le fichier.J'ai repéré le passage suivant, mais je ne sais pas quoi supprimer: if (isset($_POST['gift']) AND !empty($_POST['gift'])) { if (!Validate::isMessage($_POST['gift_message'])) $errors[] = Tools::displayError('invalid gift message'); else { $cart->gift = 1; $cart->gift_message = strip_tags($_POST['gift_message']); } } else $cart->gift = 0; Merci. Link to comment Share on other sites More sharing options...
em72 Posted December 8, 2010 Author Share Posted December 8, 2010 J'ai trouvé la réponse ici: http://www.prestashop.com/forums/viewthread/20009/modules_tiers/emaballage_cadeau_sans_message_daccompagnementMerci. 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