Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #19288

    Hi

    with my former webshop I often received fake orders with fake email addresses. Most likely to get my bank account information.

    Therefore I want the information only be available with the order confirmation email.

    I managed to hide the box with the bacs information on the WooCommerce “Order received” page, but not the header:

    #top .order_details.bacs_details {

    display: none

    }

    How can I hide the paragraph header “Our Details” ?

    ********************

    I would also like to hide the name of the “product variation” on the same page as well as on the confirmation email.

    (It should not read “Color: red” but only “Red”)

    Thanks,

    Bruno

    #103067

    meanwhile I also managed to hide the name of the “product variation” on the “Order received” page.

    td.product-name dl.variation dt {

    display: none;

    }

    Two questions remain:

    1) how to hide the paragraph header “Our Details” on the WooCommerce “Order received” page

    2) how to remove the name of the “product variation” from the order confirmation email

    Thanks,

    Bruno

    #103068

    Hey Bruno,

    I don’t have a set up to test the entire process and pick out the class that would hold the “Our Details” section or from a confirmation email. At least, I’m not seeing it when doing the email template test in the WooCommerce Settings>Emails tab.

    You should be able to customize the email template by copying the email templates to your theme files and modifying theme there or looking into some of the plugins that allow you to customize things through the wordpress admin. IE:

    For more advanced control copy woocommerce/templates/emails/ to yourtheme/woocommerce/emails/.

    If you can pull up the Order received page, you can use a tool like Firebug for Firefox or Chromes inspect tool to identify the class holding the content you want to remove from view using the display:none declaration.

    Regards,

    Devin

    #103069

    Devin

    The class is:

    <h2 class=”cufon_headings”>Our Details</h2>

    Unfortunately there are 2 more headers

    <h2 class=”cufon_headings”>Order Details</h2>

    <h2 class=”cufon_headings”>Customer details</h2>

    which should not be removed

    When I use

    #top .cufon_headings {

    display: none

    }

    all 3 headers are gone.

    How can I specify the “Our Details” header?

    (I have no php knowledge, I work by analogy and by trial-and-error)

    http://wp6.fotowalther.ch/?page_id=13&order=124&key=order_50ef33fb1d56d

    Regards,

    Bruno

    #103070

    I don’t see any way for a single selector to target just that text either.

    You may want to ask this through the WooCommerce forums as we don’t really dig into more than styling the plugin for the theme (with some additional functions to fully integrate it).

    There should be some hooks/settings to modify the order page though I’m not sure what they are.

    Regards,

    Devin

    #103071

    Removing the paragraph (and the title) “Our Details” on the “Order Received” page:

    In the file wp-content/plugins/woocommerce/classes/gateways/class:wc_bacs.php:

    Uncomment lines 157-172

    Regards,

    Bruno

    #103072

    Thanks for reporting back on what worked for you Bruno :)

    Regards,

    Devin

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Hide bank account information on "order received" page’ is closed to new replies.