Jump to content

Help with module “Products Category” (Products in same category)

Recommended Posts

Dear Friends,

Firstly Happy new Year!2010!

I need help with this module:

1. By default this module (“Products Category” – Products in same category) is positioned above MORE INFO on produts page. Does anyone know how to position it below more info page? So now when you click on product you have on the top image and blocks with short description and price on right top. below that is “In the same category” block and last one is more info. I would like to change position of last two. Anyone?

2. How to resize the pictures in this module?From global.css? Which voice?

Best regards


Share this post

Link to post
Share on other sites
  • 2 months later...

First problem solution:
1. To change place, edit product.tpl under /themes/prestashop/product.tpl
2. Find this


, line nearly 326.
3. Cut it, and past it to line nearly 390 after this codes




{Code here}

Second problem solution:
1. Edit productscategory.tpl under /modules/productscategory/productscategory.tpl
2. find this line 15

getImageLink($categoryProduct.link_rewrite, $categoryProduct.id_image, 'medium')}" alt="{$categoryProduct.name|htmlspecialchars}" />

3. Add width="" height="" between codes like that:

getImageLink($categoryProduct.link_rewrite, $categoryProduct.id_image, 'medium')}" alt="{$categoryProduct.name|htmlspecialchars}" width="number here" height="number here"/>

it will be good when decrease image size.

But if you want to increase image size you can change word "medium" to another image name, like "home", "large" etc
I hope it will solve your problem

Share this post

Link to post
Share on other sites
  • 4 years later...
This topic is now closed to further replies.
  • Create New...

Important Information

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