VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Pcwolf on May 17, 2014, 12:51:43 PM

Title: Load automatic more products on the half page?
Post by: Pcwolf on May 17, 2014, 12:51:43 PM
Hi!

When you are on Facebook, overview news and you go down then you see the older post will loading. How i can do that with Virtuemart ?
I have more than 70 products on the home page, the site speed is very slow (10 sec), when its was 10-20 products then speed was 1-4 sec for first load.
The browser are working slower because the home page of my website, but if you go to some categorie then it work normal.

So, is there an way to do this ?

The traffic few days/weeks was very wel, because site speed was perfect, but not when the site go slower, its...

Yes, i can do the pagination but it dont looks nice on my website, yes i know, i can play with css... but the idea above is perfect.
Converter Virtuemart to Daily Deals website with countdown, so many javascripts here...
Just added some php and datebase codes...

Loading system is perfect for my website.
Title: Re: Load automatic more products on the half page?
Post by: GJC Web Design on May 17, 2014, 13:13:47 PM
normally a jquery library lazyload is used - http://www.appelsiini.net/projects/lazyload - you need to adapt it to your category template

Title: Re: Load automatic more products on the half page?
Post by: Pcwolf on May 17, 2014, 14:25:53 PM
Thank you very much  ;)

Site is little faster, i think that javascript countdowns ( more than 70 in homepage), maybe is that the problem that the website is freezing ?
Title: Re: Load automatic more products on the half page?
Post by: Pcwolf on May 17, 2014, 14:54:57 PM
I do a search and found this: http://jscroll.com/ (http://jscroll.com/)

Just like Facebook News, i am not sure how i can do this in Virtuemart.
Title: Re: Load automatic more products on the half page?
Post by: Pcwolf on May 18, 2014, 09:31:18 AM
Solution: https://www.vm-expert.com/virtuemart-expert-blog/109-endless-scroll-for-virtuemart (https://www.vm-expert.com/virtuemart-expert-blog/109-endless-scroll-for-virtuemart) But its for joomla 1.5.