Title: ehoty's Replies | WordPress.org

---

# ehoty

  [  ](https://wordpress.org/support/users/ehoty/)

 *   [Profile](https://wordpress.org/support/users/ehoty/)
 *   [Topics Started](https://wordpress.org/support/users/ehoty/topics/)
 *   [Replies Created](https://wordpress.org/support/users/ehoty/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/ehoty/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/ehoty/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/ehoty/engagements/)
 *   [Favorites](https://wordpress.org/support/users/ehoty/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wallet for WooCommerce] Change cashback word to commission](https://wordpress.org/support/topic/change-cashback-word-to-commission/)
 *  [ehoty](https://wordpress.org/support/users/ehoty/)
 * (@ehoty)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/change-cashback-word-to-commission/#post-13780580)
 * Is it possible to show available wallet balance on the checkout page?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wallet for WooCommerce] Plugin still supported?](https://wordpress.org/support/topic/plugin-still-supported-19/)
 *  [ehoty](https://wordpress.org/support/users/ehoty/)
 * (@ehoty)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/plugin-still-supported-19/#post-13755038)
 * Please help! [@subratamal](https://wordpress.org/support/users/subratamal/)
    
   I want to disable customers from using wallet balance when they ordering cashback
   products. Is it possible?
    -  This reply was modified 5 years, 8 months ago by [ehoty](https://wordpress.org/support/users/ehoty/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wallet for WooCommerce] Disable using wallet balance for cashback products](https://wordpress.org/support/topic/disable-using-wallet-balance-for-cashback-products/)
 *  Thread Starter [ehoty](https://wordpress.org/support/users/ehoty/)
 * (@ehoty)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/disable-using-wallet-balance-for-cashback-products/#post-13734784)
 * Please Help Me, Sir. I don’t have the method to fulfill your requirement.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wallet for WooCommerce] Disable using wallet balance for cashback products](https://wordpress.org/support/topic/disable-using-wallet-balance-for-cashback-products/)
 *  Thread Starter [ehoty](https://wordpress.org/support/users/ehoty/)
 * (@ehoty)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/disable-using-wallet-balance-for-cashback-products/#post-13728577)
 * Thanks for your reply. I already sent a mail regarding this issue. Hope it will
   be solved soon.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wallet for WooCommerce] Edit “Via Wallet” label when partial payment on checkout](https://wordpress.org/support/topic/edit-via-wallet-label-when-partial-payment-on-checkout/)
 *  [ehoty](https://wordpress.org/support/users/ehoty/)
 * (@ehoty)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/edit-via-wallet-label-when-partial-payment-on-checkout/#post-13721165)
 * Please help!
    I want to disable customers from using wallet balance when they
   ordering cashback products. Is it possible?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BuddyCommerce: WooCommerce and BuddyPress Integration] Tera Wallet (Woo Wallet) Integeration](https://wordpress.org/support/topic/tera-wallet-woo-wallet-integeration/)
 *  [ehoty](https://wordpress.org/support/users/ehoty/)
 * (@ehoty)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/tera-wallet-woo-wallet-integeration/page/2/#post-13721161)
 * Please help!
    I want to disable customers from using wallet balance when they
   ordering cashback products. Is it possible?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wallet for WooCommerce] Partial Payment in checkout page (30% payment through wallet)](https://wordpress.org/support/topic/partial-payment-in-checkout-page-30-payment-through-wallet/)
 *  [ehoty](https://wordpress.org/support/users/ehoty/)
 * (@ehoty)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/partial-payment-in-checkout-page-30-payment-through-wallet/#post-13697957)
 * You need to enable “Auto deduct wallet balance for partial payment” from tera
   wallet setting. It’s working for woocomerce Version 4.4.1
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wallet for WooCommerce] Partial Payment in checkout page (30% payment through wallet)](https://wordpress.org/support/topic/partial-payment-in-checkout-page-30-payment-through-wallet/)
 *  [ehoty](https://wordpress.org/support/users/ehoty/)
 * (@ehoty)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/partial-payment-in-checkout-page-30-payment-through-wallet/#post-13695543)
 * Write this code to your function.php or use the Code Snippets plugin to do that.
 * add_filter(‘is_valid_payment_through_wallet’, ‘__return_false’);
    add_filter(‘
   woo_wallet_partial_payment_amount’, ‘woo_wallet_partial_payment_amount_callback’,
   10);
 * function woo_wallet_partial_payment_amount_callback($amount) {
    if (sizeof(wc()-
   >cart->get_cart()) > 0) { $cart_total = get_woowallet_cart_total(); $partial_payment_amount
   = ($cart_total * 30) / 100; if ($amount >= $partial_payment_amount) { $amount
   = $partial_payment_amount; } } return $amount; }
    -  This reply was modified 5 years, 8 months ago by [ehoty](https://wordpress.org/support/users/ehoty/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wallet for WooCommerce] restrict the uses of wallet balance at checkout](https://wordpress.org/support/topic/restrict-the-uses-of-wallet-balance-at-checkout/)
 *  [ehoty](https://wordpress.org/support/users/ehoty/)
 * (@ehoty)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/restrict-the-uses-of-wallet-balance-at-checkout/page/2/#post-13691099)
 * I want to disable deducting balance from the wallet, for the cashback product.
   
   Is it possible?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wallet for WooCommerce] Issue with payment gateway fee](https://wordpress.org/support/topic/issue-with-payment-gateway-fee/)
 *  [ehoty](https://wordpress.org/support/users/ehoty/)
 * (@ehoty)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/issue-with-payment-gateway-fee/#post-13691096)
 * I want to disable deducting balance from the wallet, for the cashback product.
   
   Is it possible?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wallet for WooCommerce] Cashback Amount On Cart and Checkout page](https://wordpress.org/support/topic/cashback-amount-on-cart-and-checkout-page/)
 *  [ehoty](https://wordpress.org/support/users/ehoty/)
 * (@ehoty)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/cashback-amount-on-cart-and-checkout-page/#post-13691092)
 * I want to disable deducting balance from the wallet, for the cashback product.
   
   Is it possible?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wallet for WooCommerce] WooWallet doesn’t show in new WooCommerce Blocks checkout](https://wordpress.org/support/topic/woowallet-doesnt-show-in-new-woocommerce-blocks-checkout/)
 *  [ehoty](https://wordpress.org/support/users/ehoty/)
 * (@ehoty)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/woowallet-doesnt-show-in-new-woocommerce-blocks-checkout/#post-13691091)
 * I want to disable deducting balance from the wallet, for the cashback product.
   
   Is it possible?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wallet for WooCommerce] Edit “Via Wallet” label when partial payment on checkout](https://wordpress.org/support/topic/edit-via-wallet-label-when-partial-payment-on-checkout/)
 *  [ehoty](https://wordpress.org/support/users/ehoty/)
 * (@ehoty)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/edit-via-wallet-label-when-partial-payment-on-checkout/#post-13691086)
 * I want to disable deducting balance from the wallet, for the cashback product.
   
   Is it possible?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wallet for WooCommerce] How to limit Woocommerce wallet setting?](https://wordpress.org/support/topic/how-to-limit-woocommerce-wallet-setting-2/)
 *  Thread Starter [ehoty](https://wordpress.org/support/users/ehoty/)
 * (@ehoty)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/how-to-limit-woocommerce-wallet-setting-2/#post-13690653)
 * Finally, I found a code that works for me perfectly. But Some change needed. 
   Can anyone change the code, please? In this code the 20% debited amount calculate
   from the total cart amount, but I want the 20% debited amount calculated from
   the total wallet amount.
 * add_filter(‘is_valid_payment_through_wallet’, ‘__return_false’);
    add_filter(‘
   woo_wallet_partial_payment_amount’, ‘woo_wallet_partial_payment_amount_callback’,
   10);
 * function woo_wallet_partial_payment_amount_callback($amount) {
    if (sizeof(wc()-
   >cart->get_cart()) > 0) { $cart_total = get_woowallet_cart_total(); $partial_payment_amount
   = ($cart_total * 20) / 100; if ($amount >= $partial_payment_amount) { $amount
   = $partial_payment_amount; } } return $amount; }
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wallet for WooCommerce] How to limit Woocommerce wallet setting?](https://wordpress.org/support/topic/how-to-limit-woocommerce-wallet-setting-2/)
 *  Thread Starter [ehoty](https://wordpress.org/support/users/ehoty/)
 * (@ehoty)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/how-to-limit-woocommerce-wallet-setting-2/#post-13690590)
 * I already use this code but the problem is when the maximum amount of debit amount
   is bigger than the cart price, it won’t work. Ex: The product price is $10 but
   customer have $5000 in wallet.I limit the 20% of amount to deduct from wallet,
   Then it shows $1000 deducated from wallet but the product price is only $10.
   
   For better understanding see the screenshot. Image: [https://ibb.co/FJPNTp2](https://ibb.co/FJPNTp2)
   Please help me.
 * add_filter(‘is_valid_payment_through_wallet’, ‘__return_false’);
    add_filter(‘
   woo_wallet_partial_payment_amount’, ‘woo_wallet_partial_payment_amount_callback’);
   function woo_wallet_partial_payment_amount_callback($amount){ return (woo_wallet()-
   >wallet->get_wallet_balance( get_current_user_id(), ‘edit’ ) * 20) / 100; }

Viewing 15 replies - 1 through 15 (of 15 total)