Jeff S. Posted May 13, 2010 Share Posted May 13, 2010 Dear All, I have searched in a few languages for a solution or an existing module to the following (simple) issue:"Give X% discount over the total of an order if the payment is Bank by Wire".It seems that it is rather a simple issue (although the apparent simplicity to me might stem from my lack of knowledge of Prestashop! ) and I have seen many walkthrough and full modules for more complex situations.As bank transfers are much cheaper than credit card or paypal transactions and that the money is available straight away (part of the "cheaper" also) it makes sense to offer customers a discount for using this payment method.I have seen quite a few questions on the subject but never did I come across a solution!Would it be possible to have a comment from the Prestashop developpers? Maybe a quick code fix for the Bank by Wire Module?Thanks in advance for any help. This fix would be great and I wish I had checked that before starting my shop on Prestashop. Although apart from this (main) issue it is indeed quite an impressive piece of software!CheersJeffP.S.: The closest I found to a solution so far:1- Application of % discount on total order: % discount on order If this code is happening after payment selection and if we could test if payment is Bank by wire then it looks it could work?2- % discount for transfer: % discount code this is turkish but you can see the download at the bottom. It says that the code works well until payment, then there is some error (I haven't had time to test yet) Link to comment Share on other sites More sharing options...
mirifica Posted May 14, 2010 Share Posted May 14, 2010 I think this is being avoided on purpose as this would knock against some premium partners ...http://www.prestashop.com/en/partner_paypal/ Link to comment Share on other sites More sharing options...
safa Posted May 14, 2010 Share Posted May 14, 2010 I've done this module but the error is given. was the reason for missing payments It's easy to do, sample bankwire.php and 5% discount $safa = number_format($cart->getOrderTotal(true, 3), 2, '.', ''); $safa = ($safa - $safa*5/100); but the error is given. because it was missing payments:) Link to comment Share on other sites More sharing options...
Jeff S. Posted May 18, 2010 Author Share Posted May 18, 2010 So this is the code with which the order is automatically deleted because of the difference? Can no one tell us about how to change the control being performed?(or maybe just adjust the tolerance of the control...) I suppose even a warning of missing amount would be better than nothing.Such a pain this limitation...thanks for the answers...Jeff Link to comment Share on other sites More sharing options...
custompresta Posted June 19, 2010 Share Posted June 19, 2010 Discount on bank wire in PrestaShop is possible!The solution can be found here:Module Bankwire with Discount Link to comment Share on other sites More sharing options...
henrycr Posted June 19, 2010 Share Posted June 19, 2010 Hello friend I have two questions this module is for version 1.1.5 of Prestashop ?Henry Link to comment Share on other sites More sharing options...
custompresta Posted June 20, 2010 Share Posted June 20, 2010 Hello friend I have two questions this module is for version 1.1.5 of Prestashop ?Henry The module is tested and works with version 1.2.5 and 1.3.Version 1.1.5 i don't have for testing, so i can not answer your question. Link to comment Share on other sites More sharing options...
Recommended Posts