Support » Plugin: eCommerce Product Catalog Plugin for WordPress » Disable Ajax not working (Pagination and Filter)

  • Resolved Getulio

    (@getulio369)


    I installed the Plugin “Relevanssi” o my site, after that the ajax pagination on product catalog not working has expected.
    A solution is to disable de ajax pagination, but I followed this tutorial:
    https://implecode.com/docs/ecommerce-product-catalog/faq/

    That says:
    How to disable AJAX on filter widgets and pagination?
    If you prefer page reload instead of AJAX functionality place the following line of code in your theme functions.php file:

    remove_action( 'enqueue_catalog_scripts', 'ic_product_ajax_enqueue_styles' );

    And the pagination continue to working with ajax.
    I had cleared all caches and other things before the tests. My WP is v4.9.8, and I use the “Odin Framework” as Theme.

    • This topic was modified 5 years, 7 months ago by Getulio.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author ndre

    (@ndre)

    Hello @getulio369,

    Can you please provide more details on why the pagination is not working as expected? What happens exactly?

    To disable the ajax for product catalog please use the following code:

    remove_action( ‘enqueue_catalog_scripts’, array( ‘ic_catalog_ajax’, ‘enqueue_styles’ ) );

Viewing 1 replies (of 1 total)
  • The topic ‘Disable Ajax not working (Pagination and Filter)’ is closed to new replies.