Home Forums WoodMart support forum Tabs On mobile devise

Tabs On mobile devise

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #249383

    siamak
    Participant

    Hi guys , i get a warning on mobile, tablet device as you can see on the picture

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

    Hello,

    I saw the screenshot you attached.

    It seems that you tried adding custom code for the tabs that is causing the issue.

    Did you add any code snippets for the tabs?

    If yes then try removing the code and then clear cache and check back.

    If not then deactivate all the third party plugins and provide with the admin panel login details of the website to check it myself and help you out accordingly.

    Regards.
    Xtemos Studios.

    #249668

    siamak
    Participant

    Hi you are right to Reorder product data tabs i added this code into function.php under woodmart-child

    add_filter( ‘woocommerce_product_tabs’, ‘woo_reorder_tabs’, 98 );
    function woo_reorder_tabs( $tabs ) {

    $tabs[‘additional_information’][‘priority’] = 5; // Additional information first
    $tabs[‘description’][‘priority’] = 10; // Description second
    $tabs[‘reviews’][‘priority’] = 15; // Reviews third

    return $tabs;
    }

    is there better way to reoder tab ? thanks

    #249822

    Hello,

    The code you are using doesn’t seem to be not correct. Check how it should look from the official WooCommerce documentation https://docs.woocommerce.com/document/editing-product-data-tabs/#section-3

    Best Regards.

Tagged: ,

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