[Support request] Eliminar una pestaña por defecto en página de producto

Home Forums Support [Support request] Eliminar una pestaña por defecto en página de producto

Home Forums Support Eliminar una pestaña por defecto en página de producto

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2290423
    _blank

    Hola,
    Quisiera saber cómo puedo eliminar la pestaña FAQ, la última pestaña de todas, y que sale por defecto en todas las páginas de producto.
    Les dejo un link a mi web para que puedan ver a lo que me refiero

    https://invitacionesdepapel.com/comprar/silueta-carton-foto-personalizada/

    #2290510
    David
    Staff
    Customer Support

    Hi there,

    the Theme doesn’t add or control the display of tabs, and that FAQ tab isn’t there by default in Woocommerce.
    This means the Tab has been added by a plugin or custom function. You should check to see if that can be disabled.

    If not you can try this PHP Snippet:

    add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 );
    
    function woo_remove_product_tabs( $tabs ) {
        unset( $tabs['faq'] ); 
        return $tabs;
    }

    I can’t say if that will work but that is the woommerce function for setting and unsetting tabs.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.