lapecheenligne Posted December 17, 2013 Share Posted December 17, 2013 Bonjour, Petit soucis en cours... J'ai céer des règles de paniers pour des clients particuliers qui reçoivent des réduction différentes sur des marques en particulier de ma boutique... J'ai mis en place.. tout sembler bien se passer, test ok... et maintenant je ne sais pas pourquoi.???? j'ai ce message quand je valide le code de réduction dans mon panier test.. "Vous devez choisir un transporteur avant de pouvoir appliquer ce bon de réduction à votre commande".????? J'avoue que j'ai fais le tour de ce que je pouvais... sans résoudre mon problème. Quelqu'un sur le forum pourrait il m'aider.? me guider.? Merci d'avance pour l'aide à venir. Bruno Link to comment Share on other sites More sharing options...
Regaton Posted March 19, 2015 Share Posted March 19, 2015 Plus d'un an après pas de réponse ? Link to comment Share on other sites More sharing options...
fherrard Posted June 26, 2015 Share Posted June 26, 2015 Effectivement bizarre je recherche mais ne trouve pas de réponse non plus Link to comment Share on other sites More sharing options...
webconcept76 Posted December 7, 2015 Share Posted December 7, 2015 (edited) Le message d'erreur s'affiche des que l'on rentre dans cette condition if ($this->carrier_restriction) { if (!$context->cart->id_carrier) return (!$display_error) ? false : Tools::displayError('You must choose a carrier before applying this voucher to your order'); Un début de piste ici : https://www.prestashop.com/forums/topic/309253-you-must-choose-a-carrier-before-applying-this-voucher-to-your-order/ Possible solutions/work arounds: - Maybe make the Livraison à domicile your default carrier. This might help. (But only if you don't have other vouchers for other carriers which will then give the same problem for those carriers, of course) - Use instead of the 5 step checkout the one page checkout. This way the customer can just scroll down quickly to choose a carrier and then add the voucher code again. - any other solution needs hacking in the source code of PrestaShop, which may prove difficult/time consuming. You would have to accept vouchers independent on if they can be used, then at the end in step 5 check if they indeed can be used. (And if not, alert the buyer that the voucher will unfortunately not work with these chosen settings, which is also strange, as they will think 'why didn't you tell me in the first place when I added the code". You can't really 'win' here... mais ce qui me chagrine c'est que l'équipe prestashop soit incapable de régler ce probleme ou alors de changer le comportement en déplacant le code promo après la sélection du transporteur. ps: Le seul moyen que j'ai trouvé pour résoudre ce problème est l'activation du mode "One page Checkout". Cordialement. Edited December 7, 2015 by webconcept76 (see edit history) 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