Okay
  Public Ticket #3219455
Bank transfer input settings
Closed

Comments

  •  3
    Burak Tuncer started the conversation

    Hello,

    I have a problem with, Vendor dashboard > payouts > payout settings > bank transfer section.

    I'dont need "Intermediary Bank - Bank Code, Intermediary Bank - Name, Intermediary Bank - City, Intermediary Bank - Country" input fields. How can i remove these sections ?


    Can you add a switch option (open or close input fields) ? 
    I think it would be more helpful if you could do it like this.
    You can also treat this as an improvement suggestion

    Thank you, 

    King regards.

    Burak

    Attached files:  bank-transfer.png

  •  1,906
    WebWizards replied

    Hi Burak,

    To remove the Intermediary Bank fields, you can add this PHP code snippet to your site:

    add_action('marketking_dashboard_head', function(){
        ?>
        <style type="text/css">
            .marketking_bank_info:nth-child(22), .marketking_bank_info:nth-child(21), .marketking_bank_info:nth-child(20), .marketking_bank_info:nth-child(19){
                display:none !important;
            }
        </style>
        <?php
    });
    

    A PHP snippet can be added to functions.php, or by following our guide here: https://woocommerce-b2b-plugin.com/docs/how-to-add-a-snippet-php-or-js/


    Thank you for your suggestion regarding a way to open  / close fields, we can look at that for future updates.

    Kind regards,

    Stefan

  •  3
    Burak Tuncer replied

    Hi Stefan,

    I added this code, didn't work and i tried nth-child(16-17-18-19) instead 22-21-20-19, it worked.

    Thank you

  •  1,906
    WebWizards replied

    Thank you for the update,

    I'm not sure why the numbers needed to be changed - it seemed to work in my local test installation, but I'm glad to hear you found the solution,

    If I can help with anything, let me know!