Home Forums WoodMart support forum I have some questions

I have some questions

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

    malstoresa
    Participant

    Hello, I have some questions, please.

    1- When I add a tab in the product description from the product page settings, it comes last, and the tab for shipping and delivery comes before it. Can I control their order so that the fixed tab, such as shipping, is ordered last?

    2- I also have a question regarding the blog, where the item and other details appear to me. Can I hide them?

    3- Also, I deleted the checkout page and added a WooCommerce checkout page via shortcode. I want to restore the Woodmart checkout page. Is there a special code or a way to restore it?

    #612099

    Hello,

    01. The code below will help you to reorder the tabs. Please try to add the code below in the functions.php file in your child theme.

    /**
     * Reorder product data tabs
     */
    add_filter( 'woocommerce_product_tabs', 'woo_reorder_tabs', 98 );
    function woo_reorder_tabs( $tabs ) {
    
    	$tabs['reviews']['priority'] = 33;			// Reviews first
    	$tabs['description']['priority'] = 4;			// Description second
    	$tabs['additional_information']['priority'] = 5;	// Additional information third
    
    	// Additional Tabs are from Theme Settings
    	 $tabs['wd_additional_tab']['priority'] = 1;
    	 $tabs['wd_additional_tab_2']['priority'] = 2;
    
    	return $tabs;
    }

    Please follow this guide:
    https://woocommerce.com/document/editing-product-data-tabs/

    02. To hide details on a specific post, navigate to Posts > All Posts, then select Edit on the post you want to modify. Navigate to Theme Settings > Blog > choose the blog option.

    03. Try to use the Theme’s Layout Builder you can create Custom Layouts for WooCommerce pages like Shop, Category, Single Product page, Cart, and Checkouts. You can use that to create your own custom layouts for a single product page.

    Further, you can read more about the Layout Builder here: https://xtemos.com/docs-topic/woodmart-woocommerce-layout-builder/

    Best Regards

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