Forums / Customization from the Admin / Put products under eact other ?

Put products under eact other ?

Started by fraodi on 11 Nov 2012, 3:45 PM · Views: 735

Results 1 to 6 of 6
11 Nov 2012, 3:45 PM
#1
fraodi avatar

fraodi

New Zenner

Join Date:
Nov 2012
Posts:
4
Plugin Contributions:
0

Put products under eact other ?

Hello !

In my website i have a couple of products, "t-shirts", "art" and so on. I have the products so they are in a line. But now i have "stickers". Only 2 products and i want them to me in a row so they are under eact other. How do i do this ??

(Sorry for bad english and thanks!)

11 Nov 2012, 3:51 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Put products under eact other ?

A link to your site would help.

11 Nov 2012, 4:07 PM
#3
fraodi avatar

fraodi

New Zenner

Join Date:
Nov 2012
Posts:
4
Plugin Contributions:
0

Re: Put products under eact other ?

Off course !

http://www.amarapordios.com/

You can see the Stickers there, i wanna have the other under the first one !

11 Nov 2012, 4:42 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Put products under eact other ?

If you're saying that you want the tshirts and artwork categories to display in columns, and the stickers category to display in rows, I don't know a way to do that without custom coding.

12 Nov 2012, 1:06 PM
#5
fraodi avatar

fraodi

New Zenner

Join Date:
Nov 2012
Posts:
4
Plugin Contributions:
0

Re: Put products under eact other ?

Fraodi:

Off course !

http://www.amarapordios.com/

You can see the Stickers there, i wanna have the other under the first one !

Ok thanks for the help !

12 Nov 2012, 3:16 PM
#6
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Put products under eact other ?

The custom coding could be a very simple one-line statement, after you install Column Layout Grid from Plugins. You would set the display to either columns or rows depending on which is more common for your site (probably columns), and turn off the visitor list/grid switch. Then add to /includes/modules/your_template/product_listing.php below this line php $product_listing_layout_style = isset($_GET['view'])? $_GET['view']: PRODUCT_LISTING_LAYOUT_STYLE; to get ```php
$product_listing_layout_style = isset($_GET['view'])? $_GET['view']: PRODUCT_LISTING_LAYOUT_STYLE;
if (in_array($cPath, explode(',','23,55_67,99') $product_listing_layout_style = 'rows';//for stickers