• Resolved presse2009

    (@presse2009)


    Hi, my Botiga-Themed shop contains a product-tab. I added a tab like this

    `
    
    <?php
    
    add_filter( 'woocommerce_product_tabs', 'wpb_new_product_tab' );
    
    function wpb_new_product_tab( $tabs ) {
    
    // Add the new tab
    
    $tabs['test_tab'] = array(
    
    'title' => __( 'Example Tab', 'text-domain' ),
    
    'priority' => 50,
    
    'callback' => 'wpb_new_product_tab_content'
    
    );
    
    return $tabs;
    
    }
    
    ?></code></pre>

    The Tab appears on the frontend. But It is not accessibly in the backend. (Like the “Product Description” and the “Short Description”. How do I target this tab via the backend on the “Add Product” page?</p>

    • This topic was modified 2 years ago by presse2009.
Viewing 1 replies (of 1 total)
  • Roxy

    (@roxannestoltz)

    Hi @presse2009 ,

    Thanks for reaching out!

    I understand that you have used the above code to add a custom product tab, and although this is displaying correctly on the front-end, it is not accessible on the backend, is this correct?

    The code you provided does not include any function or hook to add the custom tab to the backend for editing. You would need to adjust the code itself, to display the information you require in that product meta.

    If you would like to add custom tabs, and have the ability to edit these directly within the backend, you can check out the Custom Product Tabs Manager extension.

    WooCommerce.com offers a 30-day refund policy which you can take advantage of, allowing you to test the extension, and make sure that it is what you are looking for.

    Should you have any pre-sales related questions, kindly contact us directly, here. You will need to create an account if you do not have one already.

    Hope this helps!

Viewing 1 replies (of 1 total)
  • The topic ‘Custom Tab don’t show up in backend’ is closed to new replies.