Home Forums WoodMart support forum Product additional information table change order

Product additional information table change order

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #596710

    Tessic
    Participant

    Hello, is it possible to change the order of Product additional information table?
    If I want to Include or Exclude its doenst change anything.

    Attachments:
    You must be logged in to view attached files.
    #596843

    Hung Pham
    Keymaster

    Hi Tessic,

    Thanks for reaching to us.

    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;
    }

    Kind Regards

    #596892

    Tessic
    Participant

    I cant find the Theme File Editor, its missing. I tried thos steps https://nichetwins.com/wordpress-theme-editor-missing/
    But its still missing

    Attachments:
    You must be logged in to view attached files.
    #596894

    Tessic
    Participant

    Nvm, I found the Problem now

    #596899

    Tessic
    Participant

    Hello, how can I remove the first two lines? I dont need them

    Attachments:
    You must be logged in to view attached files.
    #596919

    Tessic
    Participant

    I just saw if I use the code I get this error or the Product tabs…

    Attachments:
    You must be logged in to view attached files.
    #596935

    Hung Pham
    Keymaster

    Hi Tessic,

    To assist you in the best possible manner, I kindly ask that you please provide me temporary wp-admin info (wp-admin URL, username, password) to the Private Content area, this will allow me to thoroughly investigate and address your concerns more efficiently.

    Regards,

    #596945

    Tessic
    Participant

    There you go

    #597164

    Hung Pham
    Keymaster

    Hi Tessic,

    Please provide URL of the mentioned page, so I can take a closer look.

    Regards,

    #597177

    Tessic
    Participant

    Here you go

    #597345

    Hung Pham
    Keymaster

    Hi Tessic,

    I mean the specific url, so I can take a closer look. I tried to go through products but didn’t see above issues.

    Regards,

    #597605

    Tessic
    Participant

    Yes, you dont see it cause I deleted the code so far, cause I dont wanna have errors on my site

    #597684

    Hung Pham
    Keymaster

    Hi Tessic,

    Keep us in mind for future questions and concerns, we’re always here to help!

    Regards,

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