Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Inconsistent layout on product info page

Inconsistent layout on product info page

Views: 1,474

Results 1 to 14 of 14
8 Feb 2016, 4:02 PM
#1
leslie76 avatar

leslie76

New Zenner

Join Date:
Feb 2016
Location:
Missouri
Posts:
5
Plugin Contributions:
0

Inconsistent layout on product info page

I need help trying to make the product info page layout consistent. Currently on some product pages the 'also purchased' section is at the top of the page and on others it's at the bottom. I want it to be consistent with 'also purchased' section always being on the bottom and the product image, description, and add to cart at the top. I've have tried adding clearBoth class to sections on the template, changing css, and it's not working. Does the product image size have to always be consistent for this to work? I'm not a php person, nor a zen-cart guru. Any suggestions would be greatly appreciated.

You can view the store (link below) and switching from product to product, changes the layout.
http://ooidacalltoaction.com/OOIDAGear/

8 Feb 2016, 4:15 PM
#2
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Inconsistent layout on product info page

Can you be more specific which products? because I (and others), am not going to search through each product on your site.

And welcome to the community :smile:

8 Feb 2016, 5:00 PM
#3
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Inconsistent layout on product info page

Definitely agree need some more detailed information. Believe I did just cycle through all the product, and did not find a case where the also purchased information appeared at the top of the page... Of course a lot of the top of the page is white. But didn't see any cases of anything changing location up to or above the previous, category listing, next buttons...

Having a link to a problem page and an acceptable page would help requested by Design75.

8 Feb 2016, 11:28 PM
#5
leslie76 avatar

leslie76

New Zenner

Join Date:
Feb 2016
Location:
Missouri
Posts:
5
Plugin Contributions:
0

Re: Inconsistent layout on product info page

It seems like if I click on a category and then a product the page layout is consistent, but if I click on a product from the 'also purchased' section, that is when the page moves the product below the 'also purchased' section.

8 Feb 2016, 11:30 PM
#6
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Inconsistent layout on product info page

I can't seem to reproduce this. I used Chrome and Firefox, but in both the page showed just fine. Maybe it is a cache problem. Try to empty the cache and retry.

8 Feb 2016, 11:36 PM
#7
leslie76 avatar

leslie76

New Zenner

Join Date:
Feb 2016
Location:
Missouri
Posts:
5
Plugin Contributions:
0

Re: Inconsistent layout on product info page

I have deleted cache and reloaded page. That is what is strange, that most times it displays fine and other times it seems to display backwards. There is no consistency so it's hard to figure out what is causing it.

9 Feb 2016, 3:52 AM
#9
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Inconsistent layout on product info page

It does not flip for me...

9 Feb 2016, 6:19 AM
#10
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Inconsistent layout on product info page

kobra:

It does not flip for me... same here

9 Feb 2016, 6:39 AM
#11
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Inconsistent layout on product info page

No problems here either.

Perhaps a screenshot of what you are seeing may help?

oops, cancel that I see you already did.

Cheers
RodG

9 Feb 2016, 7:38 AM
#12
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Inconsistent layout on product info page

Which browser, and operating system are you using?

9 Feb 2016, 11:44 AM
#13
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: Inconsistent layout on product info page

No problems here either.

I jumped from one to other products, for quite some products, both from product list, and also purchased box, all fine.

13 Feb 2016, 2:39 AM
#14
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Inconsistent layout on product info page

RodG:

No problems here either

FWIW, not long after posting this I did actually manage to see the problem - I was even able to semi-randomly reproduce it. (I was/am using Chrome).

Unfortunately, I wasn't able to identify the cause - I tried viewing the page source a number of times, but these cause a page refresh, and the refreshed page(s) were all showing the non troublesome outputs.

If it were a consistant issue, I'd be looking at things like a missing <div> - or perhaps a <div> where there shouldn't be one, and/or possibly something amiss with the .css - possibly a 'width' value that is to large for the space available.

I did try adding/deleting a few of the divs and changing various .css values (using developers tools), and although I got some weird and wonderful effects/results, I wasn't able to replicate what I was seeing. Not that I really expected to, but thought it worth a shot.

So, to sum up, yes, I can confirm that the problem is 'real' - and not something unique to the OP, but that is all I really know for sure.

Cheers
RodG