Jump to content

How to display categories with images in home page


Recommended Posts

im new to prestashop

i was searching how to show categories with images in homepage

 

i found some module but what i found was for free

 

thier is a module called home text editor in module list just install that module go to text click on html enter the html code u can design you categories with images in dreamwevr and paste here only html

post-532970-0-25053700-1369749315_thumb.png

  • Like 2
Link to comment
Share on other sites

  • 3 weeks later...

For version 1.5.4.1 you can download the homecategories free module from here: http://www.prestashop.com/forums/topic/121735-free-module-homepage-categories-module/

 

In order to display correctly the pictures of each category, you should edit the homacatogories.tpl file (prestashop/modules/homecategories/homacatogories.tpl) and change the <img src="..."> tag into:

 


<img src="{$img_cat_dir}{$category.id_category}-large_default.jpg" alt="{$category.name}" title="{$category.name}" class="categoryImage" width="{$categorySize.width}" height="{$categorySize.height}" />

  • Like 2
Link to comment
Share on other sites

  • 5 months later...
  • 2 months later...

Change position in your administration... I use czech version, but it should be in module, module position. If you want make images bigger change height and width in homecategories.css. 

 

PS: Dimmat THX for peace of code, it was helpfull  ;)

  • Like 1
Link to comment
Share on other sites

  • 2 months later...

module mentioned above works with prestashop 1.6 (as far as i know)

perhaps you're looking for something specific?

Thanks for quick response,

I want to use in 1.6 and I want to have my categories in the home page and when user clicks one category the subcategory show with pictures,

And translate to persian.

Link to comment
Share on other sites

  • 4 weeks later...

Thanks for quick response,

I want to use in 1.6 and I want to have my categories in the home page and when user clicks one category the subcategory show with pictures,

And translate to persian.

 

See my answer above, it works exactly as you need.

Link to comment
Share on other sites

  • 4 months later...
  • 2 years later...
  • 8 months later...

Hi 

 

I have simple eshop with one product subcategory yet.

Please look at http://autoair.sk/index.php.

 

Products are included in this categories tree:

 

Home>autokozmetika>California Scents vôňe do auta

 

subcategory California Scents vôňe do auta contain 34 products

http://autoair.sk/index.php?id_category=14&controller=category

 

I need have ALL 34 products from this subcategory California Scents vôňe do auta displayed on frontpage

 

I was enabled this subcategory ID in homecategories module but ALL products appears on frontpage only after clicking to button, no automatically in first opening frontpage 

 

http://screencast-o-matic.com/watch/cbQbq4IqQn

 

is possible set this by default in opening page ?

Link to comment
Share on other sites

×
×
  • Create New...