• Resolved petterbergstrom

    (@petterbergstrom)


    Is there a way to change the balance threshold for using wallet to other than 0, like -40?

Viewing 4 replies - 1 through 4 (of 4 total)
  • suleyneo

    (@suleyneo)

    214/5000
    This would be very interesting.
    You should ask the application developer if it is possible to implement this option, because for regular transactions it would be a way to regulate the positive / negative balance.

    Plugin Author Subrata Mal

    (@subratamal)

    @suleyneo @petterbergstrom Please use the below code in the theme function.php file to allow negative transactions.

    add_filter('woo_wallet_disallow_negative_transaction', '__return_false');

    Thread Starter petterbergstrom

    (@petterbergstrom)

    Thanks, will this also allow user purchases when too low balance? (don′t want that)
    So if I want want to allow only admin transactions to result in balance <0, then I would, add this code just before making the bulk transaction, and then remove it again?

    Hello,
    Thanks for the reply.
    We have tested the code but it does not work.
    You enter the amount in negative, but the balance in the wallet is always “0”.
    We need the wallet to collect the negative amount that we write down (for example, -3.50 €, -1.75 €, etc.), so that it can be deducted in the next purchase.
    If this is possible, please let us know.
    Thanks a lot.
    All the best.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Allow negative balance’ is closed to new replies.