Hi there,
when he plugin is disabled, hod does the pagination work? Once the products are finished, what does the pagination shows?
It shows that there are 2 pages available and doesn’t load anymore products. I can disable it and take a screenshot if that helps?
Hi there,
I have disabled the plugin at the moment so you can see what it does when de plugin is not active.
Hi there,
Try to use these selector and let us know if they work:
Navigation Selector: .pagination
Next Selector: .pagination .next
Item Selector: .product_con
Content Selector: .products
Best regards
Hello,
Thanks for the the reply.
Unfortunately there are still more products loaded then there are in the shop. There are 15 products and as soon as all of those are shown it starts repeating them.
Best regards
@dreamlabarno
If you are familiar with adding code to your themes functions.php you can try this code.
add_filter( ‘post_class’, ‘filter_product_post_class’, 10, 3 );
function filter_product_post_class( $classes, $class, $product_id ){
if( in_the_loop() )
$classes[] = ‘mainproduct’;
return $classes;
}
On this line enter the setting class you have under ITEM SELECTOR in the infinite scrolling settings
$classes[] = ‘PUT YOUR CLASS HERE’;
-
This reply was modified 5 years, 6 months ago by
agod.
Hi @dreamlabarno,
Let us know if you tried the @agod code.
Hello,
Thanks @agod for the code but unfortunately it still loads more products than there are actually in the shop.
@yithemes Is there anything else I can provide that would make it easier for you to help me?
Regards
Hi @dreamlabarno
We see you using another Infinite Scrolling plugin, have you added it to replace the YITH one or is a feature of your theme ?
Let us know.
Have a nice day
YITH
Due to time constrains I have switched to a different solutions. Thanks for the help anyway.