Forums / Templates, Stylesheets, Page Layout / Horizontal Product Display (also purchased, featured products, category images)

Horizontal Product Display (also purchased, featured products, category images)

Started by jayhos on 29 Sep 2007, 3:23 AM · Views: 7,850

Results 1 to 15 of 15
29 Sep 2007, 3:23 AM
#1
jayhos avatar

jayhos

New Zenner

Join Date:
Aug 2007
Posts:
8
Plugin Contributions:
0

Horizontal Product Display (also purchased, featured products, category images)

Hopefully this is in the right place.

Does anyone know of a way to change the way sub-categories are displayed? In one of my stores the sub-categories with images are displayed in a single column instead of rows. Here is a live link of the problem:

http://www.authenticlacrosse.com/index.php?main_page=index&cPath=23

Also... this trend of columns instead of rows continues throughout the store.

The "Customers who bought this product also purchased" section underneath the actual product displays in a single column as well, along with the featured products. Here is another example:

Also Purchased


http://www.authenticlacrosse.com/index.php?main_page=product_info&cPath=23_5&products_id=2

Featured Products

http://www.authenticlacrosse.com/index.php?main_page=index&cPath=23

Any help or suggestions would be greatly appreciated.

Thanks a lot

29 Sep 2007, 7:57 AM
#2
widget avatar

widget

New Zenner

Join Date:
Nov 2006
Posts:
7
Plugin Contributions:
0

Re: Horizontal Product Display (also purchased, featured products, category images)

Have you checked in the admin section, configuration -> maximum values ? here you can chose how many columns per row each of these listings will have... if you have this set to "1!, then it will only show a single column.

29 Sep 2007, 9:58 AM
#3
mafiasam avatar

mafiasam

Zen Follower

Join Date:
Jan 2006
Location:
Portland, Oregon
Posts:
256
Plugin Contributions:
0

Re: Horizontal Product Display (also purchased, featured products, category images)

Try Configuration > Product Info > Also Purchased Products Columns per Row
wounds like you want the default which is three columns per row

Also try Configuration > Images > Product Info - Number of Additional Images per Row

I was looking to change something else and when I changed this setting to zero it made my additional images line up vertically in a single row.

OldWestPokerSupplies.com – Custom Poker Chips and Other Professional Poker Supplies
Zen Cart 1.3.9.h with Google Base Feeder, Share Bookmarking Widget, Ultimate SEO URL, A Black Pure Template, Quick Updates, Sitemap XML and reCAPTCHA.

29 Sep 2007, 9:27 PM
#4
jayhos avatar

jayhos

New Zenner

Join Date:
Aug 2007
Posts:
8
Plugin Contributions:
0

Re: Horizontal Product Display (also purchased, featured products, category images)

Thanks for the suggestions, no luck yet tho. The values were set to the defaults.

It is weird since the featured products displays correctly on the home page, it is just messed up everywhere else.

29 Sep 2007, 9:33 PM
#5
jayhos avatar

jayhos

New Zenner

Join Date:
Aug 2007
Posts:
8
Plugin Contributions:
0

Re: Horizontal Product Display (also purchased, featured products, category images)

I'm pretty sure I have a problem with the stylesheet I'm using. I will play with it and post back.

2 Dec 2008, 3:18 PM
#6
nicecarvings avatar

nicecarvings

New Zenner

Join Date:
Oct 2007
Posts:
51
Plugin Contributions:
0

Re: Horizontal Product Display (also purchased, featured products, category images)

Does anyone know how to change product image display in category view to display two or three horizontal columns...vs just one single column?

Seems like I used to know how to do this, but can't see it anymore.

It used to be changed like this:
Admin>Config>Product Listing>Product Listing>Layout Style>Toggle Columns or Rows!!

I'm not seeing toggle columns or rows anymore!!??

My zen cart is being rebuilt!! www.nicecarvings.com
The Quantity Discount Mod is working great!
www.thatsoftwareguy.com/zencart

22 Jun 2009, 5:49 AM
#8
bodbod avatar

bodbod

New Zenner

Join Date:
Sep 2008
Posts:
13
Plugin Contributions:
0

Re: Horizontal Product Display (also purchased, featured products, category images)

To enable also purchased to show rows and nicely sized images i simply do this...

go into

admin -> configuration -> product info -> Also Purchased Products Columns per Row

and set the number of columns, 3 for me

admin -> configuration -> maximum values -> Also Purchased Products

to set the total number of products, 6 for me

admin -> configuration -> images -> Small Image Width

140 is nice for three in a row for me

in the css style sheet, delete .centerBoxContentsAlsoPurch from the section with the style

{
text-align: center;
clear: both;
}

and this style

.centerBoxContentsAlsoPurch {
text-align: center;
}

and it should all look reasonable as on uksportimports.com

though those pics are different heights, it works well enough to my mind

cheers, Bod

5 Jul 2009, 7:29 AM
#9
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Horizontal Product Display (also purchased, featured products, category images)

i just tried this with my theme and it doesn't work, what else has happened since the year this was started?

29 Oct 2010, 2:42 PM
#10
ms_x avatar

ms_x

Zen Follower

Join Date:
Mar 2010
Posts:
196
Plugin Contributions:
0

Re: Horizontal Product Display (also purchased, featured products, category images)

I just tried everything suggested here but it did not work for me either...Did anyone found the solution to displaying also purchased products in one row?...

29 Oct 2010, 10:41 PM
#11
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Horizontal Product Display (also purchased, featured products, category images)

Ms_X:

I just tried everything suggested here but it did not work for me either...Did anyone found the solution to displaying also purchased products in one row?...

This is what finally worked for me...all done i the .css file for the theme you are using and if you change templates then you must redo it to that templates stylesheet.css

find and remove:
.centerBoxContentsAlsoPurch

add below that section:

.centerBoxContentsAlsoPurch {
float:left;
}

this will make the images in the "also purchased" block be in a row.

to make new products images be in a row:

Find and remove:
.centerBoxContentsNew

** then place under that section:**
.centerBoxContentsNew
{
float:left;
}

1 Feb 2011, 8:28 AM
#12
b_g_h avatar

b_g_h

New Zenner

Join Date:
Mar 2009
Posts:
10
Plugin Contributions:
0

Re: Horizontal Product Display (also purchased, featured products, category images)

Can't seem to get my "Customers who bought this product also purchased..." box to display Items the way i want.

All Items are showing in a column instead of a row. I've tried all the obvious settings within Admin, but none seem to work.

Any help would be appreciated!:yes: I'd like it to display 3 (maybe 4) items per ROW.

Here is a LINK to show how it's currently displaying items.

Thanks in advance!

1 Feb 2011, 9:08 AM
#13
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Horizontal Product Display (also purchased, featured products, category images)

B-G-H:

Can't seem to get my "Customers who bought this product also purchased..." box to display Items the way i want.

All Items are showing in a column instead of a row. I've tried all the obvious settings within Admin, but none seem to work.

Any help would be appreciated!:yes: I'd like it to display 3 (maybe 4) items per ROW.

Here is a LINK to show how it's currently displaying items.

Thanks in advance!

In your templates style.css file---this is what I was told to do for the naughty box:

to make new products images be in a row:

Find and remove:
.centerBoxContentsNew

** then place under that same section:**
.centerBoxContentsNew
{
float:left;
}

1 Feb 2011, 9:18 AM
#14
b_g_h avatar

b_g_h

New Zenner

Join Date:
Mar 2009
Posts:
10
Plugin Contributions:
0

Re: Horizontal Product Display (also purchased, featured products, category images)

Thanks for the reply.

If I search for what you have described, and also ".centerBoxContentsAlsoPurch" I come up with multiple references. Am I to remove all of them? If so, where do I then add the extra code?

Also FWIW. I'm using the EZBlue templete, on the latest release of Zencart.

Thanks again.

1 Feb 2011, 10:29 AM
#15
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Horizontal Product Display (also purchased, featured products, category images)

B-G-H:

Thanks for the reply.

If I search for what you have described, and also ".centerBoxContentsAlsoPurch" I come up with multiple references. Am I to remove all of them? If so, where do I then add the extra code?

Also FWIW. I'm using the EZBlue templete, on the latest release of Zencart.

Thanks again.

good question...had to look at mine:

this is the entire section that I removed that line from in my template :

.centerBoxContents, .specialsListBoxContents, .centerBoxContentsAlsoPurch, .categoryListBoxContents,
.attribImg {
float: left;
line-height: 1.6em;
}

then I added the portion right below it to look like this:

/center subcategories/
.centerBoxContents, .specialsListBoxContents,
.categoryListBoxContents,
.attribImg {
float: left;
line-height: 1.6em;
}

.centerBoxContentsAlsoPurch {

float:left;
}


in your template it looks like this--remove the red from there then add the code I gave you directly below--so it looks like mine above:

#logo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
margin: 0em;
text-align: center;
padding-top: 0px;
}

of course someone will chime in if this is wrong but that is what I did in mine