new order status to process cashback2019-09-03T02:21:38+05:30

Home Forums Core new order status to process cashback

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • dalmer
    Participant
    Post count: 6

    In cashback program, the system is working using some specific order status.
    How I can add a new order status option in this module?
    Tks in advance.

    Subrata Mal
    Keymaster
    Post count: 207

    We have filter woo_wallet_process_cashback_status for this you can use this filter like below code.

    add_filter('woo_wallet_process_cashback_status', 'woo_wallet_process_cashback_status_callback');
    function woo_wallet_process_cashback_status($status){
        $status['custom_status'] = 'Custom Status';
        return $status;
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
WhatsApp