Jump to content

Cannot display Product-List anymore


Recommended Posts

Hi guys,

I changed a lot of stuff in the original Prestashop and somewhere on the way I must have made a mistake. I cannot display the regular product-list anymore. If I hit a category (like "dresses"), it will allways display the product-compare.tpl

I can even delete the product-list.tpl in the defaulttheme folder and it will not make any difference.

Anybody has an idea where to look?

 

https://www.tantradvd.de

 

Thnx.

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

 

Hi,
 
in category.tpl, you should have this to include product from category
 
{include file="./product-list.tpl" products=$products}

If it doesn't appear with it, the problem come form product-list.tpl or controllers/front/categoryController.php

 

Yep. It is there:

{include file="./product-list.tpl" products=$products}

Link to comment
Share on other sites

 

Hi,
 
in category.tpl, you should have this to include product from category
 
{include file="./product-list.tpl" products=$products}

If it doesn't appear with it, the problem come form product-list.tpl or controllers/front/categoryController.php

 

I took product-list.tpl and categoryController.php from the installation package and copied it over. Didn't change anything :-(

Link to comment
Share on other sites

Ah - I can do that. But it propably won't help, since those are unchanged. I already restored those files with the original ones from the installation package. Should I still attach them?

Plus I already restored (hopefully) every file I changed, but it doesn't change the bug. So I upped my altered files again. Could it be any setting from within the backoffice?

Link to comment
Share on other sites

'HEY!!!! That did it. The only option I hadn't tried before was switching of the caching on the filesystem. And that fixed it. Do you have any explanation for that behaviour??'

The explanation is, that is was cached :)

 

 

The add to cart button is missing because it's hidden by CSS

 

Regards.

Robin.

The CartExpert Team

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...