Support » Plugin: Load More Products for WooCommerce » Event trigger when new products are loaded

  • Is there an JS event trigger I can hook off of, that will allow me to re-apply my masonry layout, once the new products have loaded?

    Your help is appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Dima Holovnia

    (@dholovnia)

    Open plugin settings page, tab JavaScript and add your JavaScript code to the After Update textarea. It will run each time new pack of products loaded.

    Great. Thank you.

    Now I just need to find a way to hide them until I have layed them out. Because I am using Masonry, the images overlap until the reload.

    Plugin Author Dima Holovnia

    (@dholovnia)

    Add CSS to hide them and overwrite it with JavaScript when they are layed out.

    Regards,
    Dima

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Event trigger when new products are loaded’ is closed to new replies.