Thumbnails on Category pages not showing up

  • Posts: 137
  • Thank you received: 2
11 years 10 months ago #121671

Hi, I've migrated from 1.5 to 2.2 and from Joomla 1.5 to 3.1

I have now resized my thumbnails from 100px height to 500px and deleted the 100px folder. Unfortunately the 500px thumbnails now only show up on the product detail page. On the category page, the jpg won't be displayed anymore. For some category menus I've changed the thumbnail disply there ot 300px and verified via FileZilla that the jpegs are being generated by Hikashop.

They are in the respective folders for 500px and 300px, but just not displaying on the category view. Interestingly, the default pic, which I use when I do not have a product pic is displaying just fine in both the product view and the category view.

Cany ou please help me identifiying the issue? In case the problem comes from a view modificattion carried over form 1.5... my modified views are: checkout: address, step and terms. product: listing_img_title and listing_price

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
11 years 10 months ago #121689

Hi,

Can you revert your modifications from the "listing_img_title" file of the "category" view of your front-end template by using the "delete" icon through "Hikashop->Display->Views" and try it again ?
Don't forget to save your modifications through a text file.

Please Log in or Create an account to join the conversation.

  • Posts: 137
  • Thank you received: 2
11 years 10 months ago #121702

your suggestion indeed solved the issue. however now I need to find a way for the product title to be displayed at the top of the panel. how should I change the view to get this accomplished?

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
11 years 10 months ago #121709

Ok,
So you should probably edit your "listing_img_title" file of your "category" view of your front-end template and move these lines at the top of your file :

<span class="hikashop_category_name">
  <a href="<?php echo $link;?>">
    <?php

    echo $this->row->category_name;
    if($this->params->get('number_of_products',0)){
      echo ' ('.$this->row->number_of_products.')';
    }
    ?>
  </a>
</span>

Please Log in or Create an account to join the conversation.

  • Posts: 137
  • Thank you received: 2
11 years 10 months ago #121801

SOLVED
Hi, actually your suggested solution did not work, however the following one did:

In the product / listing_img_title view I moved the following block from the middle to the top and added two line breaks:

<!-- PRODUCT NAME -->
<span class="hikashop_product_name">
  <?php if($this->params->get('link_to_product_page',1)){ ?>
    <a href="<?php echo $link;?>">
  <?php }
    echo $this->row->product_name;
  if($this->params->get('link_to_product_page',1)){ ?>
    </a>
  <?php } ?>
</span>
<br />
<br />
<!-- EO PRODUCT NAME -->

Last edit: 11 years 10 months ago by Jerome.

Please Log in or Create an account to join the conversation.

Time to create page: 0.071 seconds
Powered by Kunena Forum
loading