JON2JON Posted February 13, 2014 Share Posted February 13, 2014 Bonjour,J'ai le module de "paiement comptant" (Comptant à la livraison v0.4) qui n'apparaît plus côté utilisateur, alors qu'il est bien activé côté admin... tout est coché comme pour paypal mais seul ce dernier s'affiche.J'ai réuploadé le module sans succès. Si quelqu'un a une solution c'est super, je commece à être un peu dépassé.Merci d'avance. jon Link to comment Share on other sites More sharing options...
Bondaty and Co Posted February 13, 2014 Share Posted February 13, 2014 regardez dans votre groupe client si il n'est pas en restriction 1 Link to comment Share on other sites More sharing options...
JON2JON Posted February 13, 2014 Author Share Posted February 13, 2014 si ça peut aider, voici l'adresse du site : http://inavette.com/index.php?id_product=8&controller=product&id_lang=2 merci encore Link to comment Share on other sites More sharing options...
JON2JON Posted February 13, 2014 Author Share Posted February 13, 2014 Merci de votre réponse, tout est coché dans la restrictions des groupes comme pour paypal Link to comment Share on other sites More sharing options...
Bondaty and Co Posted February 13, 2014 Share Posted February 13, 2014 Allez dans Clients->Groupes et vérifiez que le module n'est pas en restriction pour chaque groupe de client Link to comment Share on other sites More sharing options...
JON2JON Posted February 13, 2014 Author Share Posted February 13, 2014 le module est bien dans les modules autorisés pour chaque groupe de client Link to comment Share on other sites More sharing options...
Bondaty and Co Posted February 13, 2014 Share Posted February 13, 2014 Franchement difficile à voir comme celà, je ne voyez que cette possibilité Link to comment Share on other sites More sharing options...
JON2JON Posted February 13, 2014 Author Share Posted February 13, 2014 en tout cas merci quand même 1 Link to comment Share on other sites More sharing options...
JON2JON Posted February 14, 2014 Author Share Posted February 14, 2014 personne a une idée ? Link to comment Share on other sites More sharing options...
Bondaty and Co Posted February 14, 2014 Share Posted February 14, 2014 Il faut gratter un peu, est ce que votre module fonctionne, et est compatible avec votre version de prestashop. Avez vous bien un fichier .tpl dedans.... Link to comment Share on other sites More sharing options...
JON2JON Posted February 14, 2014 Author Share Posted February 14, 2014 il est bien compatible car il fait partie du pack prestashop par defaut, et j'ai bien le fichier tpl Link to comment Share on other sites More sharing options...
Bondaty and Co Posted February 14, 2014 Share Posted February 14, 2014 Je viens de faire des tests sur une de mes versions 1.5 tout est OK, désolé, je ne vois pas d'où ça peut venir Link to comment Share on other sites More sharing options...
JON2JON Posted February 14, 2014 Author Share Posted February 14, 2014 tant pis, en tout cas merci beaucoup Link to comment Share on other sites More sharing options...
Gregory Roussac Posted February 15, 2014 Share Posted February 15, 2014 Hello, A part les groupes effectivement ou verifier qu'il est bien greffé sur le hook payment dans l'onglet position.... Cordialement Link to comment Share on other sites More sharing options...
JON2JON Posted February 15, 2014 Author Share Posted February 15, 2014 Merci de votre réponse, il est bien dedans Link to comment Share on other sites More sharing options...
Gregory Roussac Posted February 15, 2014 Share Posted February 15, 2014 Re Ce sont des produits virtuels ? Sinon vous pour essayer de mettre {d var='passe'} dans le template payment.tpl dans votre thème si il y est sinon dans le template du module. et sinon essayez de voir si il passe bien dans le php ligne 81 de cashondelivery.php vous pouvez essayer de mettre d('passe'); juste avant return $this->display.... Cordialement Link to comment Share on other sites More sharing options...
JON2JON Posted February 15, 2014 Author Share Posted February 15, 2014 Oui ce sont des produits virtuels Voici le code mais j'ai due me tromper : {** 2007-2013 PrestaShop** NOTICE OF LICENSE** This source file is subject to the Academic Free License (AFL 3.0)* that is bundled with this package in the file LICENSE.txt.* It is also available through the world-wide-web at this URL:* http://opensource.org/licenses/afl-3.0.php* If you did not receive a copy of the license and are unable to* obtain it through the world-wide-web, please send an email* to [email protected] so we can send you a copy immediately.** DISCLAIMER** Do not edit or add to this file if you wish to upgrade PrestaShop to newer* versions in the future. If you wish to customize PrestaShop for your* needs please refer to http://www.prestashop.com for more information.** @author PrestaShop SA* @copyright 2007-2013 PrestaShop SA* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)* International Registered Trademark & Property of PrestaShop SA*}<p class="payment_module"> <a href="{$this_path_ssl}validation.php" title="{l s='Pay with cash on delivery (COD)' mod='cashondelivery'}"> <img src="{$this_path}cashondelivery.gif" alt="{l s='Pay with cash on delivery (COD)' mod='cashondelivery'}" style="float:left;" /> [d var='passe'} <br />{l s='Pay with cash on delivery (COD)' mod='cashondelivery'} <br />{l s='You pay for the merchandise upon delivery' mod='cashondelivery'} <br style="clear:both;" /> </a> </p> Link to comment Share on other sites More sharing options...
JON2JON Posted February 15, 2014 Author Share Posted February 15, 2014 Pour cashondelivery.php $smarty->assign(array( 'this_path' => $this->_path, //keep for retro compat 'this_path_cod' => $this->_path, 'this_path_ssl' => Tools::getShopDomainSsl(true, true).__PS_BASE_URI__.'modules/'.$this->name.'/' )); d('passe'); return $this->display(__FILE__, 'payment.tpl'); } public function hookPaymentReturn($params) { if (!$this->active) return ; return $this->display(__FILE__, 'confirmation.tpl'); }} Link to comment Share on other sites More sharing options...
Gregory Roussac Posted February 15, 2014 Share Posted February 15, 2014 Re Désolé mais les produits virtuels ne peuvent pas être livrés à un domicile, juste avant vous avez un return false qui empêche le template de s'afficher. Cordialement Link to comment Share on other sites More sharing options...
JON2JON Posted February 15, 2014 Author Share Posted February 15, 2014 SUPER MERCI !!!! En fait mon client vend un service de transport et acheter un module, le fournisseur a effectivement changé le produit en produit dematerialisé sans me le dire, étant novice sur prestashop... tout s'explique ! MERCI beaucoup cordialement Link to comment Share on other sites More sharing options...
Epicapo Posted February 23, 2017 Share Posted February 23, 2017 up! bonjour, pour ma part j'utilise le module de reforest action, c'est un module qui permet de cocher une option lors de la validation de commande. cette option propose pour 0.99eur de planter un arbre pour compenser les émission de co2 de votre commande. cela marche bien, mais ce fameux module fonctionne en ajoutant un produit dématérialisée au panier... Résultat lors d'une commande, si le client veut un paiement à la livraison, et qu'il choisit cette option ecolo, alors il n'a pluu accès à ce mode de paiement/livraison... très gênant... quelqu'un saurait comment modifier le code de ce module pour qu'il accepte le paiement à la livraison pour les produits dématérialisés? merci d'avance... mon site www.capoeirashop.fr le site de reforest : http://www.reforestaction.com/ (module achat responsable-gratuit- simple et facile d'utilisation/installation) 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