Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #988181

    Hi

    I’d like to hide bank account details on the order-received page (title “Our details”, the address and the “bank account details” on the next two lines).

    I tried this (enfold-child > style.css )to hide bacs_details:

    #top .order_details.bacs_details {
    display: none !important;
    }
    

    Unfortunately it had no effect.
    How to hide the title as well?

    I want to prevent potential fake customers from seeing my bank account details.

    I found some codes here:https://kriesi.at/support/topic/woocommerce-checkout-page-bacs-styling/#post-291125
    Maybe you could advise on how to use it (and where)
    I don’t want to remove the codes in the file plugins/woocommerce/includes/gateways/bacs/class-wc-gateway-bacs.php (it would disable the details also in the emails – I only want to hide it on the order-received page).

    Thanks
    Bruno

    • This topic was modified 6 years, 4 months ago by bruwa.
    #988250

    Hey bruwa,
    Your css looks correct, please try it in the WordPress > Customize > Additional CSS field, and clear your browser cache, if this doesn’t help please link to your site so we can test.
    I assume we can enter fake info to get to the screen you are talking about?

    Best regards,
    Mike

    #988318

    Hi Mike

    sorry, I was not aware that I forgot to add the login credentials (I usually do). Please see the private field.
    Meanwhile I added the code in the WP customizer, published it, refreshed the page and flushed the browser cache.
    Please see the result in the screenshots (private field): now the BACS details have gone, but “Our details” (title + address) remain.

    Regards,
    Bruno

    • This reply was modified 6 years, 4 months ago by bruwa.
    #988365

    Hi,

    I added following code to the quick css field to hide the bank account details:

    
    #top #wrap_all .woocommerce-bacs-bank-details{
    display: none;
    }
    

    Best regards,
    Dude

    #988395

    Herzlichen Dank Peter.
    Problem solved!

    Best regards,
    Bruno

    #988401

    Hi,

    Schön, dass ich helfen konnte :)

    Best regards,
    Dude

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘How to hide bank account details on the order-received page?’ is closed to new replies.