how to add custom order status in Process cashback?2019-09-11T17:30:34+05:30

Home Forums Core how to add custom order status in Process cashback?

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

    how to add custom order status in Process cashback?

    https://prnt.sc/oydniy

    here https://prnt.sc/oydo1r

    i want to add IF CODE UNAVAILABLE

    ITS POSSIBLE ?

    Subrata Mal
    Keymaster
    Post count: 207

    We have a filter for this. You can use woo_wallet_process_cashback_status to add custom order status like below code.

    add_filter(‘woo_wallet_process_cashback_status’, ‘woo_wallet_process_cashback_status_callback’);

    function woo_wallet_process_cashback_status_callback($status){
        $status['custom_status'] = 'Custom status';
        return $status;
    }

    In the function.php file.

    unlockmangmel
    Participant
    Post count: 8

    i added into snippet but not work can you help >

    https://prnt.sc/p4ynyx

    still not show

    https://prnt.sc/p4ynuu

    Subrata Mal
    Keymaster
    Post count: 207

    There is a coding error. If you share your site access details then we can do it for you.

    unlockmangmel
    Participant
    Post count: 8
    This reply has been marked as private.
    Subrata Mal
    Keymaster
    Post count: 207

    You can post here by checking on Set as private reply checkbox. Or you can send us an email at support@woowallet.in

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
WhatsApp