• Hello,

    I’d like to customize just the new order template which has to be send to our supplier.
    So i want to remove the header footer and product price.

    All i want to display is that product name, image, meta informations such as size, colors
    and the name and address of the customer.

    is it possible to achieve this without making any changes or effecting the other templates?

Viewing 15 replies - 1 through 15 (of 17 total)
  • hannah

    (@hannahritner)

    Hey,
    Try adding this to your css:

    .email-id-new_order td#header_wrapper {
        display: none !important;
    }
    
    .email-id-new_order td.td:last-child, .email-id-new_order th.td:last-child {
        display: none;
    }
    .email-id-new_order p {
        display: none;
    }

    Hope it helps!

    Hannah

    Is there a way to remove the address as well?

    hannah

    (@hannahritner)

    Hey @cameronrjohnson,
    This css should do it for you:

    .email-id-new_order table#addresses {
        display: none;
    }

    Best,
    Hannah

    Hey, thanks for the code it worked amazing! I now have the problem where I can not seem to be able to find where I edited the page. Is there a way to get to admin-new-order.php through the builtin theme editor in WordPress?

    Actually I just figured it out I was just using the built-in email designer that came with woocommerce. I have a new question though is it possible to remove the text along that says ‘subtotal’, ‘total’, and, ‘tax’? the code that I used before seems to only remove the actual numbers themselves.

    Thanks again!

    -Cameron

    hannah

    (@hannahritner)

    Hey Cameron,
    Try adding this css:
    th.td.tlabel-subtotal, td.td.tvalue-subtotal { display: none;}
    Is that what you’re thinking?

    Hannah

    Yes, that is exactly what I want! I changed it to

    .email-id-new_order th.td.tlabel-subtotal, 
    .email-id-new_order td.td.tvalue-subtotal { display: none;}
    

    so it only removes the subtotal for the email that gets sent out to me and not any of my customers. I am pretty new to CSS so thanks so much for all of the help!

    Cameron

    hannah

    (@hannahritner)

    Oh good! Happy to help:)

    Best,
    Hannah

    Is there a way to change the email address that it gets sent from just for the new order email? Thanks

    Hey, I am having trouble with the exact same thing. I am trying to change the email address that my new order email is connected to but keeping the rest of it the same, has anyone figured it out yet?

    hannah

    (@hannahritner)

    Hey,
    You can edit the “from address” from WooCommerce > Settings > Emails. Is that what you’re after?

    Hannah

    Yes that is what I’m looking for but to change the ‘new order’ emails sender exclusively. Woo commerce offers a way to change the senders name and email under ‘email sender options’ but I’m curious if there’s a way to change the sender options for the new order email only.

    hannah

    (@hannahritner)

    There isn’t a built-in way to do this. Sorry! I suggest reaching out to WooCommerce to see if they know of a hack for this.

    Best,
    Hannah

    Ok no worries thanks for the quick response!

    hannah

    (@hannahritner)

    You bet! Hope you have a good week!

    Cheers,
    Hannah

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Customise New Order Template’ is closed to new replies.