Jump to content

call displayContainerbottom hook from javascript to speed up loading homepage


Recommended Posts

I want to speed up loading homepage of my shop (prestashop

I have added loading screen in head.tpl and lazy loading images but I have module which display products for choosen categories and I want to load it with jquery after page loaded

is there any way to do that

 this is the part I want to load with ajax      

		{if $page.page_name == 'index'}
			<div class="container">
				{hook h="displayContainerbottom"}

I want to call


{hook h="displayContainerbottom"}

after page loading (display an image  instead while waiting to load )

Edited by khalilgrom (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...