Home Forums WoodMart support forum Error in Products tabs Ajax

Error in Products tabs Ajax

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #220274

    incomaz
    Participant

    When loading the Products Tabs Ajax, in the first tab the Carrousel does not work.

    If you change tabs and come back at the first tab it loads correctly.

    I have the last version of Woodmart.

    Thanks.

    #220288

    Artem Temos
    Keymaster

    Hello,

    Could you please disable all plugins that are not related to our theme and provide us your admin access so we can check it?

    Thank you in advance

    #220303

    incomaz
    Participant

    Okey.

    #220310

    Artem Temos
    Keymaster

    In this case, you need to create a staging development copy of your website. There, you will be able to do such kind of experiments without any harm to your production website.

    Kind Regards

    #222996

    incomaz
    Participant

    Sorry for the inconvenience.

    The error was due to the following function of function.php (woodmart-child)

    function footer_enqueue_scripts() {
    
    	remove_action('wp_head', 'wp_print_scripts');
    	remove_action('wp_head', 'wp_print_head_scripts', 9);
    
    	add_action('wp_footer', 'wp_print_scripts', 5);
    	add_action('wp_footer', 'wp_enqueue_scripts', 5);
    
    }
    
    add_action('after_setup_theme', 'footer_enqueue_scripts');
    #223024

    Artem Temos
    Keymaster

    We are glad that you sorted it out. Contact us if you will have any questions.

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

The topic ‘Error in Products tabs Ajax’ is closed to new replies.