G
G
GizzaProger2019-08-25 19:03:29
WordPress
GizzaProger, 2019-08-25 19:03:29

How to disable ajax for pagination in woocommerce?

You need to disable ajax for pagation. When you click on the page number, an ajax request occurs and the page does not reload. How to display a new page with page reload?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
deadnice, 2019-08-26
@deadnice

Here is the code to disable ajax for product catalog

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

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question