• Resolved Technoh

    (@technoh)


    Hello,

    After reading the plugin’s FAQ at https://implecode.com/docs/ecommerce-product-catalog/faq/ I tried to disable AJAX for filters and pagination. The excerpt recommended did not work. First of all because remove_action needs to be called inside a function. Second of all, and most importantly, because the hook name was changed. Instead of this:

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

    It should be this:

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

    Please update the FAQ page with the appropriate hook name.

    • This topic was modified 3 years, 11 months ago by Technoh.
    • This topic was modified 3 years, 11 months ago by Technoh. Reason: Styling
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘The FAQ for disabling AJAX is wrong’ is closed to new replies.