Jump to content

Discount on Bank Wire: Impossible in Prestashop???


Recommended Posts

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!

Cheers

Jeff

P.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

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

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

  • 1 month later...
×
×
  • Create New...