Jump to content
Stefanoz

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

16506_RfsipyTk63TorMEoTjuN_t

Share this post


Link to post
Share on other sites

I need an answer for your first question too. Any help?
For the images you can play with them in Admin Panel/preferences/image.

Share this post


Link to post
Share on other sites

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

{$HOOK_PRODUCT_FOOTER}

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

.....................................


   {/if}
   {$HOOK_PRODUCT_TAB_CONTENT}


{/if}

{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

I have the same problem, but on 1.6.0.9 version. Can any body help? I need to change "product in the same category" image size. Solution described above not for my version.  

Edited by Dzinyna (see edit history)

Share this post


Link to post
Share on other sites
Guest
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