• Resolved lucano18

    (@lucano18)


    Hi everyone,

    Recently I’ve noticed a strange error. In product list, product skus are displaying after product titles. Is there a way to remove product skus from product titles all at once?

    Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support nathvi V. a11n

    (@nathvi)

    Hi @lucano18

    Thanks for your message!

    There’s no default option to do this from the WooCommerce settings, but I’ve found a code that has worked for other users:

    function sv_remove_product_page_skus( $enabled ) {
    if ( ! is_admin() && is_product() ) {
    return false;
    }

    return $enabled;
    }
    add_filter( ‘wc_product_sku_enabled’, ‘sv_remove_product_page_skus’ );

    This will stop the SKU section from ever being added to the product template while maintaining the SKU on the backend.

    Here you can find more details:

    * https://www.godaddy.com/garage/how-to-hide-skus-on-woocommerce-product-pages/

    Hope it helps!

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, the above info was helpful.

    If you have further questions, please feel free to open a new topic.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Removing product sku from product title’ is closed to new replies.