Jump to content

Change "no products"


Recommended Posts

Yes, you have other categories which are visible at the bottom like it should be. If I understood correctly you want products from this subcategories (Iphone, Samsung, LG) to be also visible in main category (Lasa upp telefon). To do that you have to edit each product from subcategories and mark also main category.

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

Ok, sorry if my explination isn't good!


Benjamin: Yes they are subcategories. And also more subcategories within.


Låsa upp telefon>category>category>PRODUCTS.


But it shows up like empty anyways like in the first pic.


Sharak: I do want the categories as they are. It's more easier for the costumer to navigate to the right product.

Link to comment
Share on other sites

It seems that you are using 1.4x...


Make sure to have a backup of your sql database and your PrestaShop files and edit /themes/yourtheme/category.tpl


Find this line

  {if $nb_products == 0}{l s='There are no products.'} [/Code]

and replace it with 
[code]        {if $nb_products == 0}
               {if  !isset($subcategories)}
               {l s='There are no products.'}

  • Like 1
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...