How to hide woocommerce sku and price

11 Comments

  • Sunish Sebastian says:

    Great! But I was looking for information on how to show the SKU in a single page. Right now my SKU is not showing up. Could you tell me how to do that?

    • terrytsang says:

      Hi Sunish, does this happen to all tupes of product whether it is simple product or variable? Do you try to change to default theme and sku will show or not. Need to find out this is theme related or product related first.

  • bayu says:

    hi, how i can hide price in single product page? Or change price (on top) to default price variation when i choose size or colors. thanks

  • kathy says:

    Hi,

    I have been looking to show the SKU too! I have added it to a simple product and variable product and it still will not display! I am not the best with coding and tried to add the following but this didnt work!:

    if(is_product())
    {
    add_filter( ‘wc_product_sku_enabled’, ‘__return_true’ );
    }

    I have been googling for hours now and this is driving me nuts!

  • kathy says:

    Hi terrytsang,

    Thanks for your reply… do you mean the default wordpress theme? Or the Woocommerce default theme?

    If the Woocommerce then I can’t find that anywhere!

  • kathy says:

    defo a theme issue as I had the Shopifiq theme on a dummy website and just changed it over to the wordpress default theme and up it popped!

    Now to figure out what the hell is going on…is it in my theme and hiding some how with some css edits i have made I wonder!

  • kathy says:

    Thats what I have been looking for, in the css and functions.php etc etc, but I just cant seem to find .sku anywhere!

  • Heather Wood says:

    Hi Terry,

    How would you remove the price from emails? All my emails still show the price of $0.00. I tried removing the “price” table tags inside the woocommerce email templates, but it does not work.

    I currently have a copy of all php email templates in my child theme. I’ve successfully added other items such as sku to the email, but I just can’t seem to remove the price field. it’s driving me crazy!

  • andi says:

    Great stuff however how can I remove pricing from the order emails?
    Thank in advance

Leave a Reply

Your email address will not be published. Required fields are marked *

WhatsApp chat Talk to Me