Subrata Mal
Forum Replies Created
-
Forum: Plugins
In reply to: [Wallet for WooCommerce] Stop Terrawallet being used on certain products@avanbueren For this we have to write custom code. Please reach out to our support forum https://standalonetech.com/forum/terawallet/
Forum: Plugins
In reply to: [Wallet for WooCommerce] Causes errors on the site@germanboy You can credit or debit user wallet from admin panel. About the critical error could you please share the log file about the issue?
@labetenoirre Did you check it by placing an order?
@labetenoirre Please use the attached code in theme functions.php file to disable cashback if coupon applied in an order.
add_filter( 'process_woo_wallet_general_cashback', 'process_woo_wallet_general_cashback_callback', 10, 2 );
if ( ! function_exists( 'process_woo_wallet_general_cashback_callback' ) ) {
/**
* Disable cashback if coupon applied.
*
* @param bool $process
* @param WC_Order $order
* @return bool
*/
function process_woo_wallet_general_cashback_callback( $process, $order ) {
if ( count( $order->get_coupon_codes() ) > 0 ) {
$process = false;
}
return $process;
}
}Forum: Plugins
In reply to: [Wallet for WooCommerce] Rule for usage@gvas20 Please use the attached code in theme functions.php file for this requirement.
add_filter( 'woo_wallet_payment_is_available', 'woo_wallet_payment_is_available_callback', 10, 1 );
if ( ! function_exists( 'woo_wallet_payment_is_available_callback' ) ) {
function woo_wallet_payment_is_available_callback( $is_available ) {
if ( woo_wallet()->wallet->get_wallet_balance( get_current_user_id(), 'edit' ) < 20 ) {
$is_available = false;
}
return $is_available;
}
}
add_filter( 'woo_wallet_disable_partial_payment', 'woo_wallet_disable_partial_payment_callback', 10, 1 );
if ( ! function_exists( 'woo_wallet_disable_partial_payment_callback' ) ) {
function woo_wallet_disable_partial_payment_callback( $is_disabled ) {
if ( woo_wallet()->wallet->get_wallet_balance( get_current_user_id(), 'edit' ) < 20 ) {
$is_disabled = true;
}
return $is_disabled;
}
}Forum: Plugins
In reply to: [Wallet for WooCommerce] Error in WooCommerce StatusYes download the plugin from https://github.com/malsubrata/woo-wallet and then uninstall and remove the plugin from your site and install GitHub version.
Forum: Plugins
In reply to: [Wallet for WooCommerce] Error in WooCommerce StatusPlease try to install our plugin from GitHub repo https://github.com/malsubrata/woo-wallet and let us know.
Forum: Plugins
In reply to: [Wallet for WooCommerce] Bulk delete test wallet entries not working@gregthebuzz We use wordpress cache to store database query resualt for faster response the cache will autometically reset after 1 day.
Forum: Plugins
In reply to: [Wallet for WooCommerce] Calculation of wallet costs@mohsen2677 We fix this issue in our Github repo https://github.com/malsubrata/woo-wallet and will push into WordPress repo in our next plugin update.
Forum: Plugins
In reply to: [Wallet for WooCommerce] Wrong Balance Displayon Checkout Page@worldshading Thanks for reporting this issue we will fix this in our next plugin update.
Forum: Plugins
In reply to: [Wallet for WooCommerce] Calculation of wallet costs@mohsen2677 Could please share screenshot about this issue?
Forum: Reviews
In reply to: [Wallet for WooCommerce] Now incompatible with Dokan Multivendor@wilabudi @conceptalchemycompany we fix this in our GitHub repo here https://github.com/malsubrata/woo-wallet please download the plugin from here and let us know if the issue is fixed or not. We will push this on wordpress plugin directory in next update.
Forum: Plugins
In reply to: [Wallet for WooCommerce] This update has broken the report sale API.@bi1012037 Thanks for sharing the screenshot. We will apply the backward compatibility with order in post table in our next plugin update. In the mean time you can use this code in theme functions.php file to fix the issue.
add_filter('woo_wallet_exclude_wallet_rechargeable_orders_from_report', '__return_false');
- This reply was modified 2 months, 1 week ago by Subrata Mal.
Forum: Plugins
In reply to: [Wallet for WooCommerce] This update has broken the report sale API.@bi1012037 Please let us know if you are using WooCommerce High-performance order storage.
Forum: Plugins
In reply to: [Wallet for WooCommerce] Bug in income sub-calculation@franky4557 We tested it in our local development environment and it is working fine. Please check if there is any plugin conflict on your site and let us know.