• Resolved samuraischwert

    (@samuraischwert)


    Hello,

    first of all: Thanks for this great search plugin!

    As we only use the search results page i want to ask: Is there a way how to disable the ajax functionality of the plugin? Is it possible to comment it out in the plugin files? Also to speed up the website.

    Thank you,

    samuraischwert

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author ILLID

    (@mihail-barinov)

    Hello,

    Well yes, it is possible. But in this case you will lose the main feature of this plugin.

    But anyway you need to open advanced-woo-search.php file in plugins folder, find lines

    wp_enqueue_script( 'aws-script', AWS_URL . '/assets/js/common.js', array('jquery'), AWS_VERSION, true );
    wp_localize_script( 'aws-script', 'aws_vars', array(
        'sale'      => __( 'Sale!', 'aws' ),
        'noresults' => $this->get_settings( 'not_found_text' ) ? $this->get_settings( 'not_found_text' ) : __( 'Nothing found', 'aws' )
    ) );

    and remove them.

    Thread Starter samuraischwert

    (@samuraischwert)

    Hello,

    thanks for helping out! Besides the Ajax functionality your plugin has some great features we want to use ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disable Ajax functionality’ is closed to new replies.