• Resolved StefanPeeters

    (@stefanpeeters)


    Hi,

    I would like to hide the text ‘Subtotaal’ in thee mails and cart but I don’t know where to do this. Is there someone who can help me with this?

    Thank you

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Saif

    (@babylon1999)

    Hello @stefanpeeters,

    If you can share with us a direct link to your cart page, then perhaps we can help you hide it with some CSS.


    As for the emails, then it’s not the same process depending on your theme and other factors.

    You can find the email templates in the following directory, you can also target the subtotal element and hide it with CSS by adding it in email-styles.php.

    To learn more about customizing WooCommerce emails, I recommend checking this guide: https://woocommerce.com/posts/how-to-customize-emails-in-woocommerce/

    Cheers!

    Thread Starter StefanPeeters

    (@stefanpeeters)

    Hi,

    Thanks for your reply but the css rule makes more invisible than I want. I only want the textfield ‘subtotal’ invisible. And that rule makes the whole right block disapear.

    The direct link to the shoppingcart is: https://cybertopia.be/webwinkel/afrekenen/

    Thank you

    Roxy

    (@roxannestoltz)

    Hi @stefanpeeters ,

    Thanks for your reply but the css rule makes more invisible than I want. I only want the textfield ‘subtotal’ invisible. And that rule makes the whole right block disapear.

    I hear you, that makes sense!

    If you would like to only hide the text “Subtotal” and the subtotal amount from being displayed, you can try adding the following CSS to Appearance > Customize > CSS:

    .cart-subtotal {
        display: none;
      }

    Here is the outcome:

    If the outcome is not the same on your end, you can try the following:

    • Clearing your browser cache and then checking again.
    • It may be that other custom CSS may be conflicting with it, so you can try temporarily removing other custom CSS and see if the results now display as expected on your end.

    Hope this helps!

    Thread Starter StefanPeeters

    (@stefanpeeters)

    Thank you.

    That did the job!

    Roxy

    (@roxannestoltz)

    Hi @stefanpeeters ,

    Really glad to hear this worked as expected on your end!

    I will go ahead and mark the thread as solved then. If you have a few minutes, we’d love it if you could leave us a review:?

    https://www.ads-software.com/support/plugin/woocommerce/reviews/

    Cheers!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Subtotaal text’ is closed to new replies.