New Landing How can we help? Themeforest Theme Support Uplift Visual Composer location on Woocommerce single product page

Viewing 2 posts - 1 through 2 (of 2 total)
  • Posted in: Uplift
  • #302378
    Steve
    Member
    Post count: 1

    Hi everyone,

    I’ve activated the Visual Composer plugin recently and figured out when looking into the woocommerce single product page, that this content is placed right into the description tab.

    Now in my case, I want to deactivate the tabs to build a completely customized page.
    Is there a way to move the Visual Composer content exactly where the Swift Page Builder content would start?

    thanks!

    Attachments:
    You must be logged in to view attached files.
    #302568
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    To remove the tabs add the code below to your functions.php of the child theme

    add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 );
    
    function woo_remove_product_tabs( $tabs ) {
    
        unset( $tabs['description'] );      	// Remove the description tab
        unset( $tabs['reviews'] ); 			// Remove the reviews tab
        unset( $tabs['additional_information'] );  	// Remove the additional information tab
    
        return $tabs;
    
    }

    You can do the entire design using Visual composer inside an SPB section, then you can load that spb section inside the product content using our Swift Page Builder.

    -Rui

Viewing 2 posts - 1 through 2 (of 2 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