Problem with Product Category Page Layout

Dear support team and forum users, I need some help, please.

My product category page contains products, some of which are laid outside the main body. To expain in details, some of my products are shifted far to the right of the page, and to see it the page has to be scrolled to the right. I have attached a screenshot to show what i mean.
Attachment 25005

Here is the link to a page: http://www.ehs-direct.co.uk/skirting…/hydronic.html

My home page with Jm Products does display products with no problems and it only occurs on my category pages.

Thank you in advance!

8 answers

Profile photo of Css Magician 0.00 $tone December 22, 2012
Public

P.S. Just added some more products and my home page is messed up too.

Dear Theexten,

Please go to app\design\frontend\default\jm_walltemplate\catal og\product\list.phtml and replace

PHP Code:

<div class="pdescription"><?php echo substr(nl2br($_product->getShortDescription()), 0150).'...';?></div>


to

PHP Code:

<div class="pdescription"><?php echo nl2br($_product->getShortDescription());?></div>


Thanks,

#2
Profile photo of Serhiy Korohoda 0.00 $tone December 23, 2012
Public

Hello Duchh and thank you for such a swift solution. It worked but i still have the same problem on my home page now. Please have a look at http://www.ehs-direct.co.uk/

My cache is disabled and I made sure to delete any old cache files. I have no compression tools installed either, so that you know this problem is still there but on my home page.

Thank you once again for your help!

#3
Profile photo of Sherlock 0.00 $tone December 24, 2012
Public

Hi theexten,

To get rid of the problem at your home page you can try as following
Open the file of app\design\frontend\default\jm_walltemplate\jooml art\jmproducts\list.phtml
Change

PHP Code:

 <?php if($numberchar) : ?>
        <div class="pdescription"><?php echo substr(nl2br($_product->getShortDescription()), 0$numberchar).'...';?></div>
        <?php endif; ?>


To

PHP Code:

 <?php if($numberchar) : ?>
        <div class="pdescription"><?php echo nl2br($_product->getShortDescription()); ?></div>
        <?php endif; ?>


I hope it helps !

#4
Profile photo of Serhiy Korohoda 0.00 $tone December 26, 2012
Public

Hi Sherlock,

thank you for your help.

This has corrected the layout but now another problem appears:
The description of the prodcuts have become very long when hovering over the block. In comparison, the standard short description is limited to some number of words whereas now the product block shows all the content when hoovering over.

I have installed your template on my other host just to try again. I followed all the same steps as in ehs-direct.co.uk and the layout is correct. However, i now have another problem, where I am limited to only 3 products per my home page. I tried changing all i could but still no solution: please check this link: http://www.efficient-heating-solutions.co.uk/beta/

It seems the problem is somewhere with the product attributes or their sets. I noticed after deleting all the products and attributes and once new ones created the problems start.

I could think of installing the template one more time and trying to use your exiting catalogue attributes and products but only renaming it to suite my site. Otherwise, i am awaiting for your alternative solution.

Thank you very much in advance.

#5
Profile photo of Serhiy Korohoda 0.00 $tone January 15, 2013
Public

Hello Sherlock,
Thank you for getting back.

You see the description in short because i re-installed the template again. I think i have done it about 10 times now.
The problem with layout still appears. I notice this happens after opening editing existing products and changing their category. But i also noticed that the problem disappears when I open and save all my products one by one. So, say i have 10 products, i then open and save all of them one after another -- this seem to sort the problem for me. However, this does not seem to be a very good solution for the long-term.

Can the layout have some missing classes because of product category change or particular attributes?

#7
Profile photo of Sherlock 0.00 $tone January 16, 2013
Public

Hi theexten,

Do you mean the layout problem at your homepage now ? Probably you have made some mistakes when changing the code as our suggestion, you can pm me your admin account and the FTP Info also, I will check and help you fix the problem.

#8

Please login or Register to Submit Answer

Written By

Comments