• Resolved moonakhan

    (@moonakhan)


    Can you please let me know how can Enable / Disable on Specific Cart Amount

    Like I want have allowed USD 20.00 on signup, but this should be usable only if the cutomers is ordering goods for USD 250.00 or more, otherwise the plugin should not work

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Subrata Mal

    (@subratamal)

    @moonakhan you have to write custom code using our filter woo_wallet_partial_payment_amount.

    Thread Starter moonakhan

    (@moonakhan)

    How ? Can you guide me step wise please

    Thread Starter moonakhan

    (@moonakhan)

    any solutions?

    Plugin Author Subrata Mal

    (@subratamal)

    Please find below example code.

    add_filter('woo_wallet_partial_payment_amount', 'woo_wallet_partial_payment_amount_callback');
    
    if(!function_exists('woo_wallet_partial_payment_amount_callback')){
        function woo_wallet_partial_payment_amount_callback($amount){
            if(get_woowallet_cart_total() > 250){
                return $amount;
            }
            return 0;
        }
    }
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Enable / Disable on Specific Cart Amount’ is closed to new replies.