• Closed by: Alex
  • Closed on: 29.07.14, 09:29
  • Reason: Fixed
  • Comment: Glad to help!

Ticket #5493 - category empty and subcategory

I use the latest version 3.2 of theme and prestashop 1.6.0.6
if I show subcategroy and the category is empty, show an error.

Comments

Kate Support 22 Jul 2014, 20:48

Hello,
This is default Prestashop notification message. But if you wish you can hide it with this code

#category #page p.warning.alert.alert-warning {display:none}  

Add this code to the Theme Settings > Custom CSS
Regards

Enrique 22 Jul 2014, 22:08

Yes, but the design is alysum. In the default theme appears good.This is a theme Alysum error.
add photo prestashop 1.6.0.6

I don’t want to hide.

Kate Support 23 Jul 2014, 13:32

Hello,
that’s because you didn’t add category image yet. When you add it, everything should be in its places.

Regards

Enrique 24 Jul 2014, 10:58

I think doen’t work.

Regards

Kate Support 24 Jul 2014, 13:04

You have added subcategory images, but not category image

Enrique 24 Jul 2014, 13:10

So?

Regards

Kate Support 24 Jul 2014, 14:20

Hello,
Sorry, seems like our bug. Here is the fix:
in the file /themes/alysum/category.tpl cut the lines from 106 to 150 and paste it above to the line 77 (before {if isset($subcategories)})
I already fixed it on your site http://c2n.me/iACWEs

Regards

Enrique 24 Jul 2014, 14:35

Sorry, now shows first product and then subcategories. This’s wrong.

Kate Support 24 Jul 2014, 15:03

What do you mean? Now it’s similar to the default theme. First goes the message and then subcategories

Enrique 24 Jul 2014, 17:22

Yes, when a category hasn’t products it’s well. But if you view a category with products it’s wrong.
Default theme first goes subcategories and second goes products.

Alex 25 Jul 2014, 11:51

Hi. Fixed

Enrique 25 Jul 2014, 14:07

Something keeps crashing.
I wonder what has changed once it is solved.

Alex 25 Jul 2014, 15:07

I think this is your browser cache fault. Please clean the browser cache
http://clip2net.com/s/iB8YGX

What is wrong with the subcategory1.png? This text is category description. If you don’t need it just delete it here Catalog>Categories>Edit

Enrique 28 Jul 2014, 12:07

I don’t understand why I have to remove the category description. The error seems clear, the description of the category appears on the image.

Kate Support 28 Jul 2014, 14:11

Hello Enrique,
This is default theme behaviour. You can see the same in our demo http://c2n.me/iC9lMD

Enrique 28 Jul 2014, 14:37

Ok, that’s right.

Alex 28 Jul 2014, 18:31

Hi. Is there any other issues?

Enrique 29 Jul 2014, 08:18

No, it’s all right.

thanks