Displaying Products As Block Elements and Grid Display (AGAIN)

Posts: 6
Joined: 08/15/2007

I know this topic has been discussed before, but I really do not like listing products in a table.

I tried out this module contributed by david, but I had some errors at first and wasn't totally happy with the way that it handled displaying product items.

I started hacking away at uc_catalog.module to make it do what I wanted. I was happy with the results, but wasn't totally happy with the idea that upgrading ubercart would destroy all my work. So I decided to try my hand at making a module to do what I needed.

A large portion of the code was borrowed from david's module, modified to do what I was looking for.

Basically, the module alters the catalog pages to display each item wrapped in a div, rather than a table.

A check box allows you to choose to "float" the divs to effectively create a grid.

A textbox allows you to specify HTML and special tags that represent things like product image, price, and title.

Another textbox allows you to specify CSS to modify the styles of the items.

A dropdown also allows you to choose the imagecache preset that is displayed in the catalog view.

AttachmentSize
uc_catalog_blockify.zip4.98 KB
Guest (not verified)

Triple QuaDrupal awsome
I am very excited to install and test and custimize (css styles) of this module
Ill install it today and report back

thank you thank you
j

Posts: 123
Joined: 08/07/2007
Bug FinderGetting busy with the Ubercode.

It's odd that I'm working on my 3rd Ubercart site, and I've just used a theme override function to achieve this same effect.

One suggestion,

Some of the CSS is in the module file itself. I think it would be great if you could keep the css out of the .module file.