Jump to content

Home/blockfeatured not available and there are QTY=0 products are in the loop

Recommended Posts

Dear All,


I am using PS currently and I have 2 problems with the included modules. In the main page there are 3 blocks where the producsts are shown, these are built in modules/blocks:



Here are the problems:



The blocknewproducts work fine, but recently i noted, there are QTY=0 products are in the list as well.. one day i realised that in the new products there are just products where NO quantity is available... To fix this i thought i will put in the SQL query a simply where quantity > 0, but i am not able to locate the main SQL line for this block. Does somebody know where is this SQL line located in which file?



the other block where i had problems is the blockfeature / homefeature. I read many blogs and manuals but i could not put products into this block. Does somebody know how to put products here? What needs to be done in advance to prestashop includes products into this block?

I read in a blog that i need to put products into the first element of the tree (home), i did that, but this did not helped either.

Cache has been turned off and manually has been emptied weeks ago.


Last but not least, is it possible that these blocks download more products? (i do not know why i only get 8... 2x4). I would like to download for each block 16 products. I looked in the backoffice as well, i found some numbers but when i changed them nothing changed in the front office :)



Many thanks for the help and comments!


Share this post

Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More