Jump to content
RudraTandav

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

Share this post


Link to post
Share on other sites

hey thanks its a good module but we cant configure and stilll little changes is require in coding part as per choice

Share this post


Link to post
Share on other sites

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 1

Share this post


Link to post
Share on other sites

Hello!

Thank you for this explication!

Also I want to know, how I can put the home categories in the middle of the home page, and how I can make them bigger?

 

Thank you!

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

perhaps you're looking for something specific?

  • Like 1

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

hi these is a good module but still iam not going to a images of the categories

Share this post


Link to post
Share on other sites

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 ?

Share this post


Link to post
Share on other sites

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More