New Landing How can we help? Atelier description / Beschreibung

Viewing 9 posts - 1 through 9 (of 9 total)
  • Posted in: Atelier
  • #243066
    barkovsky
    Member
    Post count: 225

    hi there
    every time i use the swift page builder for a product page
    the description area pops up / in german beschreibung
    in attached picture / beschrei..

    i don’t want that !
    how to get rid of this automatic description pop up
    even if there is nothing written in
    it just stands there empty, pretty annoying
    attached screenshot

    hope yr all well and wish y all a fine new year, bit late but ….

    kind regards

    Barkovsky

    Attachments:
    You must be logged in to view attached files.
    #243272
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Did you save the page with the page builder enabled?

    – Kyle

    #243285
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please paste this code at functions.php of child theme.

    add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 );
    function woo_remove_product_tabs( $tabs ) {
        $exists = get_post_meta($post->ID, 'product_description', true);
       if ($exists == "") {
        unset( $tabs['description'] );  // Remove the description tab
       }
        return $tabs;
        
    }
    

    Thanks
    Mohammad

    #243428
    barkovsky
    Member
    Post count: 225

    hi Kyle
    yes i saved the page with Page builder enabled

    as i c Mohammad put a code here which i can maybe use
    to b clear

    i use a multisite
    which means
    using the child theme just for the sub/site i working on i presume and then put in the described code
    is that the correct way ?
    or how do i do that ?
    not really familiar with child theme usage !

    situation
    one site of my multisite network needs to get this description out of the way !

    kind regards

    Barkovsky

    #243445
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    That is correct, you only activate the child theme for that site within your multisite network. You will also need to Network Enable the the theme at the multisite main admin area.

    Thanks.

    #243451
    barkovsky
    Member
    Post count: 225

    HI DAVID

    so to make sure i don’t f_k up,

    i activate the child theme and put the given code in the child theme
    means
    the child theme will be the active theme
    taking all input from the site itself ?
    or how do i have to understand that ?

    sry about this prob. dumb question
    but i never did that

    kind regards

    Barkovsky

    #243453
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Think of the child theme as a totally new theme, that extends the main parent theme.

    You will need to activate the child theme when you are ready. You place your code changes within the child themes functions.php file.

    Thanks.

    #243458
    barkovsky
    Member
    Post count: 225

    OK DAVID

    the extension sentence convinced me

    gonna try and report y

    kind regards

    Barkovsky

    #243695
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Ok no problem

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register