Remove "QR Code" Tab from Woocommerce Product Page

Hello,

I’d like to keep the QR Code functionality, so i can use the QR codes on print and digital ads.
But i do not want the QR Code to show up on the product pages as a separate tab.
I don’t want the QR code to be visible on the front end at all.

I’ve looked this up, but the solutions i found didn’t work.

Thank You,

Jesse

Hi Jesse,

Are you using a plugin to add the QR code functionality to the products? If so, it would be best to check on the plugin’s resource on how to remove the tab.

Here are also some options that you can do:

Install and active the child theme then login through FTP then go to wp-content/themes/x-child add add this code to the functions.php file:

/**
 * Remove product data tabs
 */
add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 );

function woo_remove_product_tabs( $tabs ) {

    unset( $tabs['qr_code_tab'] );  	// Remove the additional information tab

    return $tabs;
}
.x-nav-tabs.four-up>li.qr_code_tab_tab {
    display: none;
}

.x-nav-tabs.four-up>li {
    width: 33.33339%;
}

Here are some related links about the suggestions above for further reading:

Hope this helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.