Forums / Addon Templates / Column Layout Grid for Product Listing

Column Layout Grid for Product Listing

Views: 82,345

Results 201 to 220 of 285
9 Mar 2011, 3:35 PM
#201
gjh42 avatar

gjh42

Black Belt

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

Column Layout Grid for Product Listing

With the files gone, there is nothing for the admin settings to do, so your storefront will be completely back to normal. I know the admin line items can be annoying if they are just taking up space.

There ought to be an uninstall SQL script, but I'm not experienced enough with MySQL to be 100% sure of writing something that won't damage your database. Ajeh (among others) would be able to give the correct SQL for this.

9 Mar 2011, 3:39 PM
#202
gjh42 avatar

gjh42

Black Belt

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

Re: Column Layout Grid for Product Listing

The SQL from the Column Grid readme:```
INSERT INTO configuration (configuration_title, configuration_key, configuration_value,
configuration_description, configuration_group_id, sort_order,
last_modified, date_added, use_function, set_function)
VALUES ('Product Listing - Layout Style', 'PRODUCT_LISTING_LAYOUT_STYLE', 'rows',
'Select the layout style:<br />Each product can be listed in its own row (rows option)
or products can be listed in multiple columns per row (columns option)', '8', '40', NULL,
now(), NULL, 'zen_cfg_select_option(array('rows', 'columns'),');

INSERT INTO configuration (configuration_title, configuration_key, configuration_value,
configuration_description, configuration_group_id, sort_order,
last_modified, date_added, use_function, set_function)
VALUES ('Product Listing - Columns Per Row', 'PRODUCT_LISTING_COLUMNS_PER_ROW', '3',
'Select the number of columns of products to show in each row in the product listing.
The default setting is 3.', '8', '41', NULL, now(), NULL, NULL);

10 Mar 2011, 10:30 AM
#203
macbain avatar

macbain

New Zenner

Join Date:
Feb 2011
Posts:
63
Plugin Contributions:
0

Re: Column Layout Grid for Product Listing

very confused :frusty:

I have uploaded all the files for the flexible product listing as i did for happiechappie onto the gaysexstores site with all the same coding but it is showing completely differently :dontgetit

both sites are linked via zen cart but have their own ftp's the css stylesheets are the same and within them have the same information but it doesnt seem to be picking up the stylesheet for the flexible product listing

any light would really help

Marie

10 Mar 2011, 12:34 PM
#204
amolelite avatar

amolelite

New Zenner

Join Date:
Mar 2011
Posts:
16
Plugin Contributions:
0

Re: Column Layout Grid for Product Listing

Hello EveryOne,

I am new to zen cart,

recently i installed the zen cart(1.3.9)

I have installed the module for the column layout, which is also working properly,

What i am trying to do is create the link grid | list in the front page where product is listing.

when the links are clicked by the user layout should be changed accordingly...

please help me for this...if anyone..

Thanks in advance...:yuck::(

10 Mar 2011, 1:26 PM
#205
amolelite avatar

amolelite

New Zenner

Join Date:
Mar 2011
Posts:
16
Plugin Contributions:
0

Re: Column Layout Grid for Product Listing

Hello again,

To get the above task i have

  1. created the two radio buttons for the rows and column to the frontend product list page.

2)when the button is clicked the update query is executed and it changes the value in the configuration table and the admin panel.

But it is not getting reflected to frontend page where product is listed..

Please if any one have solution for this help me.....:yuck:

Thanks in advance...

14 Mar 2011, 6:55 AM
#206
amolelite avatar

amolelite

New Zenner

Join Date:
Mar 2011
Posts:
16
Plugin Contributions:
0

Re: Column Layout Grid for Product Listing

Cheeeeeeerrrrrrs Guys,

I have succesfully fixed my bug and have achieved my task..

Thanks every one over here for the help....

:clap::clap::clap::clap::clap:

14 Apr 2011, 1:21 PM
#207
annasolovushka avatar

annasolovushka

New Zenner

Join Date:
Dec 2010
Posts:
10
Plugin Contributions:
0

Re: Column Layout Grid for Product Listing

hello guys.
not found answer on my question:
1.3.9h
installed Column Layout / Grid Layout for Products Listing (Add On Module for Zen Cart v1.3.8)
but also installed Ashley Pink template- almost at same time.
then I trying to follow instruction:
admin- tools-install SQL patches
i have an errors:
Failed: 2
Error ERROR: Cannot insert configuration_key "" because it already exists
Error ERROR: Cannot insert configuration_key "" because it already exists
Warning Note: 2 statements ignored. See "upgrade_exceptions" table for additional details.

what should I do???
please help....

14 Apr 2011, 1:32 PM
#208
annasolovushka avatar

annasolovushka

New Zenner

Join Date:
Dec 2010
Posts:
10
Plugin Contributions:
0

Re: Column Layout Grid for Product Listing

forget to say, i tried in Classic Contemporary Green template too, same errors...

12 May 2011, 3:38 PM
#209
jdm719 avatar

jdm719

New Zenner

Join Date:
Jan 2011
Posts:
33
Plugin Contributions:
0

Re: Column Layout Grid for Product Listing

I'm using ver 1.3.9h.
I have installed the column_layout_grid_for_product_listing_1-3-8 mod.
Everything seems to work fine.

The problem is the mod seems to "cost" the sort bar.
I mean that when I choose admin > Product Listing - Layout Style > rows, customers can sort a category by price +/-, Model +/-, or name +/-.

If I select admin > Product Listing - Layout Style > columns, that sort bar disappears and customers lose a great functionality.http://www.zen-cart.com/forum/images/smilies/sad.gif

Is this a broken install?
If not, is there a way re-enable the sort bar with columnar display?
If not, is there a(n advanced) sort mod that works with the Column Layout Grid mod?

http://www.hawonder.com

27 May 2011, 12:16 AM
#210
bollyretails avatar

bollyretails

New Zenner

Join Date:
Feb 2011
Posts:
6
Plugin Contributions:
0

Re: Column Layout Grid for Product Listing

annasolovushka:

hello guys.
not found answer on my question:
1.3.9h
installed Column Layout / Grid Layout for Products Listing (Add On Module for Zen Cart v1.3.8)
but also installed Ashley Pink template- almost at same time.
then I trying to follow instruction:
admin- tools-install SQL patches
i have an errors:
Failed: 2
Error ERROR: Cannot insert configuration_key "" because it already exists
Error ERROR: Cannot insert configuration_key "" because it already exists
Warning Note: 2 statements ignored. See "upgrade_exceptions" table for additional details.

what should I do???
please help....

Same issue. No answer. have searched all over.
Any help would be appreciated. :smile:

4 Jun 2011, 4:41 AM
#211
bollyretails avatar

bollyretails

New Zenner

Join Date:
Feb 2011
Posts:
6
Plugin Contributions:
0

Re: Column Layout Grid for Product Listing

I am using Zen Cart Ver. 1.3.9h

I tried to install the Column Layout Grid Module, but I am getting the following errors while executing SQL query:

Failed: 2
Error ERROR: Cannot insert configuration_key "" because it already exists
Error ERROR: Cannot insert configuration_key "" because it already exists
Warning Note: 2 statements ignored. See "upgrade_exceptions" table for additional details.

I tried to find answer to this issue, but failed. Kindly help me out.

13 Jun 2011, 12:56 PM
#212
jacgo avatar

jacgo

New Zenner

Join Date:
Jun 2011
Posts:
1
Plugin Contributions:
0

Re: Column Layout Grid for Product Listing

Zen Cart v1.3.9h/v1.3.9h
Template : Black PureFree

Hi All

I would like to make products to be grid list.
I installed the mod "column_layout_grid_for_product_listing_1-3-8"

It is no problem in grid list. but the layout is messing..
please kindly see:
problem demo link : :http://www.tellabsapacstore.com/cart/index.php?main_page=index&cPath=1

  1. :
    My product information are now crooked, some high some low. How to make it on same position??

The information is also messing.. image see:

2): Hope it could read like this:
Name of product
Description of product
Price of product
Quantity Available
Add to Cart

  1. :
    The "quantity" is only number there. can not find place to add "Quantity Available" sentence.
    Where I can add it??

I spent a lot of time to try to fix it. It is really hard to do.

Hope someone know how to do it..and sorry my poor English.. :(
Thanks a lot!

:hug:
Jacgo

26 Jun 2011, 11:22 AM
#214
barendfaber avatar

barendfaber

Zen Follower

Join Date:
Apr 2010
Posts:
263
Plugin Contributions:
0

Re: Column Layout Grid for Product Listing

gjh42:

You have left the $col_width and % in there, which ought to cause an error and probably have the inline styling ignored. Did you put a 200px width in the stylesheet?

A better way to alter this would be around line 100 in the Column Grid product_listing.php:php // Used for Column Layout (Grid Layout) add on module $column = 0; if (PRODUCT_LISTING_LAYOUT_STYLE == 'columns') { if ($num_products_count < PRODUCT_LISTING_COLUMNS_PER_ROW || PRODUCT_LISTING_COLUMNS_PER_ROW == 0 ) { $col_width = floor(100/$num_products_count) - 0.5; } else { $col_width = floor(100/PRODUCT_LISTING_COLUMNS_PER_ROW) - 0.5; } } // Used for Column Layout (Grid Layout) add on module Change to ```php
// Used for Column Layout (Grid Layout) add on module
$column = 0;
if (PRODUCT_LISTING_LAYOUT_STYLE == 'columns') {
//if ($num_products_count < PRODUCT_LISTING_COLUMNS_PER_ROW || PRODUCT_LISTING_COLUMNS_PER_ROW == 0 ) {
//$col_width = floor(100/$num_products_count) - 0.5;
//} else {
$col_width = floor(100/PRODUCT_LISTING_COLUMNS_PER_ROW) - 0.5;
//}
}
// Used for Column Layout (Grid Layout) add on module

> $col_width = floor(100/PRODUCT_LISTING_COLUMNS_PER_ROW) - 0.5;
> will automatically make all products width according to the per-row setting, so if you were to change it to 3 per row you would not need to re-edit the code.

Hi, I am using Zen Cart 1.3.9, with the single listing and column layout grid.  I have made the above change to my site, but for some reason it it still showing the last product under Vintage Hermes Scarves (<http://www.blackorangevintage.com/index.php?main_page=index&cPath=2_4&sort=20a&page=3>) in the middle of the page.  How can I get this picture to show on the left hand side?
19 Jul 2011, 6:10 AM
#215
hitz310 avatar

hitz310

New Zenner

Join Date:
Jul 2011
Posts:
22
Plugin Contributions:
0

Re: Column Layout Grid for Product Listing

I'm so grateful for mods... but this one's driving me insane, because I think I followed all the instructions and yet it's still not working.

http://baratowatches .com/index.php?main_page=index&cPath=1

If I change it back to rows, the products align in the center. Back to columns, it remains in one column and moves to the left. I changed the Product Listing Columns Per Row to 4 but instead it seems to show groups of 4 items vertically rather than horizontally.

Any suggestions? Thanks in advance for responses!

19 Jul 2011, 11:09 AM
#216
gjh42 avatar

gjh42

Black Belt

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

Re: Column Layout Grid for Product Listing

Your template appears to have totally reworked the identifiers (class/id tags) for most parts of your site, and your stylesheets have only rules for the new identifiers. Most of the rules that control standard page elements are missing, so it's no wonder a standard mod doesn't work as expected.

Add to your stylesheet

.centerBoxContentsProducts {float: left;}

There are many other parts of your site that will probably not work the way they were originally designed, as well. It will be a nightmare to update this template, as there must be dozens of major core files drastically changed for no particular reason except to have new tags.

You still have a complete page within a page - your template apparently starts a new HTML document after the Zen Cart page is begun, and terminates the HTML before the ZC page ends. This is a major problem, and really needs to be fixed so you don't have more problems with your site. Your whole template is horribly screwed up. Do you know why it uses the /oxo-ecommerce/Template css-xhtml/ files?

19 Jul 2011, 5:01 PM
#217
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Column Layout Grid for Product Listing

hitz310:

I'm so grateful for mods... but this one's driving me insane, because I think I followed all the instructions and yet it's still not working.

http://baratowatches .com/index.php?main_page=index&cPath=1
You have invalid code and it looks like a page within a page.

<! DOCTYPE

<head ... </head <body id="indexBody" <div id="mainWrapper"

**<head
...

</head <body **<div id="Layout"

...

**</body

</html ** </div> <!--bof- parse time display <!--eof- parse time display <!--bof- banner #6 display <!--eof- banner #6 display </body></html>

The parts in Bold should not be there.

Whomever created or altered your Template did not do it correctly. Until the invalid code is corrected, many things on your site will not work or not work properly.

The learning is in the doing.

Potent Products

20 Jul 2011, 8:32 AM
#218
hitz310 avatar

hitz310

New Zenner

Join Date:
Jul 2011
Posts:
22
Plugin Contributions:
0

Re: Column Layout Grid for Product Listing

gjh42 and Website Rob... you guys are life savers. Thank you for putting it plainly for me. This stuff is really difficult for me! I will investigate further and try to fix this mess!!

Thank you thank you thank you! :D

21 Jul 2011, 3:01 PM
#219
hitz310 avatar

hitz310

New Zenner

Join Date:
Jul 2011
Posts:
22
Plugin Contributions:
0

Re: Column Layout Grid for Product Listing

Now that Column Grid is functional for me, there are a few issues that I suspect have to do with my stylesheet. But I'm clueless when it comes to CSS!

I changed the Admin setting to remove Navigation Header Displaying 1 to XX products from the top and leave it at bottom only. This resulted in the first row of all my categories to go haywire. Also, how can I get a space between "Displaying 1 to XX" and the above photos?

On one of my pages, there is a single image in its own row in the last column. It seems to happen on this page only, and the code is exactly the same as other product pages. (All pictures have been cropped to a ratio of 1:1 so there should be no height/width variation) http://baratowatches .com/index.php?main_page=index&cPath=6

For New Products, I enabled 4 columns, but it remains as 3. I tried putting in width: 23.5%; under CenterBoxContentsNew and random other places to see if it did anything, but nothing. http://baratowatches .com/index.php

Thank you in advance for help!!! It is greatly appreciated!

21 Jul 2011, 3:24 PM
#220
gjh42 avatar

gjh42

Black Belt

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

Re: Column Layout Grid for Product Listing

The items are set for 4 per row, and auto-calculated for width: 25%. This leaves no room at all for margins or padding.

stylesheet.css #2 (line 586)

.centerBoxContentsProducts, .centerBoxContentsNew {
float: left;
margin: 0.1em;
text-align: center;
}

If you want margins, you can override the inline styling by adding to that rule

width: 23% !important;

I notice you have eliminated the additional <head> and <body> tags, but your template is still set up strangely. Aside from the fact that it repeats an apparent site wrapper after Zen Cart outputs the standard #mainWrapper, it also has metatags and other things that belong in the head.
Where did the template come from? It really doesn't seem like a ZC template, or else it is trying very hard to be different in structure.