Jump to content

[Problem] Categories block wont show on product page


ncsmarbella

Recommended Posts

Hello. I have a prestashop 1.5 online shop, the categories block is hooked in the left column. It shows up properly everywhere but in a product page, where it shows just the title but not the content.

 

Categories block is called "categorías" since my website is in Spanish.

 

Anybody knows how can I sort it out?

 

Website: http://www.milwaukeestore.es/

 

Product page: http://www.milwaukeestore.es/es/m18/60-taladro-rotativo-compacto-m18.html

 

Adding more extra information:

 

If in the product page I check out the html code (inspect element) of the categories "bugged" menu. I realized that I have a "online" css style that says display:none and if i untick it the categories show normally. I have no idea of where can I fix that, I checked out the global.css file and the class "tree dhtml" does not exist. I attach the screenshot so you can understand it better.

 

I also realized that in my blockcategories.tpl file it makes reference to dhtml

 

        // <![CDATA[
            // we hide the tree only if JavaScript is activated
            $('div#categories_block_left ul.dhtml').hide();
        // ]]>

 

WHEN I REMOVE THAT LINE, I CAN SEE THE CATEGORIES BUT ALL EXPANDED. ANY SOLUTION?

post-442999-0-12458600-1411644449_thumb.png

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

Hi ncsMarbella,

 

First, check in the modules->positions (block categories edit page if maybe the product detail page is added as exception (i.e. don't show on this page)

 

post-455771-0-57737900-1411811718_thumb.png

 

If this is not the problem, can you re-add the dtml line again, so we can see the original display:none for ourselves?? It now indeed shows all categories, but all expanded.

 

pascal

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